Date: Wed, 31 Dec 2003 18:33:22 -0500 From: David Gilbert <dgilbert@dclg.ca> To: Doug Barton <DougB@FreeBSD.org> Cc: David Gilbert <dgilbert@dclg.ca> Subject: Re: 5.1-R-p11 unable to "sync disks" when shutting down Message-ID: <16371.23746.824760.637381@canoe.dclg.ca> In-Reply-To: <20031231152453.G1441@bo.vpnaa.bet> References: <20031229164130.GA797@pp.htv.fi> <16370.20382.81302.449649@canoe.dclg.ca> <20031231073244.GA44710@pp.htv.fi> <16371.20373.212950.533985@canoe.dclg.ca> <20031231152453.G1441@bo.vpnaa.bet>
next in thread | previous in thread | raw e-mail | index | archive | help
>>>>> "Doug" == Doug Barton <DougB@FreeBSD.org> writes: Doug> On Wed, 31 Dec 2003, David Gilbert wrote: >> I'd like to see: >> >> crash -> boot -> defer for bgfsck (but mark disk as having tried) -> multiuser -> bgfsck -> crash -> boot -> fsck in foreground -> multiuser >> ... but I believe this would require fsck support unless the >> startup scripts were writing to the filesystem to indicate no >> bgfsck. Doug> What you propose would also be really complicated for other Doug> reasons related to the way rcNG works. I would suggest that your Doug> best bet is always: Doug> crash -> boot single user -> fsck -y -> multiuser Doug> That's pretty much guaranteed to work. True, but faced with a machine that can't be upgraded (swap to vinum not supported in 5.2) but still crashes every so often (once a month or so), the non-background fsck (which is what we do now) takes 5 to 10 minutes (lotsa disk). I think the above could be achieved by the smarts being in fsck. It would refuse to background if the already-tried bit was set. I believe this would work without rc changes. Dave. -- ============================================================================ |David Gilbert, Independent Contractor. | Two things can only be | |Mail: dave@daveg.ca | equal if and only if they | |http://daveg.ca | are precisely opposite. | =========================================================GLO================
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?16371.23746.824760.637381>