Skip to contentSkip to conversation

reiserfsck

DISCUSSION Peter Herklotz 2 participants 4 messages Aug 22, 2002

lore
Share & tools
lore
#0 lore raw

Hello,

how would I know which version of fs 3.5 I use(d)? The filesystem on that partition was created using SuSE Linux 7.3.
If I made a wrong choice of the superblock version using "reiserfsck --rebuild-sb" can I correct it afterwards?
At the moment "reiserfsck --rebuild-tree" does not find ANY data on the partition. It is telling me
'Could not find hash in use. Using "r5"
"r5" hash is selected'

and then doesn't find anything.

I am quite clueless what to try now.

Thanks
Peter

#1 lore raw
Quoted 12 lines · Peter Herklotz

Hello,

how would I know which version of fs 3.5 I use(d)? The filesystem on that partition was created using SuSE Linux 7.3.

If I made a wrong choice of the superblock version using "reiserfsck --rebuild-sb" can I correct it afterwards?
At the moment "reiserfsck --rebuild-tree" does not find ANY data on the partition. It is telling me
'Could not find hash in use. Using "r5"
"r5" hash is selected'

Quoted 6 lines

and then doesn't find anything.

I am quite clueless what to try now.

Thanks
Peter

Could you tell what you answered here

what is version of ReiserFS you use[1-4]
(1) 3.6.x
(2) >=3.5.9
(3) < 3.5.9 converted to new format
(4) < 3.5.9
(X) exit

If you mkreiserfs by default from SuSe 7.3 you should have >=3.5.9. It would be easy to say what is going on if you send the reiserfsck output and its logfile (-l option).

Let's check whether you have some data on the partition or not. Could you run ./debugreiserfs/debugreiserfs -D /dev/hdb3 > hdb3.meta
If it prints a lot of LEAF NODEs, you have.

Signature · 2 lines
Thanks,
Vitaly Fertman
#2 lore raw

Hello,

Quoted 9 lines

Could you tell what you answered here

what is version of ReiserFS you use[1-4]
(1) 3.6.x
(2) >=3.5.9
(3) < 3.5.9 converted to new format
(4) < 3.5.9
(X) exit

Quoted 3 lines

If you mkreiserfs by default from SuSe 7.3 you should have >=3.5.9. It would be easy to say what is going on if you send the reiserfsck output and its logfile (-l option).

I opted for "(2) >=3.5.9" which - after having read your answer - seems to have been to be the right choice since I installed the fs with default options from SuSE 7.3.

The output from the log is:

####### Pass 0 #######
Could not find hash in use. Using "r5"
####### Pass 1 #######
####### Pass 2 #######

Quoted 3 lines

Let's check whether you have some data on the partition or not. Could you run ./debugreiserfs/debugreiserfs -D /dev/hdb3 > hdb3.meta
If it prints a lot of LEAF NODEs, you have.

No, it simply tells me:
'Loading on-disk bitmap .. 9372 bits set' Then it "counts" from 0 to 100 percent - that's it.

What might have happened here? Seems quite mysterious to me.

Thanks
Peter

#3 lore raw
Quoted 30 lines · Peter Herklotz

Hello,

Quoted 9 lines

Could you tell what you answered here

what is version of ReiserFS you use[1-4]
(1) 3.6.x
(2) >=3.5.9
(3) < 3.5.9 converted to new format
(4) < 3.5.9
(X) exit

Quoted 3 lines

If you mkreiserfs by default from SuSe 7.3 you should have >=3.5.9. It would be easy to say what is going on if you send the reiserfsck output and its logfile (-l option).

I opted for "(2) >=3.5.9" which - after having read your answer - seems to have been to be the right choice since I installed the fs with default options from SuSE 7.3.

The output from the log is:

####### Pass 0 #######
Could not find hash in use. Using "r5"
####### Pass 1 #######
####### Pass 2 #######

Quoted 3 lines

Let's check whether you have some data on the partition or not. Could you run ./debugreiserfs/debugreiserfs -D /dev/hdb3 > hdb3.meta
If it prints a lot of LEAF NODEs, you have.

Quoted 5 lines

No, it simply tells me:
'Loading on-disk bitmap .. 9372 bits set' Then it "counts" from 0 to 100 percent - that's it.

What might have happened here? Seems quite mysterious to me.

So the file hdb3.meta is empty? If the following command produce the empty hdb3.meta file again, then reiserfs metadata were wiped out somehow:
./debugreiserfs/debugreiserfs -D -S /dev/hdb3 > hdb3.meta

Signature · 2 lines
Thanks,
Vitaly Fertman