<html><head><meta http-equiv="Content-Type" content="text/html charset=us-ascii"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">hi,all<div class=""><br class=""></div><div class="">current, add disk for the lxc from cli. like this</div><div class=""><br class=""></div><div class=""># cat /etc/pve/lxc/100.conf</div><div class=""><div class="">arch: amd64</div><div class="">cpulimit: 2</div><div class="">cpuunits: 1024</div><div class="">hostname: test</div><div class="">memory: 2048</div><div class="">net0: bridge=vmbr0,hwaddr=F2:07:24:D6:DE:28,ip=172.16.1.100/12,name=eth0,type=veth</div><div class="">onboot: 1</div><div class="">ostype: centos</div><div class="">rootfs: local:100/vm-100-disk-1.raw,size=16G</div><div class="">swap: 2048</div></div><div class=""><font color="#ff4013" class="">lxc.mount.entry: /dev/sdb dev/sdb none bind,mode=1777,create=file 0 0</font></div><div class=""><font color="#ff4013" class="">lxc.mount.entry: /dev/sdc dev/sdc none bind,mode=1777,create=file 0 0</font></div><div class=""><font color="#ff4013" class="">lxc.mount.entry: /dev/sdd dev/sdd none bind,mode=1777,create=file 0 0</font></div><div class=""><font color="#ff4013" class="">lxc.mount.entry: /dev/sde dev/sde none bind,mode=1777,create=file 0 0</font></div><div class=""><font color="#ff4013" class="">lxc.cgroup.devices.allow: b 8:16 rwm</font></div><div class=""><font color="#ff4013" class="">lxc.cgroup.devices.allow: b 8:32 rwm</font></div><div class=""><font color="#ff4013" class="">lxc.cgroup.devices.allow: b 8:48 rwm</font></div><div class=""><font color="#ff4013" class="">lxc.cgroup.devices.allow: b 8:60 rwm </font><br class=""><div class=""><br class=""></div></div><div class="">if can add like this feature, pretty good!</div><div class=""><br class=""></div><div class="">Whether the planned? </div><div class=""><br class=""></div><div class="">thanks .</div><br class=""><div class="">
<div class="">lyt_yudi</div><div class=""><a href="mailto:lyt_yudi@icloud.com" class="">lyt_yudi@icloud.com</a></div><div class=""><br class=""></div><br class="Apple-interchange-newline">

</div>
<br class=""></body></html>