public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* loop device corruption in 2.4.6
@ 2001-07-04 21:14 Mark Swanson
  2001-07-05  5:29 ` Stefan Traby
  2001-07-05 10:18 ` Jari Ruusu
  0 siblings, 2 replies; 5+ messages in thread
From: Mark Swanson @ 2001-07-04 21:14 UTC (permalink / raw)
  To: linux-kernel

Hello,

I get repeatable errors with 2.4.6 patched with the international encryption 
patch patch-int-2.4.3.1.bz2 when building loop device filesystems on top of 
Reiserfs.

All I have to do is:

1. dd if=/dev/zero of=testfs bs=1024 count=100000
2. losetup -e aes /dev/loop0 ./testfs
3. mke2fs /dev/loop0
4. mount /dev/loop0 ./test
5. cd test ; touch m ; cd ..
6. umount ./test
7. losetup -d /dev/loop0
8. losetup -e aes /dev/loop0 ./testfs
9. e2fsck /dev/loop0  *** All heck breaks loose.

The thing is, I can still mount previously created AES loopback filesystems 
but I can't e2fsck them. Well, if I do I get the following:

e2fsck 1.19, 13-Jul-2000 for EXT2 FS 0.5b, 95/08/09
Group descriptors look bad... trying backup blocks...
Inode count in superblock is 27112, should be 25064.
Fix? yes

Block bitmap for group 0 is not in group.  (block 1569951131)
Relocate? yes

Inode bitmap for group 0 is not in group.  (block 1258458187)
Relocate? yes

Inode table for group 0 is not in group.  (block 865539952)
WARNING: SEVERE DATA LOSS POSSIBLE.
Relocate?





^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2001-07-05 14:33 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2001-07-04 21:14 loop device corruption in 2.4.6 Mark Swanson
2001-07-05  5:29 ` Stefan Traby
2001-07-05 10:18 ` Jari Ruusu
2001-07-05 11:39   ` Ian Stirling
2001-07-05 14:17   ` Mark Swanson

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox