Skip to contentSkip to conversation

Identify Superblock

DISCUSSION Markus Hiereth 2 participants 2 messages Sep 22, 2005

lore
Share & tools
lore
#0 lore raw

Hello,

as YaST and fdisk showed different output for the partions of my hard-disk, I got confused and lost the correct start point for my partition /dev/hda5.

Recreation of superblocks by reiserfsck --rebuild-sb creates a superblock, but afterwards, --rebuild-tree terminates with a message that no metadata can be found.

Now I am trying to find out which of the blocks is the superblock. I made first attempts with
a) copying using the command dd and then
b) use of grep ReIsEr2Fs as search string on blocks of 4096 bytes.

Techical background information
reiserfs: 3.6.9
Kernel: 2.4.21
Hard disk: Maxtor 9084006

Is this a possible approach?

Thanks for Your help
Markus Hiereth

Braunschweig, Germany

#1 lore raw
Quoted 15 lines · Markus Hiereth

Hello,

as YaST and fdisk showed different output for the partions of my hard-disk, I got confused and lost the correct start point for my partition /dev/hda5.

Recreation of superblocks by reiserfsck --rebuild-sb creates a superblock, but afterwards, --rebuild-tree terminates with a message that no metadata can be found.

Now I am trying to find out which of the blocks is the superblock. I made first attempts with
a) copying using the command dd and then
b) use of grep ReIsEr2Fs as search string on blocks of 4096 bytes.

Quoted 6 lines

Techical background information
reiserfs: 3.6.9
Kernel: 2.4.21
Hard disk: Maxtor 9084006

Is this a possible approach?

yes, although there are many SB copies in the journal area. the magic string of the correct SB is on 64K + 52 bytes offset. if you need our assistance here please visit:
www.namesys.com/support.html

Quoted 6 lines

Thanks for Your help
Markus Hiereth

Braunschweig, Germany

Signature · 2 lines
Thanks,
Vitaly Fertman