how do i fsck my server?

Gary Kline kline at thought.org
Wed Jun 15 19:50:54 UTC 2011


can anybody clue me in on why fsck on my server [yes, of course as root]
seem to refuse to WRITE?  we had a power out locally and i caught my UPS at
the last second.  i powered off my server to save the battery, etc, and 
a few minutes ago when i ran 

# fsck -y /var

there were unresolved inconsistancies that fsck was not allowed to resolve.
i tried to boot single use but the server (Dell 530) panicked.  so finally,
after deliberately crashing the box three times, fsck_ufs ran.  i was able to
ping outside.  

is there any way of scripting fsck *every* time i reboot this box?  i just
want to make abs certain that the filesystems are clean.  ---didn't fscking
used to be easier?

tia,

gary


-- 
 Gary Kline  kline at thought.org  http://www.thought.org  Public Service Unix
    The 7.98a release of Jottings: http://jottings.thought.org/index.php
                           http://journey.thought.org
                                     ethic 


More information about the freebsd-questions mailing list