[SOLVED - stupid poster] Can't creat LXC on zfspool, only KVM

mailinglists

Renowned Member
Mar 14, 2012
641
70
93
Hi,

i can't seem to create LXC containers on my zfs pool(s).
Only KVMs instances. What am I missing?
I am on PVE 5.2-7.

Code:
root@XYZ:~# zpool list -v vmpool
NAME   SIZE  ALLOC   FREE  EXPANDSZ   FRAG    CAP  DEDUP  HEALTH  ALTROOT
vmpool  5.44T   600K  5.44T         -     0%     0%  1.00x  ONLINE  -
  mirror  2.72T   340K  2.72T         -     0%     0%
    sdc      -      -      -         -      -      -
    sdd      -      -      -         -      -      -
  mirror  2.72T   260K  2.72T         -     0%     0%
    sde      -      -      -         -      -      -
    sdf      -      -      -         -      -      -
log      -      -      -         -      -      -
  sda4  9.94G    12K  9.94G         -     0%     0%
  sdb4  9.94G      0  9.94G         -     0%     0%
cache      -      -      -         -      -      -
  sda5  11.1G  28.5K  11.1G         -     0%     0%
  sdb5  11.1G  53.5K  11.1G         -     0%     0%
root@XYZ:~# cat /etc/pve/storage.cfg
dir: local
   path /var/lib/vz
   content backup,iso,vztmpl

zfspool: local-zfs
   pool rpool/data
   content images,rootdir
   sparse 1

zfspool: vmpool
   pool vmpool
   content rootdir,images
   sparse 1

root@XYZ:~# zfs get mountpoint
NAME              PROPERTY    VALUE        SOURCE
rpool             mountpoint  /rpool       default
rpool/ROOT        mountpoint  /rpool/ROOT  default
rpool/ROOT/pve-1  mountpoint  /            local
rpool/data        mountpoint  /rpool/data  default
rpool/swap        mountpoint  -            -
vmpool            mountpoint  /vmpool      default

upload_2018-8-30_12-32-58.png
upload_2018-8-30_12-36-47.png
 

Attachments

  • upload_2018-8-30_12-32-53.png
    upload_2018-8-30_12-32-53.png
    24.1 KB · Views: 3
Last edited:
The screenshot shows the selection of the container's template.
The selection of the target-storage for the container is done in the 'Root Disk' tab of the Wizard (just click next).
 
  • Like
Reactions: mailinglists
WOW such fail on my side.
I am very sorry for wasting your time.
In my defense I slept for three hours only.
 
No stress - glad the problem was so easy to solve!