xfsではsnapshotをとる場合に、整合性を保つために
xfs_freeze
というコマンドがある。

が、これは、Linux2.6系では実行してはいけないらしい。
(最近の2.6.27とかでも同様かは不明。)

情報元:

 

LVMは動的に領域を拡張できて便利なわけですが、ファイルシステムに、
xfsを使用している時の、領域拡張法法を記しておきます。


# lvresize -L +500M /dev/vg01/lv01
# xfs_growfs /mnt/lv01-mountpoint

xfs_growfsは、マウントポイントをパラメータにとるので注意。

# xfs_growfs –help
xfs_growfs: invalid option — ‘-’
Usage: xfs_growfs [options] mountpoint

Options:
-d grow data/metadata section
-l grow log section
-r grow realtime section
-n don’t change anything, just show geometry
-I allow inode numbers to exceed 32 significant bits
-i convert log from external to internal format
-t alternate location for mount table (/etc/mtab)
-x convert log from internal to external format
-D size grow data/metadata section to size blks
-L size grow/shrink log section to size blks
-R size grow realtime section to size blks
-e size set realtime extent size to size blks
-m imaxpct set inode max percent to imaxpct
-V print version information