标签:
南沙节点改变LV大小,参考鸟哥第 570页
1、# resize2fs /dev/mapper/vg_niotsvr3-lv_home 150G
resize2fs 1.41.12 (17-May-2010)
Filesystem at /dev/mapper/vg_niotsvr3-lv_home is mounted on /home; on-line resizing required
On-line shrinking from 197822464 to 39321600 not supported.
2、# umount /home
umount: /home: device is busy.
(In some cases useful info about processes that use
the device is found by lsof(8) or fuser(1))
3、# fuser -m /home
/home: 3057c 3410c 4540c 14641c 14643c 14644c 14646c 25225c 25248c 25253c 25254c 25505c 25519c 25548c 25551c 25552c
4、# e2fsck -f /dev/mapper/vg_niotsvr3-lv_home
5、# resize2fs /dev/mapper/vg_niotsvr3-lv_home 150G
6、# mount /dev/mapper/vg_niotsvr3-lv_home /home
7、# lvdisplay vgdisplay
8、# lvresize -L 200G /dev/mapper/vg_niotsvr3-lv_root
9、# resize2fs /dev/mapper/vg_niotsvr3-lv_root
10、# df /
VG、LV、rezise2fs、lvresize、fuer使用说明
标签:
原文地址:http://www.cnblogs.com/fatt/p/5138711.html