background_fsck=no does not work?

Kris Kennaway kris at obsecurity.org
Sun Apr 24 11:25:33 PDT 2005


On Sun, Apr 24, 2005 at 01:45:47PM +0200, Palle Girgensohn wrote:
> Hi!
> 
> on a 5.4-prerelease machine (dell 2850 dual cpu, running amd64), I have 
> this in rc.conf:
> 
> fsck_y_enable="YES"
> background_fsck="NO"
> 
> 
> Still, I'm not certain that fsck is really run at startup. At least, 
> running fsck on in multiuser reveals information like below, but perhaps 
> that is normal for an active file system?
> 
> I'm having stability problems with this machine (it crashes sporadically) 
> and I suspect it might have something to do with problems in the file 
> system. Could this be true, or is the below stuff completely normal?
> 
> Thanks,
> Palle
> 
> # fsck   (on a running multiuser system, just to check)
> ....
> 
> ** /dev/amrd0s2g (NO WRITE)
> ** Last Mounted on /usr/local
> ** Phase 1 - Check Blocks and Sizes
> ** Phase 2 - Check Pathnames
> ** Phase 3 - Check Connectivity
> ** Phase 4 - Check Reference Counts
> ** Phase 5 - Check Cyl groups
> FREE BLK COUNT(S) WRONG IN SUPERBLK
> SALVAGE? no
> 
> SUMMARY INFORMATION BAD
> SALVAGE? no
> 
> BLK(S) MISSING IN BIT MAPS
> SALVAGE? no

Running fsck on a mounted filesystem will do this unless you use
background fsck, because the filesystem is in use.

Kris
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-stable/attachments/20050424/c7699e56/attachment.bin


More information about the freebsd-stable mailing list