Show Table of Contents
3.4. XFS ファイルシステムのサイズの拡大
xfs_growfs
コマンドを使用すると、マウント中の XFS ファイルシステムを拡大することができます。
# xfs_growfs /mount/point -D size
-D size
オプションを使用して、ファイルシステムをその size
(ファイルシステムのブロック数) まで大きくします。 -D size
オプションを指定しないと、xfs_growfs
はデバイスで対応できる最大サイズにまで、ファイルシステムを拡大します。
-D size
を指定して XFS ファイルシステムを拡大する前に、基礎となるブロックデバイスが将来的にファイルシステムを保持できるサイズであることを確認してください。サイズ変更する場合は対象となるブロックデバイスに適した方法を使用してください。
注記
XFS ファイルシステムはマウントしている状態でも拡大することはできますが、逆にそのサイズを縮小することはできません。
ファイルシステムを拡大する方法は
man xfs_growfs
を参照してください。
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.