Comment 52 for bug 561390

poloshiao (poloshiao) wrote :

I have an ubuntu 10.04 server with text mode and find out the following output:
cat /var/log/syslog | grep device-mapper
Apr 7 11:57:58 server01 kernel: [ 30.590688] device-mapper: table: 251:2: crypt: Device lookup failed
Apr 7 11:57:58 server01 kernel: [ 30.590869] device-mapper: ioctl: error adding target to table
Apr 7 11:57:58 server01 kernel: [ 30.599411] device-mapper: ioctl: asked to rename a non existent device cryptswap1_unformatted -> cryptswap1

I have read all posts in these bug report

and then directed to this bug report

I have found out by chance this morning the above massages disappeared totally after I plus "#" in front of the line "cryptswap1 /dev/md2 /dev/urandom swap, cipher=aes-cbc-essiv:sha256."
This line was written in the configuring file /etc/crypttab which I have been reported it as a bug solution in

Now the booting process is OK and the swap mounted in /etc/fstab on Raid1 by uuid work well.

Thank all of you !