Skip to contentSkip to conversation

Resize VG

linux-lvm Mimmus 2 participants 2 messages Jun 30, 2004

lore
Share & tools
lore

Mimmus

author
#0 lore raw

Hi,
this is my setup:
- server HP Proliant DL740 with Red Hat AS 3 (kernel 2.4.21-9ELsmp) with all updates installed
- two Host Bus Adapter FC2214 with qla2x00 driver from HP (v.6.06.50)
- a SAN with an HP EVA3000 disk-array
- LVM

Does LVM support extending LUN size?
I extended size of an existing LUN from my disk-array manager but vgdisplay shows me always the original size (with no free physical extents). No change if I reboot, I need to destroy and re-create volume group.

Have I some other chance?

Thanks
Domenico Viggiani

#1 lore raw
Quoted 1 line · Mimmus

Does LVM support extending LUN size?

LVM1 does not support extending lun size.

Quoted 3 lines

I extended size of an existing LUN from my disk-array manager but vgdisplay shows me always the original size (with no free physical extents). No change if I reboot, I need to destroy and re-create volume group.

did you partition the lun or are you using a whole device?
in the former case you can add a second partition, in the latter your
only chance is to reduce the lun again and assign the space as a new
lun, iirc you should be able to allocate more than one lun from the same disk group. i
am not that sure about reducing.
Watch out for the maximum number of sd devices in the kernel which is probably limited to 40 (CONFIG_SD_EXTRA_DEVS)

L.

Signature · 6 lines
Luca Berra -- [email protected]
       Communication Media & Services S.r.l.
/"\
\ /     ASCII RIBBON CAMPAIGN
 X        AGAINST HTML MAIL
/ \