[PVE-User] couple of questions for new lxc containers

hackru hackru at gmail.com
Wed Oct 21 18:43:06 CEST 2015


Hello


I have a couple of questions

i create containers like this:

pct create $id /var/lib/vz/template/cache/$template \
  -net0 name=eth0,bridge=$bridge,ip=$ip,gw=$gw \
  -cpulimit $cpus \
  -memory $mem \
  -storage rbd \
  -mp0 "rbd:$storagesize,mp=/storage" \
  -onboot 1 \
  -password $password \
  -hostname $hostname \
  -description $description

1) how it's possible to set rootfs size?
2) is it possible to have rootfs on mpX?
3) can i have custom MP names? I don't like vm-ID-disk-N, i want to have vm-ID-disk-root, disk-storage, disk-var for easier management from cli.
4) will i have some problems when i use mpX in containers? like problems when back up or restore?
5) how can i replace pct with pvesh so i can run my commands on any cluster node? i tried but no success, mpN option not working for me.
6) ostype option is not implemented, will it be?

Thanks in advance
Regards


More information about the pve-user mailing list