209
Comment: XFS fragmentation
|
← Revision 3 as of 2020-05-11 20:05:01 ⇥
628
|
Deletions are marked like this. | Additions are marked like this. |
Line 8: | Line 8: |
# Check xfs_db -c check ${DEVICE} xfs_repair -n ${DEVICE} |
|
Line 9: | Line 13: |
== Alternatives to FHS == This section is here because I don't have a better place to put it on the Wiki. [[http://objectroot.org/root/|The objectroot filesystem hierarchy specification]] [[https://github.com/gobolinux/Documentation/wiki/The-GoboLinux-Filesystem-Hierarchy|The GoboLinux Filesystem Hierarchy · gobolinux/Documentation Wiki]] |
XFS
# Determine XFS fragmentation
xfs_db -r -c frag /dev/sda1
# Defragment XFS volume with 4 hr time-limit
xfs_fsr -t 14400 /dev/sda1
# Check
xfs_db -c check ${DEVICE}
xfs_repair -n ${DEVICE}
Alternatives to FHS
This section is here because I don't have a better place to put it on the Wiki.
The objectroot filesystem hierarchy specification
The GoboLinux Filesystem Hierarchy · gobolinux/Documentation Wiki