This shows you the differences between two versions of the page.
xfs [2017/08/22 19:14] k2patel [XFS+LVM] |
xfs [2020/08/10 02:35] |
||
---|---|---|---|
Line 1: | Line 1: | ||
- | ====== XFS ====== | ||
- | Troubleshooting while something goes wrong.\\ | ||
- | |||
- | ==== XFS+LVM ==== | ||
- | |||
- | Please make sure it is scanned and activated on LVM.\\ | ||
- | |||
- | <code bash> | ||
- | vgscan -v --mknodes | ||
- | vgchange -a y | ||
- | </code> | ||
- | |||
- | 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. | ||
- | |||
- | <code bash | 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. | ||
- | </code> |