Reference Table for ext4 and XFS Commands
XFS replaces ext4 as the default file system in CentOS 7. This table serves as a cross reference listing common file system manipulation tasks and any changes in these commands between ext4 and XFS.
Task | ext4 | XFS |
---|---|---|
Creating a file system |
|
|
Mounting a file system |
|
|
Resizing a file system |
|
|
Repairing a file system |
|
|
Changing the label on a file system |
|
|
Reporting on disk space and file usage |
|
|
Debugging a file system |
|
|
Saving critical file system metadata to a file |
|
|
1. The size of XFS file systems cannot be reduced; the command is used only to increase the size.