XFS

From Leo's Notes
Revision as of 00:37, 2 January 2022 by Leo (talk | contribs) (Initial Content)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
This page was last edited on 2 January 2022, at 00:37.

XFS is a high performance filesystem.

Cheatsheet

Description Command Example
Create a XFS filesystem mkfs.xfs $device mkfs.xfs /dev/sda1
Check XFS filesystem xfs_check $device xfs_check /
Resize a XFS filesystem xfs_growfs $mount xfs_growfs /
Creates a XFS filesystem dump into a file xfsdump xfsdump -l 0 -f /backup-home.data /dev/mapper/vg_lv
Restore a XFS filesystem from a dump xfsrestore xfsrestore -f /backup-home.data /dev/mapper/vg_lv

See also