[pkg-cryptsetup-devel] Bug#585934: [udev] UUID discrepancy between cryptsetup luksUUID and udevadm info

Milan Broz mbroz at redhat.com
Wed Jun 16 11:19:08 UTC 2010


On 06/16/2010 12:57 PM, Guy Heatley wrote:
> On 16/06/2010 11:39, Milan Broz wrote:
> I'm not sure this is true - this device had not been opened by
> cryptsetup at this point: There was no entry in /dev/mapper , it was not
> an active Luks device.

If that device was LUKS formatted long ago, maybe you are seeing the old bug,
when some sectors were not properly wiped and there are both signatures of ext3 and LUKS
on the device.

You can easily fix that, simply run luksHeaderBackup and luksHeaderRestore
with cryptsetup 1.1.x (this will wipe that problematic area).

If it is problem, please try
crypsetup luksHeaderBackup --header-backup-file <file> <device>
crypsetup luksHeaderRestore --header-backup-file <file> <device>

Milan



More information about the pkg-cryptsetup-devel mailing list