Skip to contentSkip to conversation

Rescue cds for fsck'ing reiser4?

DISCUSSION Clemens Eisserer 2 participants 4 messages Dec 15, 2006 – Dec 16, 2006 3 messages not in the archive

lore
Share & tools
lore
#0 lore raw

Hi there,

Because I am using Reiser4 for "/" there is no way for me to check it as far as I know - without booting from an rescue cd.

Does anybody know a rescue-cd distribution or something like that which allows to exchange their kernel easily - so that I maybe could cange my data even if I can't boot anymore? I use cryptocompress so I am not hoping for some out-of-the-box solution which could help here ;)

lg Clemens

A message that is not in the archive (sent off-list or not yet received): [email protected]

#2 lore raw

Hi again,

Quoted 6 lines

1. make sure you have reiser4progs-1.0.6 installed
2. close all applications.
3. start single mode (init 1).
4. remount root partition to "readonly".
5. run fsck.reiser4 root_device_name (if you use cryptcompress, then pass options -n --fix for the first run).

Ooops. I did not pass the -n --fix options first, but let fsck.reiser4 run without any additional options - it stopped with 2 corruptions. I decided not to do anything further because I already lost data with reiser3's fsck.reiser.

When rebooting mount claims that it will only load reiser4 read-only because it contains errors but it ends up that it can't be mounted at all.

Now I tried to re-run with exactly the options you gave me (I had a disk with the same kernel / toolset laying arround) gut it bails out with "1 fatal corruption was found". It says the storage tree does not exist.

Any options to get my data back without rebuilding the filesystem. How likely is it to get my data back if I choose to rebuild it. I wrote some quite tricky pieces of code lately ... would be sad to loose them :-/

Thank you in advance, lg Clemens

A message that is not in the archive (sent off-list or not yet received): [email protected]

#4 lore raw

Hi again,

Quoted 1 line

Something was wrong with the system, or you just decided to check your fs?

Well I missed some files from time to time but did not further care. And then suddenly X11 crashed when starting an OpenGL app (I changed nothing), but reinstalling the driver helped. So I guess, yes, the filesystem seemed to be a little inconsistent - therefor I decided to run fsck.

However I never agreed that fsck should change oder alter anything, I just wanted to know wether there are corruptions. Now I cannot even mount it :-/

Is it a good idea to let fsck rebuild the fs?

Thank you in advance, lg Clemens

Quoted 24 lines
Quoted 22 lines

I
decided not to do anything further because I already lost data with reiser3's fsck.reiser.

When rebooting mount claims that it will only load reiser4 read-only because it contains errors but it ends up that it can't be mounted at all.

Now I tried to re-run with exactly the options you gave me (I had a disk with the same kernel / toolset laying arround) gut it bails out with "1 fatal corruption was found". It says the storage tree does not exist.

Any options to get my data back without rebuilding the filesystem. How likely is it to get my data back if I choose to rebuild it. I wrote some quite tricky pieces of code lately ... would be sad to loose them :-/

Thank you in advance, lg Clemens

A message that is not in the archive (sent off-list or not yet received): [email protected]

#6 lore raw

When I was having different and obviously filesystem problems, booting up with a reiser4-enabled livecd and rebuilding the tree fixed my fs. This is of course only a very small piece of anecdotal evidence regarding the reliability of fsck.reiser4's ability to fix the filesystem.

Did you check dmesg for file access or write problems? That will tell you if the problem is really the filesystem. The crashes could have been due to other problems (on from-source distros, reverse dependencies often need to be rebuilt to fix linking).

The CD I used was the Conrad livecd--http://www.elfenbeinturm.cc/download/. SystemrescueCD also has r4 support.

Chris