Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 13 Feb 1999 02:44:33 +0300 (AST)
From:      root@isis.dynip.com
To:        wayne@barnes2.wustl.edu
Cc:        freebsd-questions@FreeBSD.ORG
Subject:   Re: fsck manually
Message-ID:  <199902122344.CAA09637@isis.dynip.com>
In-Reply-To: <199902122239.QAA00251@barnes2.wustl.edu>

next in thread | previous in thread | raw e-mail | index | archive | help
On 12 Feb, Wayne M Barnes wrote:
> Dear FreeBSD
> 
>     can't stat /dev/wd0s1a: No such file or directory
>     /dev/wd0s1a: CAN'T CHECK FILE SYSTEM
> 		 UNEXPECTED INSCONSISTENCY; RUN fsck MANUALLY
>     Automatic file system check failed ... help!
> 
>     Help is right!  Can someone please tell me how to 'fsck MANUALLY?
> Is this in the handbook somewhere?  My system is:
> 
> FreeBSD barnes2.wustl.edu 3.1-BETA FreeBSD 3.1-BETA #3: Wed Feb 10 18:56:17 CST 1999     
> wayne@barnes2.wustl.edu:/usr/src.3.0-stable/sys/compile/GENETHREE  i386
> 
>     This happened because of a (careless) power outage as the system
> was halting.  Am I totally screwed?
> 
>                      - Wayne M. Barnes   wayne@barnes2.wustl.edu
> 
> To Unsubscribe: send mail to majordomo@FreeBSD.org
> with "unsubscribe freebsd-questions" in the body of the message
Hi there,
Thankfully you are not without luck.

The system is setup to check all file systems, primarily / , /usr ,
/var at boot time, if there's is no lost+found directory it usually
surrenders to its master (you) for help.

So, you'll have to run the following after you are thrown into single
user mode, (I mean at the same point you mentioned in your message);

fsck -y / /usr /var

this may be repeated as necessary until all errors are corrected.
After you boot successfully, please help fsck to be more robust by
manually creating the following directories;

/lost+found
/usr/lost+found
/var/lost+found

good luck.
-- 
- MAY THE FORCE BE WITH YOU.                                ~o  .^.
----------------------------                          ___   o~ .00 )
Static Email   : osiris2002@yahoo.com                   /|   o~ /)(
Bouncing Email : root@isis.dynip.com                   / |       | \
Web Site       : http://isis.dynip.com:80 (Frames) ___/  |      /   \
Anon FTP Site  : ftp://isis.dynip.com:21 (anonymous)  |  /''___/ /   |
Gopher Site    : gopher://isis.dynip.com:70           | /'''/___/    |
Network News   : isis.dynip.com (Read, Post, Xfer)  __|/'''/
Mailing Lists  : majordomo@isis.dynip.com (public)
pgp key        : finger root@isis.dynip.com


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199902122344.CAA09637>