[dm-crypt] "not a valid LUKS device" after distro change

Jonas Meurer jonas at freesources.org
Thu Aug 21 18:13:24 CEST 2014

Hello John,

Am 21.08.2014 um 17:55 schrieb John Wells:
> Thanks. How would I use this information to track back to a potential
> problem?

I'm not convinced yet, that your system screwed up partition and/or
device ordering. First you should try to find out which devices are
recognized both in Fedora and Ubuntu and compare these.

Try to run 'lsblk', 'dmsetup ls' and 'dmsetup deps' on both systems and
compare or post the result here.

Which Ubuntu version do you run? Do you use an installed Ubuntu or
rather a live image? It would help if you could provide some more
information regarding your system.

Kind regards,

> On Aug 21, 2014 10:41 AM, "Robert Nichols" <rnicholsNOSPAM at comcast.net
> <mailto:rnicholsNOSPAM at comcast.net>> wrote:
>     On 08/21/2014 09:00 AM, John Wells wrote:
>         I will try what you say. To add to the weirdness, I came into
>         work this morning
>         with a unresponsive machine. I hard reset, booted Ubuntu, but at
>         that point
>         *Ubuntu wouldn't recognize either partition, and both had the
>         same "GNU Parted
>         Loopback 0" in the output of "head -c 1024 /volume | hd".
>         Neither partition was
>         recognized by luksDump. I panicked.
>         Rebooted, and guess what? /dev/MORE_VG/MORE_LV was back to
>         normal and I could
>         mount it. /dev/FINALFRONTIER_VG/HOME_LV was still corrupted with
>         the "GNU Parted
>         Loopback 0" output.
>         This makes no sense to me. How could the leading bits be
>         different each time I
>         booted up? Could datamapper be assigning the wrong device to the
>         logical volume
>         in some way? It just makes no sense.
>     You can run (as root) "dmsetup deps" on each device in /dev/mapper
>     to see
>     the major and minor device numbers needed for each entry.
>     -- 
>     Bob Nichols     "NOSPAM" is really part of my email address.
>                     Do NOT delete it.
>     _________________________________________________
>     dm-crypt mailing list
>     dm-crypt at saout.de <mailto:dm-crypt at saout.de>
>     http://www.saout.de/mailman/__listinfo/dm-crypt
>     <http://www.saout.de/mailman/listinfo/dm-crypt>
> _______________________________________________
> dm-crypt mailing list
> dm-crypt at saout.de
> http://www.saout.de/mailman/listinfo/dm-crypt

More information about the dm-crypt mailing list