Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 08 Feb 2004 21:12:51 -0800
From:      Rishi Chopra <rchopra@cal.berkeley.edu>
To:        questions@freebsd.org
Cc:        Ion-Mihai Tetcu <itetcu@apropo.ro>
Subject:   Booting Problem After Power Loss (fsck)?
Message-ID:  <402716D3.5060604@cal.berkeley.edu>
In-Reply-To: <20040203112519.3f806ab3@it.buh.cameradicommercio.ro>
References:  <401F1A5E.8040105@cal.berkeley.edu> <401F6542.2090504@cal.berkeley.edu> <20040203112519.3f806ab3@it.buh.cameradicommercio.ro>

next in thread | previous in thread | raw e-mail | index | archive | help
Here's a summary of my problem so far:

Server was idle (e.g. absolutely no processes running aside from
csh, ttyv0 and ps) when power was cut; server reports a problem mounting 
/usr partition upon reboot.

I have since tried the following:

(1) Booted into single-user mode and ran 'fsck' - the latest output to 
the terminal says:

****     FILE SYSTEM MARKED CLEAN     ****
     /dev/da0s1e
     Last Mounted on /usr
     Phase 1 - check blocks and sizes

After letting the system 'do its thing' for 5+ days, the output did not 
change.

(2) I tried an 'fsck -p' and got the following message:

/dev/da0s1a: 1128 files, 36058 used, 47059 free (261 frags, 58771 
blocks, 0.1% fragmentations)

The display has been stuck with that same output for countless hours now.

Questions I have:

(1) Have I suffered a total loss or is this still some way to revover my 
filesystem?  After suffering a similar loss with a hardware raid-0 
failure under win2k, I was assuming the FreeBSD setup would be more 
durable.  I would hate to walk away thinking that a simple power loss 
could wipe out a freebsd server under nothing more than one terminal login.

(2) Why would a simple fsck of the filesystem not work in my case?

Thanks,
Rishi

Ion-Mihai Tetcu wrote:

> On Tue, 03 Feb 2004 01:09:22 -0800
> Rishi Chopra <rchopra@cal.berkeley.edu> wrote:
> 
> 
>>I booted into single-user mode and ran 'fsck' - the latest output to the 
>>terminal says:
>>
>>**** 	FILE SYSTEM MARKED CLEAN 	****
>>	/dev/da0s1e
>>	Last Mounted on /usr
>>	Phase 1 - check blocks and sizes
>>
>>****	FILE SYSTEM STILL DIRTY		****
> 
> 
> Can't be only this. It should have outputted something else between
> Phase 1 and FILE SYSTEM STILL DIRTY.
> 
> 
>>Will fsck continue attempting to fix the filesystem?  Have I suffered a 
>>total loss or is fsck still doing its thing?
> 
> 
> Read man fsck and its see also section.
> 
> 
> 

-- 
Rishi Chopra
http://www.ocf.berkeley.edu/~rchopra



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