Hello,
Tried to expand the only (root) partition (non-LVM) on virtual machine using Gparted. Extending was OK, but after reboot I got Emergency Mode with bunch of errros like:
xfs(sda2) metadata i/o error…
xfs(sda2) metadata corruption detected at ..
xfs(sda2) unmount and run xfs_repair
Will xfs_repair help ? Or what else I can do ?
error while extending xfs partition
Re: error while extending xfs partition
As far as I know, your options are:
xfs_repair
format and reinstall
power it off and go home
Before you run it though I would check that you've done what you think you were trying to do - for example, did you accidentally tell it to "expand" it from 50GB to 50MB and it's made it smaller?
xfs_repair
format and reinstall
power it off and go home
Before you run it though I would check that you've done what you think you were trying to do - for example, did you accidentally tell it to "expand" it from 50GB to 50MB and it's made it smaller?
The future appears to be RHEL or Debian. I think I'm going Debian.
Info for USB installs on http://wiki.centos.org/HowTos/InstallFromUSBkey
CentOS 5 and 6 are deadest, do not use them.
Use the FAQ Luke
Info for USB installs on http://wiki.centos.org/HowTos/InstallFromUSBkey
CentOS 5 and 6 are deadest, do not use them.
Use the FAQ Luke
Re: error while extending xfs partition
About go home I already know, and this is not an option.
I expanded from 50GB to 90GB, could be a problem that for some reason /dev/sda1 is a swap partition there ? (data on /dev/sda2).
P.S. I did "test expand" on another virtual machine and got same error…
P.P.S. xfs_repair helps
I expanded from 50GB to 90GB, could be a problem that for some reason /dev/sda1 is a swap partition there ? (data on /dev/sda2).
P.S. I did "test expand" on another virtual machine and got same error…
P.P.S. xfs_repair helps
Re: error while extending xfs partition
By "xfs_repair helps" do you mean the problem is solved?
If not, can you mount the partition (in read-only mode) if you boot from a live CD?
If so, then you may make a copy of your data.
If not, can you mount the partition (in read-only mode) if you boot from a live CD?
If so, then you may make a copy of your data.
Re: error while extending xfs partition
Yes, problem is solved using xfs_repair. I also thought about booting from live CD if it didn't.