]> git.proxmox.com Git - pve-storage.git/commit
Check whether 'zfs get mountpoint' returns a valid absolute path
authorFabian Ebner <f.ebner@proxmox.com>
Tue, 18 Feb 2020 10:14:59 +0000 (11:14 +0100)
committerThomas Lamprecht <t.lamprecht@proxmox.com>
Tue, 18 Feb 2020 12:26:46 +0000 (13:26 +0100)
commit75815bf556ab04608a1f2dc6b6ca38f61ff9acdf
tree918e2e522b53e0419792d7d83c0e4ec0e61c8ca1
parent1022a7c4a9ea5da9b102e53ac5886e03236eb174
Check whether 'zfs get mountpoint' returns a valid absolute path

The command 'zfs get mountpoint' can return 'none' and so 'mountpoint
none' was written to storage.cfg, which would block the fall-back to
using the default mount point when requesting a path, see [0].

[0]: https://forum.proxmox.com/threads/zfs-backup-with-snapshot-mode-fails.61927/#post-284123

Signed-off-by: Fabian Ebner <f.ebner@proxmox.com>
PVE/Storage/ZFSPoolPlugin.pm