2
0
mirror of https://github.com/chubin/cheat.sheets synced 2024-11-03 15:40:17 +00:00
cheat.sheets/sheets/xfs_repair
terminalforlife d7473ac185 Fix trailing whitespace on all files
Tidy files; tidy soul!
2020-02-22 02:47:54 +00:00

12 lines
351 B
Plaintext

# xfs_repair
# repair an XFS filesystem
# rapair a XFS filesystem
xfs_repair /dev/dm-0
# last resort option:
# -L: Force Log Zeroing. zero the log even if it is dirty (contains metadata changes).
# When using this option the filesystem will likely appear to be corrupt,
# and can cause the loss of user files and/or data.
xfs_repair -v -L /dev/dm-0