Bugzilla – Bug 410418
mount: unknown filesystem type 'crypto_LUKS'
Last modified: 2009-03-09 14:24:27 UTC
fresh 11.0 on fig.suse.de mount: unknown filesystem type 'crypto_LUKS' there was an ext3 before on /dev/system/home, but now I tried a crypt home. Why does mount and blkid return different results? I think they both use libvolid. fig:~ # df -hTlP Filesystem Type Size Used Avail Use% Mounted on /dev/mapper/system-root ext3 15G 2.4G 12G 18% / udev tmpfs 93M 92K 93M 1% /dev /dev/mapper/cr_home ext3 22G 173M 21G 1% /home fig:~ # blkid /dev/hda2: TYPE="hfs" /dev/hda3: UUID="bm2s3l-ZmAh-vVi6-kodj-4IVh-1Vv5-jxJP21" TYPE="lvm2pv" /dev/dm-0: UUID="84e04e09-cb5c-40b4-9175-16a4afc2f977" SEC_TYPE="ext2" TYPE="ext3" /dev/dm-1: LABEL="fig_root" UUID="f8e3ba7b-0eac-4822-b074-9a5ae90865bf" TYPE="ext3" /dev/dm-2: TYPE="swap" LABEL="fig_swap" UUID="eb0ddd22-8eee-4746-9e09-65f208b50cb2" /dev/dm-3: UUID="37fd83eb-7487-413f-84b2-9dfe5598ae88" TYPE="ext3" fig:~ # mount -voro /dev/dm- dm-0 dm-1 dm-2 dm-3 fig:~ # mount -voro /dev/dm-0 /mnt/ mount: you didn't specify a filesystem type for /dev/dm-0 I will try type crypto_LUKS mount: unknown filesystem type 'crypto_LUKS' fig:~ # mount -voro /dev/dm-3 /mnt/ mount: you didn't specify a filesystem type for /dev/dm-3 I will try type ext3 mount: /dev/dm-3 already mounted or /mnt/ busy
crypto_LUKS is not known to mount, because it is not a real filesystem. So the crypto partition has to be set up either manually with cryptsetup or with the init scripts (boot.crypto,boot.crypto-early) before you can mount it. mount is linked against libvolume_id from udev, while blkid uses libblkid both from e2fsprogs. They differ in some aspects, e.g. detection order, the issue here looks like the everlasting old signature problem. How did you set up the crypto partition? Do the crypto filesystem get set up properly by the init script magic?
crypto works. Its just that blkid and mount have a different view on the metadata.
I think the real problem is, that cryptsetup luksFormat should wipe existing signatures when formatting the device.
not really a bug and now that upstream works on unifying this i close this one