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 정보보기

반응형
Posted by She쥐포s

블로그 이미지
She쥐포s
Yesterday
Today
Total

달력

 « |  » 2024.3
1 2
3 4 5 6 7 8 9
10 11 12 13 14 15 16
17 18 19 20 21 22 23
24 25 26 27 28 29 30
31

최근에 올라온 글

최근에 달린 댓글

글 보관함