Steve Fox wrote on Thu, Apr 25, 2002 at 01:49:05PM -0500 :
> On Wed, 2002-04-24 at 15:05, andre wrote:
> > 
> > reiserfs has some problems.  Try running reiserfsck on it. That will
> > probably repair it.
> 
> I have from the 8.2 rescue CD. After finding some dangling symlinks for
> some header files, it suddenly segfaults. Any ideas on how to find out
> what's crashing it?

The first step is to always make sure that you're using the absolute
latest reiserfsprogs.  3.x.1b is what's in cooker and that's the latest
stable release.  There is a 3.x.1c-pre2, but you take your life in your
own hands when you use it :-/  Just make sure that you're running the
3.x.1b version of reiserfsprogs with 'rpm -q reiserfsprogs'.

Options to reiserfsck:
  --check               consistency checking (default)
  --fix-fixable         fix corruptions which can be fixed w/o
                        --rebuild-tree
  --rebuild-sb          super block checking and rebuilding if needed
                        (require rebuild-tree afterwards)
  --rebuild-tree        force fsck to rebuild filesystem from scratch
                        (takes a long time)
  --clean-attributes    clean garbage in reserved fields in StatDatas on
                        fs

I would suggest that since 'reiserfsck --check' is segfaulting, that you
back everything up and try 'reiserfsck --rebuild-tree'.  It will
probably take several hours, but depends upon factors such as system
speed, IO subsystem speed (ie IDE or SCSI or SCSI-UW160).

If that doesn't work, try enlisting the help of Hans Reiser.  :)
Run 'debugreiserfs -p /dev/xxx | gzip -c > xxx.gz' where xxx is the
device node for your partition you're having problems with.  Send a
detailed letter to the reiserfs list, put that file up at an ftp site
somewhere, and let Hans download it to see if he can figure out what's
going on.  At the very least, you'll contribute to the development of a
better reiserfsprogs set of utilities.  I can't remember if it's an open
list or if you have to subscribe first.  It doesn't get any spam, so you
probably have to subscribe first.

Blue skies...           Todd
-- 
  Todd Lyons -- MandrakeSoft, Inc.   http://www.mandrakesoft.com/
UNIX was not designed to stop you from doing stupid things, because 
  that would also stop you from doing clever things. -- Doug Gwyn
   Cooker Version mandrake-release-8.3-0.2mdk Kernel 2.4.18-11mdk

Attachment: msg63243/pgp00000.pgp
Description: PGP signature

Reply via email to