[dm-crypt] Failure to encrypt a big disk - missing kernel module?
gmazyland at gmail.com
Sat Apr 15 09:51:14 CEST 2017
On 04/15/2017 04:35 AM, Carlos E. R. wrote:
> Maybe cryptsetup could detect mount status? :-?
Actually it already tests device for exclusive access (it is not only mount,
also for use in RAID, other device-mapper mappings etc), not sure why it
was detected so late. Maybe that debug would reveal it ;-)
Maybe it is racing with some automatic mount utility, dunno.
(The correct message should be "Cannot format device %s which is still in use."
but apparently it was not failing during this step.)
More information about the dm-crypt