-   Linux - Newbie (
-   -   Increase dev/sdb size - LVM (

karlochacon 05-21-2011 06:20 PM

Increase dev/sdb size - LVM
hi guys

I am working on my vmware workstation.

I have a /dev/sdb which is 5GB. I am using LVM.

Now I increase /dev/sdb 2 more GB.

fdisk -l shows 7 GB but pvscan still shows 5GB.

how do I make my system recognize the new 7GB added and be able to add those to my physical volumen and extend my volume group and logical volumen

thanks a lot

tommylovell 05-21-2011 09:23 PM

Assuming that /dev/sdb is not partitioned (your original pvcreate was 'pvcreate /dev/sdb'), you should be able to do

pvresize /dev/sdb
I've never done it, but the man page says that's all there is to it.

btw, Fedora 14.

All times are GMT -5. The time now is 08:01 AM.