Differences between revisions 1 and 3 (spanning 2 versions)
Revision 1 as of 2011-07-05 19:00:07
Size: 209
Editor: SamatJain
Comment: XFS fragmentation
Revision 3 as of 2020-05-11 20:05:01
Size: 628
Editor: SamatJain
Comment:
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


CategoryCheatSheet

SamatsWiki: CheatSheet/Filesystems (last edited 2020-05-11 20:05:01 by SamatJain)