From owner-freebsd-questions Mon Nov 26 5:51:43 2001 Delivered-To: freebsd-questions@freebsd.org Received: from mcqueen.wolfsburg.de (pns.wobline.de [212.68.68.5]) by hub.freebsd.org (Postfix) with ESMTP id 0D57C37B41D for ; Mon, 26 Nov 2001 05:51:36 -0800 (PST) Received: from colt.ncptiddische.net (ppp-154.wobline.de [212.68.69.162]) by mcqueen.wolfsburg.de (8.11.3/8.11.3/tw-20010821) with ESMTP id fAQDpKN24633; Mon, 26 Nov 2001 14:51:20 +0100 Received: from jodie.ncptiddische.net (jodie.ncptiddische.net [192.168.0.2]) by colt.ncptiddische.net (8.11.6/8.11.6) with ESMTP id fAQDqUt51253; Mon, 26 Nov 2001 14:52:30 +0100 (CET) (envelope-from nils@tisys.org) Received: from jodie.ncptiddische.net (jodie.ncptiddische.net [192.168.0.2]) by jodie.ncptiddische.net (8.11.6/8.11.6) with ESMTP id fAQDor607329; Mon, 26 Nov 2001 14:51:28 +0100 (CET) (envelope-from nils@tisys.org) Date: Mon, 26 Nov 2001 14:50:53 +0100 (CET) From: Nils Holland To: "Patrick O'Reilly" Cc: FreeBSD Question List Subject: Re: Softupdates In-Reply-To: Message-ID: <20011126144141.A6950-100000@jodie.ncptiddische.net> 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 Mon, 26 Nov 2001, Patrick O'Reilly wrote: > I've started using softupdates on a new server. Wow!!! > > Question: Is it safe to use softupdates on ALL disks? I have a nagging > recollection that someone once said it should NOT be used on /. Without doubt, softupdates makes it likely that you would lose more data in case of a power failure or (which is very rare under FreeBSD) a system crash. There is actually no technical reason why softupdates should not be enabled on /. It is only a recommendation that someone may have given, and it's your job to decide if you want to follow that recommendation or not. On my own systems, I have softupdates enabled for everything, including /. There have not been any problems so far, while performance has obviously increased compared to softupdates turned off. In order to protect myself from the increased chance of data loss, I keep regular backups, which is a good idea anyway. One more thing that happens in conjunction with softupdates is the following: If you have softupdates turned on for /usr, have a look at df -h before you empty /usr/obj (or any other big directory) the next time. Right after the directory has been emptied, do df -h again. Then wait a minute and do even one more df -h. You will notice that the updating of the free space on your filesystems gets delayed with softupdates turned on. This may mean that under heavy file creation activities, your filesystem may already be full before it's actually visible that it's full, i.e. before the accountig information have been updated. However, I don't think that this should keep you from turning softupdated on for /. All in all I think you can safely turn softupdates on for /. Greetings Nils Nils Holland Ti Systems - FreeBSD in Tiddische, Germany http://www.tisys.org * nils@tisys.org To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message