日志分离

[root@node6 ~]# mkfs.xfs -l logdev=/dev/vdb2 /dev/vdb1 -f         #vdb1数据存储,vdb2日志存储.
meta-data=/dev/vdb1       isize=256        agcount=4, agsize=6016 blks
              =                           sectsz=512       attr=2, projid32bit=0
data         =                           bsize=4096       blocks=24064, imaxpct=25
             =                           sunit=0          swidth=0 blks
naming     =version 2           bsize=4096       ascii-ci=0
log           =/dev/vdb2          bsize=4096       blocks=24576, version=2
              =                           sectsz=512       sunit=0 blks, lazy-count=1
realtime     =none                      extsz=4096       blocks=0, rtextents=0
[root@node6 ~]# mount -o logdev=/dev/vdb2 /dev/vdb1 /xfs/  /挂载/

 

posted on 2019-06-13 15:34  北橘  阅读(242)  评论(0编辑  收藏  举报