I have a USB hard drive encrypted with LUKS currently connected to my Proxmox Backup Server through a mount point defined in fstab. I would like to be able to use the 'Removable Datastore' feature with this drive but unfortunately it does not work. Looking inside datastore.cfg, I can see normal (unremovable) datastores have a path whereas removable datastores additionally have a backing device which is the UUID of the partition on the USB drive. Although LUKS partitions have a UUID they point to /dev/mapper/dm? rather than the physical device which seems to break this functionality.
Before anyone suggests it, the reason I am using LUKS on this partition is because the backups inside the datastore are unencrypted and I want to be able to keep this USB drive both offsite and secure (as part of my 1-2-3 backup plan). The (unencrypted) backups on this drive are copied over from my main datastore and I would rather not encrypt everything not only for the cpu overhead but also for the complexity it would add to my system.
Like I say, it works fine: it would just be nice to be able to use the newly added 'Removable Datastore' functionality for my encrypted USB drive.
Can anyone help? Thanks in advance.
Before anyone suggests it, the reason I am using LUKS on this partition is because the backups inside the datastore are unencrypted and I want to be able to keep this USB drive both offsite and secure (as part of my 1-2-3 backup plan). The (unencrypted) backups on this drive are copied over from my main datastore and I would rather not encrypt everything not only for the cpu overhead but also for the complexity it would add to my system.
Like I say, it works fine: it would just be nice to be able to use the newly added 'Removable Datastore' functionality for my encrypted USB drive.
Can anyone help? Thanks in advance.