| View previous topic :: View next topic |
| Author |
Message |
Matheus Villela Apprentice


Joined: 25 Oct 2003 Posts: 262
|
Posted: Wed Aug 03, 2005 9:49 pm Post subject: My reiser4 partition died![solved] |
|
|
Hello.
I don't know why, but i added "sys aceleration" in my mm sources just to see if it solves an agp-bridge problem, and when i rebooted(after running lilo of course) i couldn't mount my partition anymore(kernel panic).
The problem prabably was on the kernel change anyway =/
So i botted in my second Gentoo linux instalation(which i'm now) and tryied _eveything_ to fix the partiton but whit no luck
debugfs.reiser4 -C /dev/hdb1
fsck.reiser4 /dev/hdb1
fsck.reiser4 --fix /dev/hdb1
fsck.reiser4 --build-sb /dev/hdb1
fsck.reiser4 --build-fs /dev/hdb1
And it always says something like that there's a problem on the "root node" and can't fix the partition.
Probably i'll not be able to recover the partition and i'm not expecting this, so i tried to recover my files because there are lot of things that i NEED to recover. I tried with the
debugfs.reiser4 -k /path/to/file /dev/hdb1
It's ok with _small_ files, it sends to stdout the content but whem i try a file above 64kbytes debugfs.reiser4 segdefaults =/
Does someone have any idea of how can i recover my files?
Last edited by Matheus Villela on Thu Aug 04, 2005 8:54 pm; edited 1 time in total |
|
| Back to top |
|
 |
codergeek42 Bodhisattva

Joined: 05 Apr 2004 Posts: 5142 Location: Anaheim, CA (USA)
|
Posted: Wed Aug 03, 2005 9:54 pm Post subject: |
|
|
Do you have backups? Reiser4 isn't widely known for its integrity, to put it nicely.  _________________ ~~ Peter: Brony, GNU/Linux geek, caffeine addict, and Free Software advocate.
Who am I? :: EFF & FSF |
|
| Back to top |
|
 |
Matheus Villela Apprentice


Joined: 25 Oct 2003 Posts: 262
|
Posted: Wed Aug 03, 2005 10:05 pm Post subject: |
|
|
| codergeek42 wrote: | Do you have backups? Reiser4 isn't widely known for its integrity, to put it nicely.  |
I knew about reiser4 unstability but didn't did backups, my bad. I was 1 year with reiser4 without major problems anyway, sometime this would happen :'( |
|
| Back to top |
|
 |
Saundersx Apprentice

Joined: 11 Apr 2005 Posts: 160
|
Posted: Thu Aug 04, 2005 3:24 am Post subject: |
|
|
Oh man, I just got on here to write the exact thing Reiser4 blew up and took EVERYTHING with it earlier today. I did all the same steps, it scanned everything, then I was rewarded with this.
| Code: | | NO REISER4 METADATA WERE FOUND. FS RECOVERY IS NOT POSSIBLE. |
Anyway I'm quite annoyed that one small part of the drive can blow up (the superblock I believe it initally said was gone) and the rest of the 160g partition is assumed to be scrambled eggs. Now is there ANY method to try and get the files back? Any tricks to reading and reassembing the files back from the drive?
ps. I'm using 2.6.12-mm2, is this a known offender?
pps. besides backing things up (luckly I backed up everything that was key) is there any way to help prevent this from happening when using reiser4? I saw this in debugfs.reiser4 '--pack-metadata / --unpack-metadata'. |
|
| Back to top |
|
 |
lavacano Apprentice


Joined: 29 May 2005 Posts: 180 Location: Poulsbo, WA
|
Posted: Thu Aug 04, 2005 3:32 am Post subject: |
|
|
reiser4 is the offender not mm. dont use reiser4, its known yet again to poke eyes out. _________________ Sincerely,
Chadwick Ferguson |
|
| Back to top |
|
 |
bollucks l33t

Joined: 27 Oct 2004 Posts: 606
|
Posted: Thu Aug 04, 2005 7:23 am Post subject: |
|
|
| While reiser4 is known to be the offender here, it is also true that reiser3 has no backup of the superblock so corruption there cannot be fscked. |
|
| Back to top |
|
 |
dev-urandom Apprentice


Joined: 24 Jun 2005 Posts: 260 Location: Huh?
|
Posted: Thu Aug 04, 2005 7:47 am Post subject: |
|
|
Have you tried building your journal metadata to another file? It does work.
| bollucks wrote: | | While reiser4 is known to be the offender here, it is also true that reiser3 has no backup of the superblock so corruption there cannot be fscked. |
_________________ /earth: file system full. |
|
| Back to top |
|
 |
Jake Veteran

Joined: 31 Jul 2003 Posts: 1128
|
Posted: Thu Aug 04, 2005 2:44 pm Post subject: |
|
|
| I wonder if these problems are related to the recent plugin set change. Supposedly if you used a kernel with the new plugins, old kenrels would be unable to read your reiser4 filesystems, and reiser4progs 1.0.4 or earlier would be broken to some unspecified degree. |
|
| Back to top |
|
 |
dev-urandom Apprentice


Joined: 24 Jun 2005 Posts: 260 Location: Huh?
|
Posted: Thu Aug 04, 2005 5:02 pm Post subject: |
|
|
| Jake wrote: | | I wonder if these problems are related to the recent plugin set change. Supposedly if you used a kernel with the new plugins, old kenrels would be unable to read your reiser4 filesystems, and reiser4progs 1.0.4 or earlier would be broken to some unspecified degree. |
They also provided a migration utility to convert the filesystem. I thought that it would have taken care of this. _________________ /earth: file system full. |
|
| Back to top |
|
 |
Jake Veteran

Joined: 31 Jul 2003 Posts: 1128
|
Posted: Thu Aug 04, 2005 6:52 pm Post subject: |
|
|
| dev-urandom wrote: | | They also provided a migration utility to convert the filesystem. I thought that it would have taken care of this. |
I didn't see anything on the mailing list about a migration utility. This isn't the 1.0.0 superblock backup change; it's something related to compression and encryption that was changed in the last few weeks. It should only cause problems if you use an old kernel or fsck 1.0.4 on an fs that's been mounted with the new plugin set. |
|
| Back to top |
|
 |
Matheus Villela Apprentice


Joined: 25 Oct 2003 Posts: 262
|
Posted: Thu Aug 04, 2005 7:42 pm Post subject: |
|
|
| Jake wrote: | | I wonder if these problems are related to the recent plugin set change. Supposedly if you used a kernel with the new plugins, old kenrels would be unable to read your reiser4 filesystems, and reiser4progs 1.0.4 or earlier would be broken to some unspecified degree. |
OMG YOU ARE TEH MAN!
Many thanks for you, the problem was exactly that.
So whem i tried with an older kernel i couldn't boot and and whem i tried with a new one i also couldn't... but the problem aparently was with the devfs drop from the kernel.
Thanks, thanks and thanks again, iwouldn't think that was that the problem, now i have my files and i'm happy  |
|
| Back to top |
|
 |
Gentoonie Apprentice


Joined: 06 Apr 2004 Posts: 205 Location: near Munich | Bavaria | Germany
|
Posted: Thu Aug 04, 2005 7:47 pm Post subject: |
|
|
| Matheus Villela wrote: | | Jake wrote: | | I wonder if these problems are related to the recent plugin set change. Supposedly if you used a kernel with the new plugins, old kenrels would be unable to read your reiser4 filesystems, and reiser4progs 1.0.4 or earlier would be broken to some unspecified degree. |
OMG YOU ARE TEH MAN!
Many thanks for you, the problem was exactly that.
So whem i tried with an older kernel i couldn't boot and and whem i tried with a new one i also couldn't... but the problem aparently was with the devfs drop from the kernel.
Thanks, thanks and thanks again, iwouldn't think that was that the problem, now i have my files and i'm happy  |
first thing you should do now is a backup... _________________ Do you know the secret hand shake - you best use it.
GCC 4, Kernel 2.6.14-ck7, NPTL |
|
| Back to top |
|
 |
Gentree Watchman


Joined: 01 Jul 2003 Posts: 5077 Location: France, Old Europe
|
Posted: Thu Aug 18, 2005 2:36 pm Post subject: |
|
|
| Jake wrote: |
I didn't see anything on the mailing list about a migration utility. This isn't the 1.0.0 superblock backup change; it's something related to compression and encryption that was changed in the last few weeks. It should only cause problems if you use an old kernel or fsck 1.0.4 on an fs that's been mounted with the new plugin set. |
What are these plugins you refer to?
I have a kernel that uses 1.0.4 support and currently have reiser4progs-1.0.4 , I saw the latter now is available at 1.0.5 and came here looking for possible issues before upgrading.
It seemed that having the tools ahead of the kernel support was asking for trouble.
Looks like that was a good guess. (So no more snears from R4 detractors please).
TIA.  _________________ Linux, because I'd rather own a free OS than steal one that's not worth paying for.
KX7-333 , AthlonXP1800+ @2.3GHz
AthlonXP-M on A7N8X @ 2.6/2.4GHz (winter/summer)
2.6.32-hh1 : portage ~x86 |
|
| Back to top |
|
 |
Jake Veteran

Joined: 31 Jul 2003 Posts: 1128
|
Posted: Thu Aug 18, 2005 3:30 pm Post subject: |
|
|
| Gentree wrote: | It seemed that having the tools ahead of the kernel support was asking for trouble.
Looks like that was a good guess. (So no more snears from R4 detractors please). |
progs > kernel wouldn't have been a problem, and as far as I know, cryptcompress still isn't usable. |
|
| Back to top |
|
 |
Gentree Watchman


Joined: 01 Jul 2003 Posts: 5077 Location: France, Old Europe
|
Posted: Thu Aug 18, 2005 3:48 pm Post subject: |
|
|
| Quote: | | It should only cause problems if you use an old kernel or fsck 1.0.4 on an fs that's been mounted with the new plugin set. |
you seem to be quite up on this so thanks for the posts but I still dont get what you are saying may give problems. Again what is this "plugin set" ?
Please explain this bearing in mind that we dont all subscribe to the reiser4 developers mailing list
Thanks,  _________________ Linux, because I'd rather own a free OS than steal one that's not worth paying for.
KX7-333 , AthlonXP1800+ @2.3GHz
AthlonXP-M on A7N8X @ 2.6/2.4GHz (winter/summer)
2.6.32-hh1 : portage ~x86 |
|
| Back to top |
|
 |
Jake Veteran

Joined: 31 Jul 2003 Posts: 1128
|
Posted: Thu Aug 18, 2005 4:19 pm Post subject: |
|
|
| plugins are one of the killer features of reiser4. Supposedly everything is modularized, making it really easy to work on parts of the FS without disrupting other parts. Critics of reiser4 say that plugins duplicate VFS features. You can read more here. The problem, as I understand it, was that the addition of cryptcompress plugins confused fsck 1.0.4. The problem wasn't addressed very well on the list either. |
|
| Back to top |
|
 |
Gentree Watchman


Joined: 01 Jul 2003 Posts: 5077 Location: France, Old Europe
|
Posted: Thu Aug 18, 2005 4:43 pm Post subject: |
|
|
| Hans Reiser wrote: | E.Gryaznova wrote:
> Notification:
>
> The reiser4 format was changed in reiser4-for-2.6.11-5.patch and new
> reiser4 kernel code is able to handle the old format.
>
> The reiser4progs-1.0.4 are not able to handle the format changes. The
> fix for reiser4progs will be ready next week.
>
> Thanks,
> Lena
>
>
>
I would like to apologize to the users for this, it should not have been
done this way. |
So it looks like <reiser4progs-1.0.5 does not work with 2.6.11-5 kernel , 2.6.12-nitro5 seems to have this covered.
Conclusion : keep away from bleeding edges if you dont want blood on your hands.  _________________ Linux, because I'd rather own a free OS than steal one that's not worth paying for.
KX7-333 , AthlonXP1800+ @2.3GHz
AthlonXP-M on A7N8X @ 2.6/2.4GHz (winter/summer)
2.6.32-hh1 : portage ~x86 |
|
| Back to top |
|
 |
Jake Veteran

Joined: 31 Jul 2003 Posts: 1128
|
Posted: Thu Aug 18, 2005 5:16 pm Post subject: |
|
|
| Gentree wrote: | So it looks like <reiser4progs-1.0.5 does not work with 2.6.11-5 kernel , 2.6.12-nitro5 seems to have this covered.
Conclusion : keep away from bleeding edges if you dont want blood on your hands.  |
Actually, there was a 1.0.4.1 release that fixed the problem before 1.0.5, and from what I can tell, 2.6.12-nitro5 has a reiser4 patch newer than 2.6.11-5. I agree with your conclusion though. |
|
| Back to top |
|
 |
juliebread n00b


Joined: 06 Feb 2005 Posts: 8
|
Posted: Sun Jan 08, 2006 8:16 pm Post subject: |
|
|
| Matheus Villela wrote: | | Jake wrote: | | I wonder if these problems are related to the recent plugin set change. Supposedly if you used a kernel with the new plugins, old kenrels would be unable to read your reiser4 filesystems, and reiser4progs 1.0.4 or earlier would be broken to some unspecified degree. |
OMG YOU ARE TEH MAN!
Many thanks for you, the problem was exactly that.
So whem i tried with an older kernel i couldn't boot and and whem i tried with a new one i also couldn't... but the problem aparently was with the devfs drop from the kernel.
Thanks, thanks and thanks again, iwouldn't think that was that the problem, now i have my files and i'm happy  |
I'm new to this thread, but I seem to have the same problem. I'm a little confused about the steps you took to recover your files.
FYI, here is an email I sent to the ReiserFS mailing list detailing my problem.
http://marc.theaimsgroup.com/?l=reiserfs&m=113660562729068&w=2 |
|
| Back to top |
|
 |
Gentree Watchman


Joined: 01 Jul 2003 Posts: 5077 Location: France, Old Europe
|
Posted: Sun Jan 08, 2006 8:28 pm Post subject: |
|
|
See this thread to save repetition here: http://forums.gentoo.org/viewtopic.php?p=2994987#2994987
I covered how I recovered my partition. This is not a tutorial it's a "serving suggestion"
I think it makes sense from what I have been able to read but I have no knowlege of the code or how the guts of R4 works.
I think it is valid and it worked for me, YMMV.
From what I saw on the R4 ML reiser4progs-1.0.3 may work as well but I have not tried. I would suggest you follow the above post first.
Post back to that thread if you have comment.
Good luck.  _________________ Linux, because I'd rather own a free OS than steal one that's not worth paying for.
KX7-333 , AthlonXP1800+ @2.3GHz
AthlonXP-M on A7N8X @ 2.6/2.4GHz (winter/summer)
2.6.32-hh1 : portage ~x86 |
|
| Back to top |
|
 |
RobNyc Tux's lil' helper


Joined: 11 Oct 2005 Posts: 101 Location: NYC
|
Posted: Sun Jan 08, 2006 9:25 pm Post subject: |
|
|
Anyone seen the speed difference with reiser4, reiserfs, and ext3 ?
I've seen reiser4 blazin fast leavin the others behind _________________ Thank You |
|
| Back to top |
|
 |
Gentree Watchman


Joined: 01 Jul 2003 Posts: 5077 Location: France, Old Europe
|
Posted: Sun Jan 08, 2006 11:08 pm Post subject: |
|
|
| RobNyc wrote: | Anyone seen the speed difference with reiser4, reiserfs, and ext3 ?
I've seen reiser4 blazin fast leavin the others behind |
Well without getting too exited about it , I would say R4 is faster overall than ext3, although it does not blow my hat off it probably saves me a few seconds every day.
However, chasing down this issue and fixing it probably cost me the best part of a day.
Seems Herr Reiser sometimes forgets that ppl are actually using his fs for data as well as benchmarking.
reiserfs fragments badly with use and becomes very slow.
I no longer user r3.6, I still like R4 for it's atomic writes. Despite his complete disregard of the need for compatability between minor versions the underlying technology is very good.
 _________________ Linux, because I'd rather own a free OS than steal one that's not worth paying for.
KX7-333 , AthlonXP1800+ @2.3GHz
AthlonXP-M on A7N8X @ 2.6/2.4GHz (winter/summer)
2.6.32-hh1 : portage ~x86 |
|
| Back to top |
|
 |
RobNyc Tux's lil' helper


Joined: 11 Oct 2005 Posts: 101 Location: NYC
|
Posted: Mon Jan 09, 2006 2:27 am Post subject: |
|
|
I myself am starting to just use R4 or ext3 instead of RFS . _________________ Thank You |
|
| Back to top |
|
 |
Gentree Watchman


Joined: 01 Jul 2003 Posts: 5077 Location: France, Old Europe
|
Posted: Mon Jan 09, 2006 9:14 am Post subject: |
|
|
I would recomend keeping root on ext3 to be sure it wont disappear next time you change your kernel .
Otherwise keep a recent clone of your root partition on another fs.
I have a fallback partition I can boot to in times of trouble . It's a lot quicker than hacking about with live CDs to recover a broken system.
You will of course need an R4 capable CD to do the copy.
There are several that handle the old R4 1.0.4 format , which is part of the reason I have locked my system to that version.
If you find yourself with 1.0.5 there is the archie mini distro liveCD that recognises the newer format.
 _________________ Linux, because I'd rather own a free OS than steal one that's not worth paying for.
KX7-333 , AthlonXP1800+ @2.3GHz
AthlonXP-M on A7N8X @ 2.6/2.4GHz (winter/summer)
2.6.32-hh1 : portage ~x86 |
|
| Back to top |
|
 |
matobsk n00b

Joined: 16 Oct 2005 Posts: 64
|
Posted: Mon Jan 09, 2006 7:05 pm Post subject: |
|
|
I've been using reiser 4 as my / partition for a little over 6 months now, with no issues at all.
Apparently I've been very lucky thus far
I can, however, attest to the fragmenting problem. With each new file downloaded and new package merged, I can actually feel my system getting slower and slower.
I think I'm going to finish this emerge -u world and start making preparations to clone this partition and drop it onto a new XFS or ext3 filesystem.
Really too bad, this fs was blazing fast when I first started using it. All they need to do is re-release the repacker and I'd be good to go  |
|
| Back to top |
|
 |
|