Dear community,
i am running a proxmox VE4.1 host, on which I perform PCI-pass-through of a SATA-Controller to an openmediavault-VM, which in turn manages the attached storage using ZFS.
At every host reboot, proxmox imports the zpool created by the openmediavault VM. Is there any way to prevent this? I already tried setting the ZFS_POOL_EXCEPTIONS parameter in /etc/default/zfs, as well as manually erasing the zpool.cache file under /etc/zfs, both to no avail.
Needless to say that ZFS on proxmox host gets confused when drivers of the SATA controller get reassigned to vfio-pci, as it continues to believe that the pool is still present, though the drives are no longer accessible. Changing of the pool structure in the OMV VM doesn't bode well with ZFS on the host either.
I am currently working around the issue by performing a pool export through a zpool export command in /etc/rc.local, which gets executed before start of the OMV MV, but I would prefer a solution in which proxmox does not import the pool in the first place.
Any help would be very much appreciated.
i am running a proxmox VE4.1 host, on which I perform PCI-pass-through of a SATA-Controller to an openmediavault-VM, which in turn manages the attached storage using ZFS.
At every host reboot, proxmox imports the zpool created by the openmediavault VM. Is there any way to prevent this? I already tried setting the ZFS_POOL_EXCEPTIONS parameter in /etc/default/zfs, as well as manually erasing the zpool.cache file under /etc/zfs, both to no avail.
Needless to say that ZFS on proxmox host gets confused when drivers of the SATA controller get reassigned to vfio-pci, as it continues to believe that the pool is still present, though the drives are no longer accessible. Changing of the pool structure in the OMV VM doesn't bode well with ZFS on the host either.
I am currently working around the issue by performing a pool export through a zpool export command in /etc/rc.local, which gets executed before start of the OMV MV, but I would prefer a solution in which proxmox does not import the pool in the first place.
Any help would be very much appreciated.