From owner-freebsd-stable Mon Aug 14 13:17:58 2000 Delivered-To: freebsd-stable@freebsd.org Received: from gershwin.tera.com (gershwin.tera.com [207.224.230.28]) by hub.freebsd.org (Postfix) with ESMTP id 7653B37BB53 for ; Mon, 14 Aug 2000 13:17:38 -0700 (PDT) (envelope-from kline@tao.thought.org) Received: from tao.thought.org (tao.sea.tera.com [207.108.223.55]) by gershwin.tera.com (8.9.3/8.9.3) with ESMTP id NAA11942; Mon, 14 Aug 2000 13:17:52 -0700 (PDT) Received: (from kline@localhost) by tao.thought.org (8.9.3/8.7.3) id NAA84109; Mon, 14 Aug 2000 13:17:34 -0700 (PDT) Date: Mon, 14 Aug 2000 13:17:34 -0700 From: Gary Kline To: Tom Cc: Gary Kline , freebsd-stable@FreeBSD.ORG Subject: Re: fack and /etc/fstab Message-ID: <20000814131734.A84069@tao.thought.org> References: <20000814121809.A83607@tao.thought.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 1.0.1i In-Reply-To: ; from tom@uniserve.com on Mon, Aug 14, 2000 at 12:25:40PM -0700 X-Organization: Thought Unlimited. Public service Unix since 1986. Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Mon, Aug 14, 2000 at 12:25:40PM -0700, Tom wrote: > On Mon, 14 Aug 2000, Gary Kline wrote: > > > > Unless you are running single user with all filesystems mounted > > > read-only, fsck will consider all filesystems to be dirty, because they > > > are active. Running fsck on an active filesystem is a really bad idea. > > > > > > > You're right. I'm aware of the shouldn't-do's, Tom, but > > thanks for the heads-up. In multi-user, fsck does a (NO-WRITE) > > check. But it should see my 2nd drive. > > > > I forgot to mention that for unknown reasons > > > > # fsck /dev/da1* > > > > fails, while > > > > # fsck /dev/da0* > > Uhh, if those the exact commands you are entering, you are telling fsck > to check a lot of nonexistant devices. /dev/ contains daX entries for > each slice, which can't be fscked. > > You should use the exact device name for each filesystem you want to > check, and everything will work. > Given the exactly /dev/ from /etc/fstab, fsck will check that slice. But it will not check automatically if the machine crashes. It quits after fsck'ing /dev/da0*. This is what I don't understand. gary -- Gary D. Kline kline@tao.thought.org Public service Unix To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message