|
使用resize2fs时,提示如下异常
[root@dbserver /]# resize2fs -p /dev/mapper/data-oradata
resize2fs 1.42.9 (28-Dec-2013)
resize2fs: Bad magic number in super-block while trying to open /dev/mapper/data-oradata
Couldn't find valid filesystem superblock.
查询资料确认到xfs格式的文件扩充需要使用xfs_growfs
[root@dbserver /]# xfs_growfs /dev/mapper/data-oradata
meta-data=/dev/mapper/data-oradata isize=512 agcount=4, agsize=327424 blks
= sectsz=512 attr=2, projid32bit=1
= crc=1 finobt=0 spinodes=0
data = bsize=4096 blocks=1309696, imaxpct=25
= sunit=0 swidth=0 blks
naming =version 2 bsize=4096 ascii-ci=0 ftype=1
log =internal bsize=4096 blocks=2560, version=2
= sectsz=512 sunit=0 blks, lazy-count=1
realtime =none extsz=4096 blocks=0, rtextents=0
data blocks changed from 1309696 to 2594816
|
|