- 论坛徽章:
- 0
|
楼主给你看看,我在线扩根的,你也可以试试.
----------------------------------------------------------------------
root:/#bdf
Filesystem kbytes used avail %used Mounted on
/dev/vg00/lvol3 2097152 103328 1978296 5% /
/dev/vg00/lvol1 298928 30856 238176 11% /stand
/dev/vg00/lvol8 4096000 304200 3762832 7% /var
/dev/vg00/lvol7 3080192 922416 2140984 30% /usr
/dev/vg00/lvol6 1048576 2512 1037960 0% /tmp
/dev/vg00/lvol5 5128192 2471232 2636264 48% /opt
/dev/vg00/lvol4 512000 2304 505720 0% /home
/dev/vg00/test 2097152 922400 1165640 44% /test
root:/#
root:/#umount /home
root:/#lvremove /dev/vg00/lvol4
The logical volume "/dev/vg00/lvol4" is not empty;
do you really want to delete the logical volume (y/n) : y
Logical volume "/dev/vg00/lvol4" has been successfully removed.
Volume Group configuration for /dev/vg00 has been saved in /etc/lvmconf/vg00.conf
root:/#lvextend -L 2500 /dev/vg00/lvol3
Warning: rounding up logical volume size to extent boundary at size "2512" MB.
Logical volume "/dev/vg00/lvol3" has been successfully extended.
Volume Group configuration for /dev/vg00 has been saved in /etc/lvmconf/vg00.conf
root@rp2470:/#fsadm -b 2500m /
fsadm: /etc/default/fs is used for determining the file system type
vxfs fsadm: /dev/vg00/rlvol3 is currently 2097152 sectors - size will be increased
root:/#bdf
Filesystem kbytes used avail %used Mounted on
/dev/vg00/lvol3 2560000 103344 2437512 4% /
/dev/vg00/lvol1 298928 30856 238176 11% /stand
/dev/vg00/lvol8 4096000 304192 3762848 7% /var
/dev/vg00/lvol7 3080192 922416 2140984 30% /usr
/dev/vg00/lvol6 1048576 2512 1037960 0% /tmp
/dev/vg00/lvol5 5128192 2471232 2636264 48% /opt
/dev/vg00/test 2097152 922400 1165640 44% /test |
|