xfs vs ext4 commands
File system command differences between ext3 and xfs.
Task | ext4 | xfs |
---|---|---|
Creating a file system | mkfs.ext4 | mkfs.xfs |
Mounting a file system | mount | mount |
Resizing a file system | resize2fs | xfs_growfs |
Repairing a file system | e2fsck | xfs_repair |
Changing the label on a file system | e2label | xfs_admin -L |
Reporting on disk space and file usage | quota | quota |
Debugging a file system | debugfs | xfs_db |
Saving critical file system metadata to a file | e2image | xfs_metadump |