reiserfsck segmentation fault
Hello all,
I just encountered a major problem with one of my reiserfs-filesystems. I had to reinstall my SuSE 8.0-Linux over an existing one (which had some problems that have nothing to do with the problem described here). I told the setup not to format anything rather leave all filesystems as they were and mount the root filesystem "/" to the same partition as before. The setup wouldn't let me enter a mountpoint for the important "data partition" (hdb3) formatted with reiserfs, so I simply left it alone.
Everything seemed to be ok afterwards, after a reboot my old data partition had been mounted under "/data2". I changed that by editing "/etc/fstab". There I changed the mountpount from "/data2" to "/server2" which was the mountpoint the partition had before the installation. While applying the change to fstab with yast2 the system froze. Therefore I had to reboot.
After that reboot, the system wouldn't recognize the partition anymore. reiserfsck told me that it couldn't find any reiserfs-partition on hdb3. So I rebuilt the superblock with reiserfsck. I hope that I chose the right "version" from the ones that reiserfsck offered me, at least I remembered that it used to be a 3.5-partition.
Now I try to use reiserfsck for rebuilding the tree.
I enter "reiserfsck --rebuild-tree /dev/hdb3"
It gives me a segmentation fault after saying
"Loading on-disk bitmap ..ok, 16828156 blocks marked used".
I am using reiserfsck 3.x.1b.
The harddisk is a Maxtor 4G160J8 with 160 gigabyte storage space. It is supported by both the kernel (2.4.18) and the BIOS.
Can anyone help?
Thanks
Peter
Hello!
Quoted 1 line · Linux PCH EDV
I am using reiserfsck 3.x.1b.
First you should try reiserfsprogs 3.6.3 from our ftp site. If that does not work, we are all ears.
Bye,
Oleg
Hello Oleg,
thanks for the advice, reiserfsck (3.6.3) is working heavily now - lets hope it can rebuild the content of the partition. But another question arises for me: As I pointed out in my first posting, I had to do a "reiserfsck --rebuild-sb" first before the partition was even recognized as an reiserfs one. As I said, I wasn't sure which version of the fs I had. How dangerous is it to choose a wrong "3.5.x"-version at that point? The only thing that I am sure of is that it wasn't a 3.6 version.
Thanks
Peter
Hello!
Quoted 8 lines · Peter Herklotz
thanks for the advice, reiserfsck (3.6.3) is working heavily now - lets hope it can rebuild the content of the partition. But another question arises for me: As I pointed out in my first posting, I had to do a "reiserfsck --rebuild-sb" first before the partition was even recognized as an reiserfs one. As I said, I wasn't sure which version of the fs I had. How dangerous is it to choose a wrong "3.5.x"-version at that point? The only thing that I am sure of is that it wasn't a 3.6 version.
wrong 3.5 version is dangerous because they have different bitmaps layout.
Bye,
Oleg