Linux2.6系でxfsでLVM のsnapshotをとりたい場合は、xfs_freeze不要?

Linux2.6系でxfsでLVM のsnapshotをとりたい場合は、xfs_freeze不要?

xfsではsnapshotをとる場合に、整合性を保つために xfs_freeze というコマンドがある。 が、これは、Linux2.6系では実行してはいけないらしい。 (最近の2.6.27とかでも同様かは不明。) 情報元: http://ja.wikipedia.org/wiki/XFS#.E3.82.B9.E3.83.8A.E3.83.83.E3.83.97.E3.82.B7.E3.83.A7.E3.83.83.E3.83.88 http://labs.unoh.net/2006/09/lvm_xfs_mysql.html http://marc.info/?l=linux-lvm&m=111014382900031&w=2

2008-12-15 · 1 分 · Masayuki Igawa
LVM xfs使用時の領域拡張方法

LVM xfs使用時の領域拡張方法

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 ...

2008-12-14 · 1 分 · Masayuki Igawa