From owner-freebsd-fs Tue Apr 3 11: 1: 9 2001 Delivered-To: freebsd-fs@freebsd.org Received: from bg.sics.se (bg.sics.se [193.10.66.124]) by hub.freebsd.org (Postfix) with ESMTP id 539A337B718 for ; Tue, 3 Apr 2001 11:01:06 -0700 (PDT) (envelope-from bg@bg.sics.se) Received: (from bg@localhost) by bg.sics.se (8.11.1/8.11.1) id f33I10c15494; Tue, 3 Apr 2001 20:01:01 +0200 (CEST) (envelope-from bg) To: Shawn Rutledge Cc: freebsd-fs@FreeBSD.ORG Subject: Re: soft updates and fsck in practice References: <20010403170515.26127.qmail@web2302.mail.yahoo.com> From: Bjoern Groenvall Date: 03 Apr 2001 20:00:58 +0200 In-Reply-To: Shawn Rutledge's message of "Tue, 3 Apr 2001 10:05:15 -0700 (PDT)" Message-ID: Lines: 36 X-Mailer: Gnus v5.7/Emacs 20.6 Sender: owner-freebsd-fs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org >>>>> "Shawn" == Shawn Rutledge writes: Shawn> My question: Is anyone running a system using soft updates and Shawn> NOT fscking after crashes? Is it even reasonable in practice? Works fine here. We don't have that many crashes though. Shawn> Mount refuses to mount a filesystem that isn't marked clean. If Shawn> anyone is doing the above, what (non-fsck) mechanism do you use Shawn> to mark the filesystems clean? We mount these file systems using the force option. There is no need to mark any file systems as clean. This is a snippet from fstab: # The following FS's are *NOT* fsck:ed during boot and # *MUST* be manually fsck:ed sometime later after a crash. /bg # Dump 0=NO fsck /dev/da0s2e /e1 ufs rw,force 0 0 In the night after a crash (or sometimes many days later) we run fsck. One last note, if you ever have some kind of media failure you *must* run fsck immediately!!! Also, make sure that write caching is not enabled (camcontrol modepage da1 -m 8 -P 0 | grep WCE). /Björn -- _ _ ,_______________. Bjorn Gronvall (Björn Grönvall) /_______________/| Swedish Institute of Computer Science | || PO Box 1263, S-164 29 Kista, Sweden | Schroedingers || Email: bg@sics.se, Phone +46 -8 633 15 25 | Cat |/ Cellular +46 -70 768 06 35, Fax +46 -8 751 72 30 `---------------' To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-fs" in the body of the message