6c4f762c49
Prefix zpool mount paths to avoid clashing with other mount namespaces (like LVM). Also ignore "already-mounted" error and return it as success instead - as we always assume that a mount path is unique, this is a safe assumption, as nothing else could have been mounted here. This fixes an issue where a mountpoint=legacy subvol might be available on different disks, and thus have different Bucket instances that don't share the mountpoint cache, which could lead to an error if the user tried opening it multiple times on different disks. Signed-off-by: Stefan Reiter <s.reiter@proxmox.com> Reviewed-By: Fabian Grünbichler <f.gruenbichler@proxmox.com>