CT's will not start with ZFS subvol from non-root mounted zpool

nz_monkey

Renowned Member
Jan 17, 2013
60
0
71
Hello,

I have a zpool called "store0" that is mounted to /media/store0 due to consistency reasons. When I create a "mountpoint" for a container on this zpool, the container will not start and gives the error:

lxc-start 125 20200107015607.240 DEBUG conf - conf.c:run_buffer:340 - Script exec /usr/share/lxc/hooks/lxc-pve-prestart-hook 125 lxc pre-start produced output: cannot open directory //store0: No such file or directory

Indicating that the lxc-pve-prestart-hook script is expecting the pool to be mounted to /

Is there a workaround or fix available for this ?
 
Hi,

in PVE 6 you can set mount point as a Storage parameter for local ZFS storages.
see
man pvesm
 

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!