Re: [gentoo-user] Reiserfs meltdown

2006-07-18 Thread Mick
On Tuesday 18 July 2006 06:17, Bryan Whitehead wrote:
 On Mon, 17 Jul 2006, Ralph Slooten wrote:
  -BEGIN PGP SIGNED MESSAGE-
  Hash: SHA1
 
  Hiya list,
 
  Just need some opinions here, and am not looking for a raving flame-war
  regarding which file system is better etc ;-) ~ Oh and please excuse the
  long mail, but I need explain my situation clearly to avoid confusion.

 [snip]

 I've had this happen to me a number of times... I'm now a happy XFS
 user. :)

 /flamestart ;) 

No flamestart, but . . .

I have had the opposite experience:  reiserfs surviving happily multiple 
lockups due to faulty memory with no fs corruption.  Installed /usr on an xfs 
(laptop) and after a couple of hard reboots it was borked!  This has happened 
a number of times to the extent that I became convinced reiserfs is the 
preferred fs for me.  Mind you I am still running /usr on xfs.  ;-)

Just my 2c's.
-- 
Regards,
Mick


pgp0qy1sFlaDI.pgp
Description: PGP signature


Re: [gentoo-user] Reiserfs meltdown

2006-07-17 Thread Alan McKinnon
On Mon, 2006-07-17 at 12:32 +0200, Ralph Slooten wrote:
 -BEGIN PGP SIGNED MESSAGE-
 Hash: SHA1
 
 Hiya list,
 
 Just need some opinions here, and am not looking for a raving flame-war
 regarding which file system is better etc ;-) ~ Oh and please excuse the
 long mail, but I need explain my situation clearly to avoid confusion.

[snip]

 What gives? I don't want to use ext2 or ext3, and I have for a couple of
 years now relied on reiserfs on all my systems, but what could be the
 problem here? Why did reiserfs seem to mess up like this, and why after
 formatting it did I get the same errors again?

It looks like you have a problem with some reiser-related binary that is
not on the / partition. There is obviously nothing wrong with hda3 as
ext3 works on it. Which partition hosts the /lib and /sbin directories?

