Skip to contentSkip to conversation

PV resizing

linux-lvm Yann Droneaud 3 participants 3 messages Jun 2, 2004 – Jun 3, 2004

lore
Share & tools
lore
#0 lore raw

Hi,

First, sorry to bother you with my stupid question.

I have a PV set in a partition (dos partition table).

Can i resize (grow) this partition so that the PV become bigger, and new space will be available to the VG the PV is currently inside.

To summary, will the PV/VG take account of the new partition size ? I would know about LVM 1 and LVM 2.

Otherwise i will have to remove my current VG.

Regards.

Signature · 4 lines
Yann Droneaud      <[email protected]>     +33 6 88 40 82 43
<[email protected]>  <[email protected]>  <[email protected]>
http://droneaud.com/ http://meuh.org/ http://meuh.tuxfamily.org/
1024D/BEA43321 5D91 B5B0 5137 B8FE 6882 FE19 CAA0 6F05 BEA4 3321
#1 lore raw

Yann Droneaud wrote 28 lines:

Quoted 4 lines

I have a PV set in a partition (dos partition table).

Can i resize (grow) this partition so that the PV become bigger, and new space will be available to the VG the PV is currently inside.

Why not make another partition, turn that into a PV and add that PV to the VG?

-Wolfgang

#2 lore raw
In reply to Yann Droneaud
Quoted 5 lines · Yann Droneaud

Can i resize (grow) this partition so that the PV become bigger, and new space will be available to the VG the PV is currently inside.

To summary, will the PV/VG take account of the new partition size ? I would know about LVM 1 and LVM 2.

Instead of fiddling with pvresizing, can you create a new partition using the extra space and add it to the VG using vgextend?

Alasdair

Signature · 1 line
[email protected]