Promox 6.2-4 - Create CT on ZFS Storage

Cyantist

New Member
Sep 24, 2020
3
0
1
31
Hi guys!

I'm quite new to proxmox but i'm familiar with Hyper-V and EXSI on small infrastructure :') I set up a new Promox node, SSD for system, and 2 1to HDD to host the Containers. Both HDD were formated with Gparted before created the zfs-pool and I used this page to help me with that: https://pve.proxmox.com/wiki/ZFS_on_Linux

So I used this command to create a RAID1 Pool, so far so good!

zpool create -f -o ashift=12 <pool> mirror <device1> <device2>

I decided to take an older backup and restore it to this new ZFS:

pct restore xxx archive.tar.lzo -storage local-zfs

It worked perfectly, but if I want to create a new CT with the GUI my zfs-pool dosn't show up! Any suggestions will be highly appreciated! :')

Thx you guys!
 
hi,

but if I want to create a new CT with the GUI my zfs-pool dosn't show up!

have you added it to the configuration?

add your ZFS pool in the GUI by going to Datacenter -> Storage -> Add -> ZFS

afterwards it should appear in the CT creation wizard.

make sure you also enable "Container" in the Content Type of the pool
 
Hi Oguz,

Thanks you for the reply, I already created the ZFS pool and it shows up in "Datacenter -> Storage" but not the in CT creation Wizard... Or am I wrong?

1600945182015.png

You will notice that I added a Backup folder into the ZFS pool, does this have any influence on my issue?

1600945265048.png

Thanks a lot!
 
You will notice that I added a Backup folder into the ZFS pool, does this have any influence on my issue?

yes it can cause problems if you create a directory storage inside the zpool. please try deactivating/deleting the "Backup" storage and see if it works
 
I will try this, but the weird part is that this seems to works:

pct create 606 /var/lib/vz/template/cache/centos-8-default_20191016_amd64.tar.xz -storage local-zfs