resize LVM volume
1 Attachment(s)
Hi
I have a prolem when resizing the Logical volomu.I created logvolopt1 logical volume and need to resize it to 1.5G.In order to acheive this i did the following configurations pvcreate /dev/hdb1 /dev/hdd1 vgcreate volgroup001 /dev/hdb1 /dev/hdd1 lvcreate -L 2G -n logvolopt1 volgroup001 mke2fs -j /dev/volgroup001/logvolopt1 lvresize -L 1.5G /dev/volgroup001/logvolopt1 then i did a "lvdisplay" . It shows the correct volume (1.5G) then i ran the resize2fs -f -p /dev/volgroup001/logvolopt1 , following error occurred(attached) I restart the PC but still correct volume doesn't appear once i issued "df -h" how can i solve this ? your responses are highly tnx |
I suggest you boot with a live CD, run fsck and try again.
|
Hello harshaabba:
Try going to this page: www.unixmultiverse.com. There is an article about resizing with LVM. I hope it helps you. --Willie |
All times are GMT -5. The time now is 03:05 AM. |