Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 15 Jun 2011 12:50:30 -0700
From:      Gary Kline <kline@thought.org>
To:        FreeBSD Mailing List <freebsd-questions@FreeBSD.ORG>
Subject:   how do i fsck my server?
Message-ID:  <20110615195027.GA1196@thought.org>

next in thread | raw e-mail | index | archive | help
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@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 



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