Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
My reiser4 partition died![solved]
View unanswered posts
View posts from last 24 hours

Goto page 1, 2  Next  
Reply to topic    Gentoo Forums Forum Index Unsupported Software
View previous topic :: View next topic  
Author Message
Matheus Villela
Apprentice
Apprentice


Joined: 25 Oct 2003
Posts: 262

PostPosted: Wed Aug 03, 2005 9:49 pm    Post subject: My reiser4 partition died![solved] Reply with quote

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
View user's profile Send private message
codergeek42
Bodhisattva
Bodhisattva


Joined: 05 Apr 2004
Posts: 5142
Location: Anaheim, CA (USA)

PostPosted: Wed Aug 03, 2005 9:54 pm    Post subject: Reply with quote

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
View user's profile Send private message
Matheus Villela
Apprentice
Apprentice


Joined: 25 Oct 2003
Posts: 262

PostPosted: Wed Aug 03, 2005 10:05 pm    Post subject: Reply with quote

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
View user's profile Send private message
Saundersx
Apprentice
Apprentice


Joined: 11 Apr 2005
Posts: 160

PostPosted: Thu Aug 04, 2005 3:24 am    Post subject: Reply with quote

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
View user's profile Send private message
lavacano
Apprentice
Apprentice


Joined: 29 May 2005
Posts: 180
Location: Poulsbo, WA

PostPosted: Thu Aug 04, 2005 3:32 am    Post subject: Reply with quote

reiser4 is the offender not mm. dont use reiser4, its known yet again to poke eyes out.
_________________
Sincerely,

Chadwick Ferguson
Back to top
View user's profile Send private message
bollucks
l33t
l33t


Joined: 27 Oct 2004
Posts: 606

PostPosted: Thu Aug 04, 2005 7:23 am    Post subject: Reply with quote

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
View user's profile Send private message
dev-urandom
Apprentice
Apprentice


Joined: 24 Jun 2005
Posts: 260
Location: Huh?

PostPosted: Thu Aug 04, 2005 7:47 am    Post subject: Reply with quote

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
View user's profile Send private message
Jake
Veteran
Veteran


Joined: 31 Jul 2003
Posts: 1128

PostPosted: Thu Aug 04, 2005 2:44 pm    Post subject: Reply with quote

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
View user's profile Send private message
dev-urandom
Apprentice
Apprentice


Joined: 24 Jun 2005
Posts: 260
Location: Huh?

PostPosted: Thu Aug 04, 2005 5:02 pm    Post subject: Reply with quote

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
View user's profile Send private message
Jake
Veteran
Veteran


Joined: 31 Jul 2003
Posts: 1128

PostPosted: Thu Aug 04, 2005 6:52 pm    Post subject: Reply with quote

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
View user's profile Send private message
Matheus Villela
Apprentice
Apprentice


Joined: 25 Oct 2003
Posts: 262

PostPosted: Thu Aug 04, 2005 7:42 pm    Post subject: Reply with quote

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 :D
Back to top
View user's profile Send private message
Gentoonie
Apprentice
Apprentice


Joined: 06 Apr 2004
Posts: 205
Location: near Munich | Bavaria | Germany

PostPosted: Thu Aug 04, 2005 7:47 pm    Post subject: Reply with quote

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 :D


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
View user's profile Send private message
Gentree
Watchman
Watchman


Joined: 01 Jul 2003
Posts: 5077
Location: France, Old Europe

PostPosted: Thu Aug 18, 2005 2:36 pm    Post subject: Reply with quote

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. 8)
_________________
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
View user's profile Send private message
Jake
Veteran
Veteran


Joined: 31 Jul 2003
Posts: 1128

PostPosted: Thu Aug 18, 2005 3:30 pm    Post subject: Reply with quote

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
View user's profile Send private message
Gentree
Watchman
Watchman


Joined: 01 Jul 2003
Posts: 5077
Location: France, Old Europe

PostPosted: Thu Aug 18, 2005 3:48 pm    Post subject: Reply with quote

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 :wink:

Thanks, 8)
_________________
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
View user's profile Send private message
Jake
Veteran
Veteran


Joined: 31 Jul 2003
Posts: 1128

PostPosted: Thu Aug 18, 2005 4:19 pm    Post subject: Reply with quote

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
View user's profile Send private message
Gentree
Watchman
Watchman


Joined: 01 Jul 2003
Posts: 5077
Location: France, Old Europe

PostPosted: Thu Aug 18, 2005 4:43 pm    Post subject: Reply with quote

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. 8)
_________________
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
View user's profile Send private message
Jake
Veteran
Veteran


Joined: 31 Jul 2003
Posts: 1128

PostPosted: Thu Aug 18, 2005 5:16 pm    Post subject: Reply with quote

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. 8)

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
View user's profile Send private message
juliebread
n00b
n00b


Joined: 06 Feb 2005
Posts: 8

PostPosted: Sun Jan 08, 2006 8:16 pm    Post subject: Reply with quote

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 :D


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
View user's profile Send private message
Gentree
Watchman
Watchman


Joined: 01 Jul 2003
Posts: 5077
Location: France, Old Europe

PostPosted: Sun Jan 08, 2006 8:28 pm    Post subject: Reply with quote

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" :wink:

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. 8)
_________________
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
View user's profile Send private message
RobNyc
Tux's lil' helper
Tux's lil' helper


Joined: 11 Oct 2005
Posts: 101
Location: NYC

PostPosted: Sun Jan 08, 2006 9:25 pm    Post subject: Reply with quote

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
View user's profile Send private message
Gentree
Watchman
Watchman


Joined: 01 Jul 2003
Posts: 5077
Location: France, Old Europe

PostPosted: Sun Jan 08, 2006 11:08 pm    Post subject: Reply with quote

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. :evil:

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.

8)
_________________
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
View user's profile Send private message
RobNyc
Tux's lil' helper
Tux's lil' helper


Joined: 11 Oct 2005
Posts: 101
Location: NYC

PostPosted: Mon Jan 09, 2006 2:27 am    Post subject: Reply with quote

I myself am starting to just use R4 or ext3 instead of RFS .
_________________
Thank You
Back to top
View user's profile Send private message
Gentree
Watchman
Watchman


Joined: 01 Jul 2003
Posts: 5077
Location: France, Old Europe

PostPosted: Mon Jan 09, 2006 9:14 am    Post subject: Reply with quote

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.

8)
_________________
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
View user's profile Send private message
matobsk
n00b
n00b


Joined: 16 Oct 2005
Posts: 64

PostPosted: Mon Jan 09, 2006 7:05 pm    Post subject: Reply with quote

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 :lol:

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
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Unsupported Software All times are GMT
Goto page 1, 2  Next
Page 1 of 2

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum