From owner-freebsd-questions Wed Mar 19 5:18:33 2003 Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 3AE1837B404 for ; Wed, 19 Mar 2003 05:18:31 -0800 (PST) Received: from franky.speednet.com.au (franky.speednet.com.au [203.57.65.5]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8E5AC43F93 for ; Wed, 19 Mar 2003 05:18:29 -0800 (PST) (envelope-from andyf@speednet.com.au) Received: from hewey.af.speednet.com.au (hewey.af.speednet.com.au [203.38.96.242]) by franky.speednet.com.au (8.12.6/8.12.6) with ESMTP id h2JDIMin091815; Thu, 20 Mar 2003 00:18:22 +1100 (EST) (envelope-from andyf@speednet.com.au) Received: from hewey.af.speednet.com.au (hewey.af.speednet.com.au [203.38.96.242]) by hewey.af.speednet.com.au (8.12.6/8.12.6) with ESMTP id h2JDIKWf013189; Wed, 19 Mar 2003 23:18:21 +1000 (EST) (envelope-from andyf@speednet.com.au) Date: Wed, 19 Mar 2003 23:18:20 +1000 (EST) From: Andy Farkas X-X-Sender: andyf@hewey.af.speednet.com.au To: John Straiton Cc: freebsd-questions@FreeBSD.ORG Subject: Re: Question about background FSCK In-Reply-To: <00a001c2ed8a$8758d1d0$1916c60a@win2k.clickcom.com> Message-ID: <20030319231247.B12616-100000@hewey.af.speednet.com.au> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Tue, 18 Mar 2003, John Straiton wrote: > While I appreciate the background fsck's that 5.0 provides, it appears > that there are problems with writing to a drive that is still under the > scrutiny of a fsck (tell me if I'm wrong). > > 'Fer instance, today I brought up a machine that has a 119GB /home > partition and then tried to FTP to it. The FTP got to 32kB and hung.... > Attempts to reconnect resulted in connections but the inability to STOR. > > When I do a top, I can see > > PID USERNAME PRI NICE SIZE RES STATE TIME WCPU CPU > COMMAND > 450 root -4 4 632K 376K bufwai 0:01 0.00% 0.00% fsck_ufs > > So I guess it's still running. Maybe not - 'bufwai' says that its waiting for something and 0.00% indicates thats its not actually running anything on the CPU. My guess is that the disk is dying and taking a long time to comlete IO. Do a checkup on your disk.. > Here's the question: > I need a solution so that this machine is immediately available when it > starts taking connections into inetd. What options have I on this > problem? Is there an override to the write-deny (and if so, what risks > inclusive to it) or a way to keep the machine from coming up until the > fsck is done? (ala 4.X style..) > > I have a machine at home where the boot drive is 160GB that would > benefit from the answer as well. If it has to fsck, I have to currently > take it to single-user because if I let it background fsck, the damn > thing will hang (still process packets through the NATd but you can't > type at all or login for example) a few moments after the login: prompt > shows up. > > Thanks, > John Straiton > jks@clickcom.com > Clickcom, Inc > 704-365-9970x101 > -- :{ andyf@speednet.com.au Andy Farkas System Administrator Speednet Communications http://www.speednet.com.au/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message