Comment 80 for bug 428435

Revision history for this message
asi (gmazyland) wrote :

If blkid reports two signatures for one device (LUKS + ext3/swap) it is bug (introduced when old cryptsetup did not wipe old signature).

You cannot solve it updating to new cryptsetup version but you can use new cryptsetup version to fix it.

Read http://code.google.com/p/cryptsetup/wiki/FrequentlyAskedQuestions#3._Common_Problems
"blkid" sees a LUKS UUID and an ext2/swap UUID on the same device. What is wrong?
for fix description.

Alternatively you can use new "wipefs" command from util-linux-ng 2.17 (and select proper signature to wipe).
(wipefs is btw universal solution for these problems - it can selectively destroy old signatures - just by wiping the magic string
which blkid uses to detect device types)