2007. 11. 1. 14:32 Unix/HP-UX
Volume 합치기
○ 두개의 logical volume 이 있는 상황에서 하나의 logical volume으로 만들고자 한다.
# bdf : 작업전 용량확인
# umount /fs1 : 없앨 logical volume unmount
# lvremove /dev/vg01/lvol1 : logical volume 제거
The logical volume "/dev/vg01/lvol1" is not empty;
do you really want to delete the logical volume (y/n) : y
Logical volume "/dev/vg01/lvol1" has been successfully removed.
Volume Group configuration for /dev/vg01 has been saved in /etc/lvmconf/vg01.conf
# lvextend -L 51136 /dev/vg01/lvol2 : logical volume 용량 확장
Logical volume "/dev/vg01/lvol2" has been successfully extended.
Volume Group configuration for /dev/vg01 has been saved in /etc/lvmconf/vg01.conf
# fsadm -F vxfs -b 51136M /fs2 : defragmentation
UX:vxfs fsadm: INFO: V-3-23585: /dev/vg01/rlvol2 is currently 31391744 sectors - size will be increased
# bdf : 작업후 용량확인
# lvdisplay -v /dev/vg01/lvol2 : logical volume 정보보기