[PVE-User] Extending Logical Volume on host, but not in the guest

Gilles Mocellin gilles.mocellin at free.fr
Thu Mar 3 19:30:33 CET 2011


Le Thursday 03 March 2011 18:56:28 Germain Maurice, vous avez écrit :
> Le 03/03/11 18:52, Germain Maurice a écrit :
[...]
 
> > I'm testing the ability to extend partitions inside VMs, so i did a :
> > # lvextend -L+5g /dev/SAS/vm-300-disk-1
> > # lvdisplay -C
> > 
> >   vm-300-disk-1 SAS -wi-ao 15.00G
> >   vm-101-disk-1 SATA  -wi-a- 32.00G
> > 
> > When i'm testing this extending in the VM, i still have /dev/vdb with
> > 10GB...
> > 
> > Is it possible to do that ?
> > What command i forgot to execute ??
> > 
> > Thank you

You must stop and start the VM (not just restart). KVM does not see the 
resized block device.

> With Proxmox 1.7 natürlich ;)

I wasn't aware of it, I have to try that !




More information about the pve-user mailing list