Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.
cryptsetup: WARNING: failed to detect canonical device of /dev/md1
cryptsetup: WARNING: could not determine root device from /etc/fstab

I constantly get this error, although everything seems to be fine.

cat /proc/mdstat

Personalities : [raid1] [linear] [multipath] [raid0] [raid6] [raid5] [raid4] [raid10]
md1 : active raid1 sda3[1] sdb3[0]
      1394764736 blocks [2/2] [UU]

md0 : active raid1 sda1[1] sdb1[0]
      499904 blocks [2/2] [UU]

unused devices: <none>

cat /etc/fstab

# /etc/fstab: static file system information.
# <file system> <mount point>   <type>  <options>       <dump>  <pass>
proc            /proc           proc    defaults        0       0
/dev/md1        /               ext4    defaults        0       1
/dev/md0        /boot           ext2    defaults        0       2
/dev/sda2       none            swap    sw              0       0
/dev/sdb2       none            swap    sw              0       0

Please note that /dev/md1 is the boot device, so I don't want to risk a reboot until this problem is solved. This popped up after the installation of Ubuntu 12.04.

What does this warning even mean? How can I fix it?

share|improve this question
And /etc/fstab says what? –  Michael Hampton Oct 23 '12 at 20:15
Added the information. –  silvinci Oct 24 '12 at 13:46

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.