User Tools

Site Tools


xfs

XFS

Troubleshooting while something goes wrong.

XFS+LVM

Please make sure it is scanned and activated on LVM.

vgscan -v --mknodes
vgchange -a y

Now this need to be repaired using xfs_repire command.
There is no single point of command without knowing what is broken.

But from safe to risky it should be.

| safe_to_risky
xfs_repair /dev/mapper/rhel-root
xfs_repair -d /dev/mapper/rhel-root  # must be followed by root
xfs_repair -L /dev/mapper/rhel-root  # You will loose the uncommitted log, only use when you can not mount.
xfs.txt · Last modified: 2020/08/10 02:35 (external edit)