public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Mark Swanson <swansma@yahoo.com>
To: linux-kernel@vger.kernel.org
Subject: loop device corruption in 2.4.6
Date: Wed, 4 Jul 2001 17:14:02 -0400	[thread overview]
Message-ID: <01070417140200.03178@test.home2.mark> (raw)

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?





             reply	other threads:[~2001-07-04 21:14 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-07-04 21:14 Mark Swanson [this message]
2001-07-05  5:29 ` loop device corruption in 2.4.6 Stefan Traby
2001-07-05 10:18 ` Jari Ruusu
2001-07-05 11:39   ` Ian Stirling
2001-07-05 14:17   ` Mark Swanson

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=01070417140200.03178@test.home2.mark \
    --to=swansma@yahoo.com \
    --cc=linux-kernel@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox