[linux-lvm] how to online resize pv?

Fred van Zwieten fvzwieten at vxcompany.com
Tue Jul 31 05:10:40 UTC 2012


Try this<http://epsilon.eridani.nl/2012/06/11/hot-resize-lvm2-lv-in-vmware-linux-gues/>

Fred


On Mon, Jul 30, 2012 at 10:45 PM, Stefan Priebe <s.priebe at profihost.ag>wrote:

> Am 30.07.2012 22:25, schrieb Stuart D Gathman:
> > On Jul 30, Stefan Priebe transmitted in part:
> >
> >> Number  Start   End     Size    File system  Name       Flags
> >> 1      1049kB  2097kB  1049kB               GRUB_BOOT  bios_grub
> >> 2      2097kB  32,2GB  32,2GB               Linux LVM  lvm
> >>
> >> If i delete 2 and recreate it starting at the same sector i can't
> >> reread the part. table.
> >>
> >> Is there a way todo online resizing?
> >
> > Only when no partition is open.  That is one reason why LVM is an
> > improvement over partition tables.  You don't have to use a partition
> > table, just use the entire device as a PV.
>
> that was my idea too but grub2 then refuses to install onto /dev/vda. It
> says it cannot find a filesystem on hd0 which is /dev/vda.
>
> Stefan
>
> _______________________________________________
> linux-lvm mailing list
> linux-lvm at redhat.com
> https://www.redhat.com/mailman/listinfo/linux-lvm
> read the LVM HOW-TO at http://tldp.org/HOWTO/LVM-HOWTO/
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/linux-lvm/attachments/20120731/41b008da/attachment.htm>


More information about the linux-lvm mailing list