public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
From: Harry Putnam <reader@newsguy.com>
To: gentoo-user@lists.gentoo.org
Subject: [gentoo-user]  Re: reiserfschk stops boot but reports nothing
Date: Sat, 11 Mar 2006 16:14:24 -0600	[thread overview]
Message-ID: <874q24633z.fsf@newsguy.com> (raw)
In-Reply-To: pan.2006.03.11.17.15.27.282521@comcast.net

Peter <pete4abw@comcast.net> writes:

> On Sat, 11 Mar 2006 09:58:55 -0600, Harry Putnam wrote:
>
> all snip...
>
> Here's what I would do. Boot off a floppy or livecd.
> Then, do NOT mount your root drive (/dev/hdb6) you may have a problem
> with. run 

Maybe I'm just not understanding your terminology here but /dev/hdb6
is not a root drive.  It isn't even a system drive at all like /usr
/var etc.


> reiserfsck --check /dev/hdb6 

Yes .. this exits silently and further leaving out --check does
exactly the same thing anyway.

> and see what pops up. If you get a message to run fix-fixable, then follow
> those directions.

Nothing pops up.  I even ran --fix-fixable to see if anything would
happen.  It did not.

> It could be as simple as not shutting down properly or having had to
> reboot without shutting down at all. A status bit is set on the drive
> which tells fsck that it was not shutdown properly. Reiser is unique in
> that it can't really check the root partition carefully because it is
> always mounted read-only when it checks it.

If that were it wouldn't it disappear after reiserfchk?

> But definitely, you need to boot off a different medium to fix this.

I'm not following this.  Maybe you thought it was / ?  Or am I missing
an important part of this?

It is /anex2  a disk I keep backups of some stuff on.  Mostly rsync
writes to it during an rsnapshot run.

Shouldn't I be able to just umount it and get the same results as if
checking from separate media?  
I can do what you suggest easily so not arguing against it, just not
understanding whey it would be different than the reported 
umount  followed by reiserfsck /dev/hdb6 that exits silently.

On further investigation:
I'm finding it exits with exit code 16 which is supposed to mean a
syntax error... now I'm really puzzled:

  umount /dev/hdb6  <no output>

  mount /anex2  <no output but a pause of about 1 second>
  # echo $?  
  0

  df -h
  [...]
  /dev/hdb6              47G   12G   35G  26% /anex2

  umount /anex2
  
   # reiserfsck --check /dev/hdb6
reiserfsck 3.6.19 (2003 www.namesys.com)

*************************************************************
** If you are using the latest reiserfsprogs and  it fails **
** please  email bug reports to reiserfs-list@namesys.com, **
** providing  as  much  information  as  possible --  your **
** hardware,  kernel,  patches,  settings,  all reiserfsck **
** messages  (including version),  the reiserfsck logfile, **
** check  the  syslog file  for  any  related information. **
** If you would like advice on using this program, support **
** is available  for $25 at  www.namesys.com/support.html. **
*************************************************************

Will read-only check consistency of the filesystem on /dev/hdb6
Will put log info to 'stdout'

Do you want to run this program?[N/Yes] (note need to type Yes if you
do): yes <enter>

 echo $?
  16

>From man reiserfsck [emphisis added -hp]:
EXIT CODES
       reiserfsck uses the following exit codes:
          0 - No errors.
          1 - File system errors corrected.
          2 - Reboot is needed.
          4 - File system fatal errors left uncorrected,
              reiserfsck --rebuild-tree needs to be launched.
          6 - File system fixable errors left uncorrected,
              reiserfsck --fix-fixable needs to be launched.
          8 - Operational error.
***       16 - Usage or syntax error.



-- 
gentoo-user@gentoo.org mailing list



  reply	other threads:[~2006-03-11 22:25 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-03-11 15:58 [gentoo-user] reiserfschk stops boot but reports nothing Harry Putnam
2006-03-11 16:12 ` Joe Menola
2006-03-11 16:19   ` [gentoo-user] " Harry Putnam
2006-03-11 16:39     ` Joe Menola
2006-03-11 17:00       ` Harry Putnam
2006-03-11 16:47     ` Haim Ashkenazi
2006-03-11 17:15 ` Peter
2006-03-11 22:14   ` Harry Putnam [this message]
2006-03-12  0:54     ` Ryan Tandy
2006-03-12  3:57       ` Harry Putnam
2006-03-12  4:14         ` [gentoo-user] Re: [SOLVED] " Ryan Tandy
2006-03-12 11:18           ` [gentoo-user] " Peter
2006-03-12  2:05     ` [gentoo-user] " Peter

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=874q24633z.fsf@newsguy.com \
    --to=reader@newsguy.com \
    --cc=gentoo-user@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox