LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (http://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Increase dev/sdb size - LVM (http://www.linuxquestions.org/questions/linux-newbie-8/increase-dev-sdb-size-lvm-882017/)

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
Code:

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 11:15 AM.