Unmount Cryptsetup Disk
In this section, the guide shows you how to unmunt/lock an encrypted disk.
Lock Encrypted Disk
Lock Encrypted Disk
To unlock disk, you simply use luksClose argument followed by the LUKS mounting name. The syntax is as follows:
$ cryptsetup luksClose <mounting name>
Example:
$ cryptsetup luksClose sda_crypt
Verify Unlock Outcome
Verify Unlock Outcome
Once mounted, you should not see the mapper device inside the mapper section like:
/dev/mapper/<mounting name>
If we follows the example above, we should not see:
/dev/mapper/sda_crypt
That's all for unmounting cryptsetup disk.