[linux-lvm] how to online resize pv?

Stefan Priebe s.priebe at profihost.ag
Mon Jul 30 20:45:12 UTC 2012


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




More information about the linux-lvm mailing list