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.) Milan _______________________________________________ dm-crypt mailing list dm-crypt@xxxxxxxx http://www.saout.de/mailman/listinfo/dm-crypt