BUG - ZFS mountpoint must match pool name

Tekthis

New Member
Aug 30, 2017
2
0
1
45
There is a problem that I believe has been around since ZFS was added. If you add a ZFS system through the UI, it shows the ZFS datasets to choose from but if you have a pool named pool Proxmox assumes it is mounted at /pool

ZFS allows a pool to be mounted wherever you choose, and proxmox could get the mount location with:

Code:
root@proxmox:/# zfs get mountpoint mypool
NAME    PROPERTY    VALUE        SOURCE
mypool  mountpoint  /mypool.old  local
 
Yes we know.
The problem is a zfs lockup can take very long if you have many dataset and/or snapshots.
So we assume the default mount-point.
 
You can make ZFS mountpoint lookup adding storage and save it in config. So it will be easy to change manually and creating CT it will not take just in time lookup.
 
You can make ZFS mountpoint lookup adding storage and save it in config. So it will be easy to change manually and creating CT it will not take just in time lookup.

no, because the mountpoint property can change at any point.
 
If server admin changes ZFS mountpoint location he must be instructed to make manually changes to file storage.cfg too.
Its not the best but it may be solution to make ZFS usage more dynamically.
 
  • Like
Reactions: elBradford