Show Table of Contents
付録E ext4 と XFS コマンドの参照表
Red Hat Enterprise Linux 7 では、XFS が ext4 に代わってデフォルトのファイルシステムになります。一般的なファイルシステム操作の作業に対する ext4 でのコマンドと XFS でのコマンドとの違いを以下の相互参照表で示します。
表E.1 ext4 と XFS コマンドの参照表
| 作業 | ext4 | XFS |
|---|---|---|
| ファイルシステムを作成する | mkfs.ext4 | mkfs.xfs |
| ファイルシステムをマウントする | mount | mount |
| ファイルシステムのサイズを変更する | resize2fs | xfs_growfs [a] |
| ファイルシステムの準備を整える | e2fsck | xfs_repair |
| ファイルシステムのラベルを変更する | e2label | xfs_admin -L |
| ディスク領域およびファイル使用量を報告する | quota | quota |
| ファイルシステムをデバッグする | debugfs | xfs_db |
| ファイルシステムの重要なメタデータをファイルに保存する | e2image | xfs_metadump |
[a]
XFS ファイルシステムのサイズは縮小できません。サイズを拡大する場合にのみコマンドを使用します。
| ||

Where did the comment section go?
Red Hat's documentation publication system recently went through an upgrade to enable speedier, more mobile-friendly content. We decided to re-evaluate our commenting platform to ensure that it meets your expectations and serves as an optimal feedback mechanism. During this redesign, we invite your input on providing feedback on Red Hat documentation via the discussion platform.