Disk commands

resize2fs: Bad magic number in super-block while trying to open use xfs_growfs xfs file system support only extends not reduce. So if you want to resize the filesystem use xfs_growfs rather than resize2fs. lsblk blkid xfs_growfs /dev/xvda2

Read only file system

Read only file system Run this in serial console or rescue mode OK, imagine your root partition is hda2 you can check that using df -hthen try:mount -o remount,rw /dev/hda2 /I tested this and in my case it works.BTW: What’s the ouput ofmount mount -n -o remount,rw /

Open chat