proxmox-backup/src
Stefan Reiter 6c4f762c49 file-restore-daemon/disk: ignore already-mounted error and prefix zpool
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>
2021-07-03 01:54:23 +02:00
..
acme update proxmox-http dependency 2021-05-17 11:29:24 +02:00
api2 openid: conditionally disable api endpoint 2021-07-03 01:52:01 +02:00
backup backup/datastore: refactor chunk inode sorting to the datastore 2021-06-28 12:14:52 +02:00
bin file-restore-daemon/disk: ignore already-mounted error and prefix zpool 2021-07-03 01:54:23 +02:00
client update to zstd 0.6 2021-06-14 13:01:43 +02:00
config openid: move helper from config to api2 2021-07-03 01:52:01 +02:00
pxar fix #3393 (again): pxar/create: try to read xattrs/fcaps/acls by default 2021-06-28 14:04:22 +02:00
rrd clippy: more misc fixes 2021-01-26 09:54:55 +01:00
server verify-job: move snapshot filter into function 2021-06-28 11:03:44 +02:00
tape tape/drive: fix logging when requesting media 2021-06-30 10:25:48 +02:00
tools fix CachedUserInfo by using a shared memory version counter 2021-06-30 08:54:30 +02:00
api2.rs file-restore: add binary and basic commands 2021-04-08 13:57:57 +02:00
auth_helpers.rs avoid chrono dependency, depend on proxmox 0.3.8 2020-09-15 07:12:57 +02:00
auth.rs api2/access/user: remove password for @pbs users on removal 2021-04-15 08:33:20 +02:00
backup.rs backup: remove AsyncIndexReader 2021-06-08 09:42:46 +02:00
buildcfg.rs file-restore: add debug mode with serial access 2021-05-07 10:00:12 +02:00
client.rs client: add VsockClient to connect to virtio-vsock VMs 2021-02-17 08:15:43 +01:00
config.rs config: new domains.cfg to configure openid realm 2021-06-30 08:54:30 +02:00
lib.rs add acme client 2021-05-04 07:56:52 +02:00
server.rs proxmox-backup-proxy: fix leftover references on datastore removal 2021-06-04 08:22:53 +02:00
task.rs introduce TaskState trait 2020-10-12 14:11:57 +02:00
tools.rs fix CachedUserInfo by using a shared memory version counter 2021-06-30 08:54:30 +02:00