server:linux_xfs_repair
This is an old revision of the document!
boot from repair disk On prompt, skip to shell
vgscan -v --mknodes (double lines at the end)
This will find and create /dev/xxx/ nodes for the lvm. But it is not mounted so it’s good.
Now activate the volumes, it still does not actually mount them, so still good.
vgchange -a y
Now see what volumes are active with another lvscan
lvscan
I have /dev/centos/root which is what I need to fix. It is an XFS volume so this time I do
xfs_repair /dev/cl/root
server/linux_xfs_repair.1617693148.txt.gz · Last modified: (external edit) · Currently locked by: 216.73.216.236,192.168.2.28
