[pkg-cryptsetup-devel] Bug#579162: Bug#579162: cryptsetup: Error mounting device: EXT3-fs: group descriptors corrupted

Jonas Meurer jonas at freesources.org
Sun May 2 23:35:42 UTC 2010


hey david,

On 25/04/2010 David Simpson wrote:
> When I try to mount an encrypted container I get the following:
> 
> # mount /dev/mapper/container1 /mnt/container1
> 
> wrong fs type, bad option, bad superblock on /dev/mapper/container1,
>        missing codepage or helper program, or other error
>        In some cases useful info is found in syslog - try
>        dmesg | tail  or so
> 
> # dmesg
>   [511.590000] EXT3-fs error (device dm-0): ext3_check_descriptors: Block bitmap 
> for group 0 not in group (block 1825591687)!
>   [511.620000] EXT3-fs: group descriptors corrupted!

please provide more information about your dm-crypt setup. which command
do you use in order to unlock the dm-crypt device? is it a LUKS
encrypted device, or do you use plain dm-crypt?

> I am running this on a SheevaPlug with a USB external harddrive. 
> 
> If I try the same container on an updated Squeeze installed on an AthlonXP 2800 desktop 
> (2.6.32-trunk-686 #1 SMP), I get the same error. However, if I try with Ubuntu 9.10 on 
> the same Athlon desktop, this same container mounts successfully. 
> 
> Back on the Sheeva Plug, if I downgrade the package to cryptsetup_2%3a1.1.0~rc2-1_armel.deb, 
> the same container mounts successfully, but fails to mount if I then upgrade to the next latest 
> that I have in my package archive: cryptsetup_2%3a1.1.0-2_armel.deb. 

i guess that you use plain dm-crypt and didn't set cipher, hash and hash
size in the crypttab, thus running into issues with the changed defaults.

> For the failure cases, testdisk fails to find any valid superblocks on the mapped device.  Both 
> of my (ext3) containers are showing the same problem.

greetings,
 jonas

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 490 bytes
Desc: Digital signature
URL: <http://lists.alioth.debian.org/pipermail/pkg-cryptsetup-devel/attachments/20100503/208ec78c/attachment.pgp>


More information about the pkg-cryptsetup-devel mailing list