Cant resize with LVM plz help
I have 2 80gb hds running gentoo and LVM2
i type in lvextend -L+5G /dev/vg/movies and it tells me extending logical Volume to 20GB Logical Volume movies successfully resized. But when i df -h the size is still 15G same goes if i try to lvextend any of my other /dev/vg 's anyone know what causes this? |
Is that the only command you running to extend the partitions? I think your missing a few commands ;)
|
well ya after i added the 2nd HD to the vg group. so i did this
Code:
vgextend vg /dev/hdb1 Code:
lvextend -L+5G /dev/vg/movies what am i missing? |
Here's the steps I usually take say if I wanted to extend my scratch partition:
sudo umount /dev/vg/scratch sudo lvextend --size +5g /dev/rootvg/scratch sudo e2fsck -f /dev/rootvg/scratch sudo resize2fs /dev/rootvg/scratch sudo mount /scratch Note: I only have sudo in front as I rarely login as root, which is a good thing. ;) |
Perfect it worked. Thanks for the help.
|
All times are GMT -5. The time now is 02:24 AM. |