From owner-freebsd-fs@FreeBSD.ORG Sat Oct 2 12:59:05 2010 Return-Path: Delivered-To: freebsd-fs@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 5AE7C106564A for ; Sat, 2 Oct 2010 12:59:05 +0000 (UTC) (envelope-from ronald-freebsd8@klop.yi.org) Received: from smtp-out1.tiscali.nl (smtp-out1.tiscali.nl [195.241.79.176]) by mx1.freebsd.org (Postfix) with ESMTP id 185AD8FC1B for ; Sat, 2 Oct 2010 12:59:05 +0000 (UTC) Received: from [212.123.145.58] (helo=sjakie.klop.ws) by smtp-out1.tiscali.nl with esmtp (Exim) (envelope-from ) id 1P21g8-000445-0X for freebsd-fs@freebsd.org; Sat, 02 Oct 2010 14:59:04 +0200 Received: from 212-123-145-58.ip.telfort.nl (localhost [127.0.0.1]) by sjakie.klop.ws (Postfix) with ESMTP id 5918C42BA for ; Sat, 2 Oct 2010 14:59:02 +0200 (CEST) Content-Type: text/plain; charset=us-ascii; format=flowed; delsp=yes To: freebsd-fs@freebsd.org References: <20101002132548.00002898@unknown> Date: Sat, 02 Oct 2010 14:59:02 +0200 MIME-Version: 1.0 From: "Ronald Klop" Message-ID: In-Reply-To: User-Agent: Opera Mail/10.62 (FreeBSD) Content-Transfer-Encoding: quoted-printable Subject: Re: Data loss when hard shutdown! X-BeenThere: freebsd-fs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Filesystems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 02 Oct 2010 12:59:05 -0000 On Sat, 02 Oct 2010 14:49:50 +0200, Phan Quoc Hien =20 wrote: > Thank for your respond. I have checked my fstab file. I didn't see any > option about SoftUpdates for my / partition. When you give the command 'mount' you will see several lines like this. /dev/ad8s1d on /var (ufs, local, soft-updates) Softupdates can be enabled/disabled with the command tunefs. See 'man =20 tunefs'. My advice is to not pull the power plug after changing critical files, bu= t =20 to reboot cleanly. Than there is no problem for 99% of the time and your = =20 computer is fast also. Or is there a reason for you to prefer the power plug? Ronald. > On Sat, Oct 2, 2010 at 7:25 PM, Bruce Cran wrote: > >> On Sat, 2 Oct 2010 19:19:12 +0700 >> Phan Quoc Hien wrote: >> >> > Thanks for your respond.! >> > Yes. I pulled the power plug . >> > I edited rc.conf and save it then pulling the power plug. And system >> > boot next time rc.conf is a blank file...! >> >> This is an issue when using SoftUpdates - data isn't written to disk >> immediately, and empty files are produced when power is lost. See >> http://www.freebsd.org/doc/en/books/faq/disks.html#SAFE-SOFTUPDATES fo= r >> details. >> >> -- >> Bruce Cran >> > >