Unfortunately you seem to have been a victim of the off button being hit
at exactly the right moment to cause maximum difficulty :-(

If all else fails you could take the long route:
emerge -e system
emerge -s world
A drastic measure, but it would rebuild everything and almost certainly
fix the problem.

alan


-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Reiserfs meltdown

2006-07-17 Thread Ralph Slooten

Alan McKinnon wrote:

It looks like you have a problem with some reiser-related binary that is
not on the / partition. There is obviously nothing wrong with hda3 as
ext3 works on it. Which partition hosts the /lib and /sbin directories?


Both are on the same partition too. This goes for everything except
for /boot and /home. The rest is all on / (/dev/hda3).


Unfortunately you seem to have been a victim of the off button being hit
at exactly the right moment to cause maximum difficulty :-(


I fear this too yes, however after a re-format (`mkreiserfs
/dev/hda3`) off the boot-cd and restore of filesystem from a backup
this should have been solved. If the backup was damaged, I would have
gotten errors during the initial create, the restore, and also from
the current ext2 / partition ~ but I got no errors at all.


If all else fails you could take the long route:
emerge -e system
emerge -s world
A drastic measure, but it would rebuild everything and almost certainly
fix the problem.


I fear not actually, as I think this problem is reiserfs-related, and
has to do with a corrupted journal or something, but not sure though.

What is the best way to *really* format a drive before recreating a
journalled filesystem (reiserfs) so that I really know it's not using
an old corrupt one or something? I have other working partitions on
that drive so an fdisk is not possible: ~ `cat /dev/zero  /dev/hda3`
?

-- Ralph
--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Reiserfs meltdown

2006-07-17 Thread Janusz Bossy

On 7/17/06, Ralph Slooten [EMAIL PROTECTED] wrote:

What is the best way to *really* format a drive before recreating a
journalled filesystem (reiserfs) so that I really know it's not using
an old corrupt one or something? I have other working partitions on
that drive so an fdisk is not possible: ~ `cat /dev/zero  /dev/hda3`
?


I always managed to restore my partition after mkfs.reiserfs and
fsck.resierfs --rebuild-tree -S. It should (at least I think so) clear
the tree and the journal.

--
Pozdrawiam
Janusz YANOUSHek Bossy
gg# 791964
tlen [EMAIL PROTECTED]
jabber [EMAIL PROTECTED]
--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Reiserfs meltdown

2006-07-17 Thread Ralph Slooten

On 17/07/06, Janusz Bossy [EMAIL PROTECTED] wrote:

I always managed to restore my partition after mkfs.reiserfs and
fsck.resierfs --rebuild-tree -S. It should (at least I think so) clear
the tree and the journal.


I agree that this *should* fix it, but with my first attempts it found
a couple of thousand errors, apparently fixed them, until I ran it
again where it kept finding the same errors. This was of course with
an already-restored backup.

I will try your way when the filesystem is still empty. Nice tip though, thanks.
--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Reiserfs meltdown

2006-07-17 Thread Janusz Bossy

On 7/17/06, Ralph Slooten [EMAIL PROTECTED] wrote:

I agree that this *should* fix it, but with my first attempts it found
a couple of thousand errors, apparently fixed them, until I ran it
again where it kept finding the same errors. This was of course with
an already-restored backup.


IIRC there's also an options to fsck.reiserfs that makes it repair
errors because by default it only show what it has found. Look into
the man page for more detail (I'm currently at work using Windows).

--
Pozdrawiam
Janusz YANOUSHek Bossy
gg# 791964
tlen [EMAIL PROTECTED]
jabber [EMAIL PROTECTED]
--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Reiserfs meltdown

2006-07-17 Thread Ralph Slooten

On 17/07/06, Janusz Bossy [EMAIL PROTECTED] wrote:

IIRC there's also an options to fsck.reiserfs that makes it repair
errors because by default it only show what it has found. Look into
the man page for more detail (I'm currently at work using Windows).


--fix-fixable

Yes, I had done this, however each time I ran it it found 2 problems
 and supposedly fixed them .. that is until I ran it again where
it found the same two errors again ... again and again ;-)

I will (when I get home this evening):

a) format the current ext2 as reiserfs and reboot
b) Rebuild tree (--rebuild-tree -S) with an empty partition
c) run a scan (--fix-fixable)
d) Restore files from backup
e) run the scan again (--fix-fixable)
f) reboot and hope

If this doesn't solve the problem then I have no idea Does anyone
foresee problems doing this, or other things I should check too while
at it?

Thanks
Ralph
--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Reiserfs meltdown

2006-07-17 Thread Neil Bothwick
On Mon, 17 Jul 2006 15:23:12 +0200, Ralph Slooten wrote:

 If this doesn't solve the problem then I have no idea Does anyone
 foresee problems doing this, or other things I should check too while
 at it?

Install and run smartmontools, it could be a drive on the way out.


-- 
Neil Bothwick

There's no place like ~


signature.asc
Description: PGP signature


Re: [gentoo-user] Reiserfs meltdown

2006-07-17 Thread Ralph Slooten

On 17/07/06, Neil Bothwick [EMAIL PROTECTED] wrote:

Install and run smartmontools, it could be a drive on the way out.


Nice tip .. thanks. I have this on my servers, but not (yet) on workstation.
--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Reiserfs meltdown

2006-07-17 Thread Bryan Whitehead

On Mon, 17 Jul 2006, Ralph Slooten wrote:


-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Hiya list,

Just need some opinions here, and am not looking for a raving flame-war
regarding which file system is better etc ;-) ~ Oh and please excuse the
long mail, but I need explain my situation clearly to avoid confusion.


[snip]

I've had this happen to me a number of times... I'm now a happy XFS 
user. :)


/flamestart ;) 

--
Bryan Whitehead
Email:[EMAIL PROTECTED]
--
gentoo-user@gentoo.org mailing list