[pve-devel] [Feature request] add disk for lxc from the API and WebUI

lyt_yudi lyt_yudi at icloud.com
Thu Nov 12 16:30:44 CET 2015

> 在 2015年11月12日,下午11:06,Emmanuel Kasper <e.kasper at proxmox.com> 写道:
> Hi lyt_yudi
> You can already do this, but it is not implemented in the GUI
> mp0: local:102/vm-102-disk-3.raw,mp=/mnt/,size=1G
> mp1: /dev/dm-3,mp=/mnt1/,size=1G
> mp0 will mount here a disk image to /mnt
> mp1 will mount the block device /dev/dm-3 to /mnt1 inside the container
> I advise you the first synthax, as it allows you cool stuff like online
> reszsing with pct resize
> Emmanuel


I want to direct use the block device, not use mount a disk  to  the directory inside the container

the resize feature isn’t so important for me, because here to use the whole disk .

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://pve.proxmox.com/pipermail/pve-devel/attachments/20151112/487da2b4/attachment-0001.html>

More information about the pve-devel mailing list