All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Roland Häder" <webmaster@autoinstaller.de>
To: reiserfs-list@namesys.com
Subject: Bad root block 0
Date: Sun, 7 Sep 2003 14:23:56 +0200	[thread overview]
Message-ID: <200309071423.56015.webmaster@autoinstaller.de> (raw)

Hello,

I have created an image on this way:

dd if=/dev/urandom of=image.file bs=1k count=98288

And I have latest 3.6.11 ReiserFS tools. So I setup the loop-back device:

losetup -e rc6 /dev/loop3 image.file

RC6 need a keysize. I use 256 Bits and entered a password.

I created a ReiserFS on it: mkreiserfs /dev/loop3

This happens all yesterday.

I never used any resizer tools and I did not run reiserfschk while it was mounted. Also my box did not crash while it was mounted.

Today I setup the loop-back device on same way (and same password!) again and try to mount it:

$: mount /dev/loop3 /mnt
mount: Not a directory
$:

Well, /mnt *is* definely a directory...

When I do a reiserfschk --rebuild-tree I got this:

Replaying journal..
0 transactions replayed
###########
reiserfsck --rebuild-tree started at Sun Sep  7 14:22:00 2003
###########
 
Pass 0:
####### Pass 0 #######
Loading on-disk bitmap .. ok, 8211 blocks marked used
Skipping 8211 blocks (super block, journal, bitmaps) 0 blocks will be read
 
Could not find a hash in use. Using "r5"
        "r5" hash is selected
Flushing..finished
        Read blocks (but not data blocks) 0
                Leaves among those 0
                Objectids found 2
 
Pass 1 (will try to insert 0 leaves):
####### Pass 1 #######
Looking for allocable blocks .. finished
 
Flushing..finished
        0 leaves read
                0 inserted
####### Pass 2 #######
Flushing..finished
 
 
No reiserfs metadata found. ... ... ...

And debugreiserfs -d /dev/loop3 shows me this:

debugreiserfs 3.6.11 (2003 www.namesys.com)
 
 
Filesystem state: consistency is not checked after last mounting
 
Reiserfs super block in block 16 on 0x703 of format 3.6 with standard journal
Count of blocks on the device: 24492
Number of bitmaps: 1
Blocksize: 4096
Free blocks (count of blocks - used [journal, bitmaps, data, reserved] blocks): 24492
Root block: 0
Filesystem is cleanly umounted
Tree height: 65535
Hash function used to sort names: "r5"
Objectid map size 2, max 972
Journal parameters:
        Device [0x0]
        Magic [0x9cdd049]
        Size 8193 blocks (including 1 for journal header) (first block 18)
        Max transaction length 1024 blocks
        Max batch size 900 blocks
        Max commit age 30
Blocks reserved by journal: 0
Fs state field: 0xfa02:
        FATAL corruptions exist.
sb_version: 2
inode generation number: 0
UUID: 7691903f-ec2b-4c06-9cf2-eaa545c7db77
LABEL: Haspa-Banking
Set flags in SB:
        ATTRIBUTES CLEAN
65534 expected, 0 found in 0
Block 0 contains unformatted data
print_disk_tree: bad block type (level=0, nr_items=0, free_space=0 rdkey)
File system uses 0 internal + 0 leaves + 0 unformatted nodes = 0 blocks

So, how can I safely fix the image? Or restore needed data (like my Online Banking Keyfile)

Chears,
  Roland Häder


                 reply	other threads:[~2003-09-07 12:23 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=200309071423.56015.webmaster@autoinstaller.de \
    --to=webmaster@autoinstaller.de \
    --cc=reiserfs-list@namesys.com \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.