OpenMediaVault-Plugin-Developers/openmediavault-luksencryption

Can't lock an encryptet device without destrcutive measures

thrdroom opened this issue · 1 comments

System:
OMV 5.3.4-1 (Usul)

Plugin:
openmediavault-luksencryption 5.0.1

Problem:
How to lock a encrypted Device?

  1. I have created a encrypted device.
  2. unlocked it
  3. created a filesystem EXT4
  4. mount HDD
  5. create a shared folder
  6. create a SMB share

Everything works great!

Whats the best way to lock the device?

The only way i found:

  1. delete the SMB share
  2. delete the shared folder
  3. unmount the HDD

and only then i can lock the device...
That's really bad, destructive and time consuming.

Expected behaviour:
Why can't i go to Luks plugin and lock the device directly? Without deleting shares etc. etc.

You cannot lock the device while in use. the luks docs are extensive please read them.

The limitations of the plugin are well known.