Disk expansion reports resize2fs: Bad magic number in super-block

# resize2fs -p -F /dev/mapper/mpatha
resize2fs 1.42.9 (28-Dec-2013) resize2fs: Bad magic number in super-block No valid file system found
when trying to open /dev/mapper/mpatha super
piece.

The specific reason is that I use the xfs file system, so I can use the following command to deal with it:

mount /dev/mapper/mpatha /data

xfs_growfs -p -F /dev/mapper/mpatha
meta-data=/dev/mapper/mpatha     isize=512    agcount=4, agsize=268435455 blks
         =                       sectsz=512   attr=2, projid32bit=1
         =                       crc=1        finobt=0 spinodes=0
data     =                       bsize=4096   blocks=1073741820, imaxpct=5
         =                       sunit=0      swidth=0 blks
naming   =version 2              bsize=4096   ascii-ci=0 ftype=1
log      =internal               bsize=4096   blocks=521728, version=2
         =                       sectsz=512   sunit=0 blks, lazy-count=1
realtime =none                   extsz=4096   blocks=0, rtextents=0
data blocks changed from 1073741820 to 1335885824

Guess you like

Origin blog.csdn.net/qq_29520895/article/details/131305094