From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from lists.gentoo.org ([140.105.134.102] helo=robin.gentoo.org) by nuthatch.gentoo.org with esmtp (Exim 4.54) id 1FICX1-0001EL-DS for garchives@archives.gentoo.org; Sat, 11 Mar 2006 22:25:51 +0000 Received: from robin.gentoo.org (localhost [127.0.0.1]) by robin.gentoo.org (8.13.5.20060308/8.13.5) with SMTP id k2BMOOYS015076; Sat, 11 Mar 2006 22:24:24 GMT Received: from smtp.gentoo.org (smtp.gentoo.org [134.68.220.30]) by robin.gentoo.org (8.13.5.20060308/8.13.5) with ESMTP id k2BMHB93029629 for ; Sat, 11 Mar 2006 22:17:13 GMT Received: from main.gmane.org ([80.91.229.2] helo=ciao.gmane.org) by smtp.gentoo.org with esmtp (Exim 4.54) id 1FICMm-0001fM-VF for gentoo-user@lists.gentoo.org; Sat, 11 Mar 2006 22:15:17 +0000 Received: from list by ciao.gmane.org with local (Exim 4.43) id 1FICMX-0002v0-QL for gentoo-user@gentoo.org; Sat, 11 Mar 2006 23:15:01 +0100 Received: from adsl-68-74-123-96.dsl.emhril.ameritech.net ([68.74.123.96]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sat, 11 Mar 2006 23:15:01 +0100 Received: from reader by adsl-68-74-123-96.dsl.emhril.ameritech.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sat, 11 Mar 2006 23:15:01 +0100 X-Injected-Via-Gmane: http://gmane.org/ To: gentoo-user@lists.gentoo.org From: Harry Putnam Subject: [gentoo-user] Re: reiserfschk stops boot but reports nothing Date: Sat, 11 Mar 2006 16:14:24 -0600 Organization: Still searching... Message-ID: <874q24633z.fsf@newsguy.com> References: <87wtf17z28.fsf@newsguy.com> Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@gentoo.org Reply-to: gentoo-user@lists.gentoo.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Complaints-To: usenet@sea.gmane.org X-Gmane-NNTP-Posting-Host: adsl-68-74-123-96.dsl.emhril.ameritech.net User-Agent: Gnus/5.110004 (No Gnus v0.4) Emacs/22.0.50 (gnu/linux) Cancel-Lock: sha1:BPtaIOHmgb55MLHkCP9sr/0ALL4= Sender: news X-Archives-Salt: 2d28e745-03c8-45a2-ae77-015d60d59818 X-Archives-Hash: dc53db7cf1eb1afda45bdecd1ee85040 Peter 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 mount /anex2 # 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 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