How to enlarge home dir. -

Richard Shaw hobbes1069 at gmail.com
Thu May 5 20:14:51 UTC 2011


On Thu, May 5, 2011 at 2:30 PM, Bob Goodwin <bobgoodwin at wildblue.net> wrote:
>        [root at box9 ~]# vgextend  vg_box9 /dev/sdb1
>           Physical volume '/dev/sdb1' is already in volume group 'vg_box9'
>           Unable to add physical volume '/dev/sdb1' to volume group
>        'vg_box9'.
>
>> Then you need to expand your "lv_home" logical volume over /dev/sdb1.
>>
>> lvextend /dev/vg_box9/lv_home /dev/sdb1
>>
>> This is a short cut to have lv_home use all of /dev/sdb1, usually you
>> would have to tell it how much of the vg you want to use but if you
>> specify the device it uses all of it.
>>
>
>        [root at box9 ~]# lvextend /dev/vg_box9/lv_home /dev/sdb1
>           No free extents on physical volume "/dev/sdb1"
>           No specified PVs have space available
>
>    What is this telling me? Fdisk shows it as an empty drive.

That's what I was afraid of. /dev/sb1 is already in use. Fdisk doesn't
really know anything about LVM (other than the partition label). You
need to inspect the output of vgdisplay and lvdisplay to see what's
going on. You may not actually have an unused drive available to
expand /home.

Another graphical way to explore your disks is the "palimpsest"
utility, which from the menu is just called "Disk Utility".

Richard

Richard


More information about the users mailing list