So the main purpose of namespace is to avoid naming conflicts. Does namespace offer other benefits, such as better de-duplication than separate datastores?
You can enable/disable a storage from Web UI at Datacenter -> Storage. A storage can also be enabled/disabled from command line (assuming the storage ID is 'zfs'):
# pvesm set zfs --disable 0|1
You could first disable the storage, then unlock the LUKS encrypted devices and import the ZFS pool...
I came across the exact problem when I was upgrading Proxmox from 5 to 6 on an OVH SoYouStart server. I can confirm the solution in the tutorial works like a charm.
Thank you Thomas for sharing this useful tutorial!
You are right. I just did a quick test and can confirm zfs auto-importing is not done when the storage is not enabled. I think this is a neat solution. Thank you for your help!
Sorry for replying to an old thread. But has there been any progress on this? Specially is there now a knob to disable auto-importing ZFS pool? I'm asking this because I find the auto-importing conflict with my working procedure.
My ZFS pool is built on top of several LUKS encrypted devices...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.