From owner-freebsd-stable@FreeBSD.ORG Fri Nov 20 14:41:39 2009 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 3B8CD106568B for ; Fri, 20 Nov 2009 14:41:39 +0000 (UTC) (envelope-from jhb@freebsd.org) Received: from cyrus.watson.org (cyrus.watson.org [65.122.17.42]) by mx1.freebsd.org (Postfix) with ESMTP id 108B78FC12 for ; Fri, 20 Nov 2009 14:41:39 +0000 (UTC) Received: from bigwig.baldwin.cx (66.111.2.69.static.nyinternet.net [66.111.2.69]) by cyrus.watson.org (Postfix) with ESMTPSA id C1F8046B1A; Fri, 20 Nov 2009 09:41:38 -0500 (EST) Received: from jhbbsd.hudson-trading.com (unknown [209.249.190.9]) by bigwig.baldwin.cx (Postfix) with ESMTPA id 0CC9B8A01F; Fri, 20 Nov 2009 09:41:38 -0500 (EST) From: John Baldwin To: freebsd-stable@freebsd.org Date: Fri, 20 Nov 2009 09:41:29 -0500 User-Agent: KMail/1.9.7 References: <4B069254.7080709@t-online.hu> In-Reply-To: <4B069254.7080709@t-online.hu> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200911200941.29277.jhb@freebsd.org> X-Greylist: Sender succeeded SMTP AUTH, not delayed by milter-greylist-4.0.1 (bigwig.baldwin.cx); Fri, 20 Nov 2009 09:41:38 -0500 (EST) X-Virus-Scanned: clamav-milter 0.95.1 at bigwig.baldwin.cx X-Virus-Status: Clean X-Spam-Status: No, score=-2.5 required=4.2 tests=AWL,BAYES_00,RDNS_NONE autolearn=no version=3.2.5 X-Spam-Checker-Version: SpamAssassin 3.2.5 (2008-06-10) on bigwig.baldwin.cx Cc: Mikael Bak Subject: Re: Recommendations on when to use soft updates X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 20 Nov 2009 14:41:39 -0000 On Friday 20 November 2009 7:57:56 am Mikael Bak wrote: > Hi list, > > I'm quite new to FreeBSD. > I would like to know if there are any official recommendations on when > to use soft updates and when not to use them. > > I currently maintain only one FreeBSD machine. > > $ uname -v > FreeBSD 7.2-RELEASE-p4 #0: Fri Oct 2 08:22:32 UTC 2009 > root@amd64-builder.daemonology.net:/usr/obj/usr/src/sys/GENERIC > > I have two identical SATA disks in a raid1 using gmirror like this: > > $ df -h > Filesystem Size Used Avail Capacity Mounted on > /dev/mirror/gm0s1a 3.9G 303M 3.3G 8% / > devfs 1.0K 1.0K 0B 100% /dev > /dev/mirror/gm0s1d 989M 1.0M 909M 0% /tmp > /dev/mirror/gm0s1e 48G 1.7G 43G 4% /usr > /dev/mirror/gm0s1f 53G 1.2G 48G 2% /var > devfs 1.0K 1.0K 0B 100% /var/named/dev > > Currently /usr and /var uses soft updates, but / does not. > > The machine acts as a front MX with lots of reads and writes in /var. > > Is this a reasonable setup? Yes. -- John Baldwin