From owner-freebsd-fs@FreeBSD.ORG Sat Oct 2 13:07:30 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 A8A8C1065673 for ; Sat, 2 Oct 2010 13:07:30 +0000 (UTC) (envelope-from phanquochien@gmail.com) Received: from mail-wy0-f182.google.com (mail-wy0-f182.google.com [74.125.82.182]) by mx1.freebsd.org (Postfix) with ESMTP id 378888FC15 for ; Sat, 2 Oct 2010 13:07:30 +0000 (UTC) Received: by wyb29 with SMTP id 29so2602553wyb.13 for ; Sat, 02 Oct 2010 06:07:29 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:in-reply-to :references:date:message-id:subject:from:to:cc:content-type; bh=q4wMwwrkNN5vOWJMKRGD4qXBwlNKI28ZA9LH/fEWSJE=; b=JNjciMuiroaAAV7NmyFlA7NhzbG1WYWNeC5+eTfAChkQs5ipts6KdYHaRzd5xtYQSE khYQpyO6ztlrisc0SitPhvgk6tFRl1/Q27gsccDqtCQ6myYYS8iySZcCF9WiFCw8Fuf4 5HTF16WoicI/R3P6dWoSvc3aAi/UJdZ7WMFvg= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; b=xbpDz3SSbZY1Gc0f25E3Fkm5s0OqRpMv4bj6h61gtfAwsnUF+aiJDVVpmHr62GRRFt fU0yiUVxbEQ3DZ0cA0dAom7WfWxyoID5g6qwG8hx2uqSW4sUXv1oX02PjILcWBNNEb99 p2f9zei54e5gf8RRYRqOqlM7DZBLzU0PrJ1js= MIME-Version: 1.0 Received: by 10.227.134.136 with SMTP id j8mr5463231wbt.206.1286024848461; Sat, 02 Oct 2010 06:07:28 -0700 (PDT) Received: by 10.227.142.194 with HTTP; Sat, 2 Oct 2010 06:07:28 -0700 (PDT) In-Reply-To: References: <20101002132548.00002898@unknown> Date: Sat, 2 Oct 2010 20:07:28 +0700 Message-ID: From: Phan Quoc Hien To: Ronald Klop Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: freebsd-fs@freebsd.org 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 13:07:30 -0000 The reason is power supply problems! Thank for your respond again. Have a nice day. On Sat, Oct 2, 2010 at 7:59 PM, Ronald Klop wrote: > On Sat, 02 Oct 2010 14:49:50 +0200, Phan Quoc Hien > 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 > tunefs'. > > My advice is to not pull the power plug after changing critical files, but > to reboot cleanly. Than there is no problem for 99% of the time and your > 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 for >>> details. >>> >>> -- >>> Bruce Cran >>> >>> >> >> _______________________________________________ > freebsd-fs@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-fs > To unsubscribe, send any mail to "freebsd-fs-unsubscribe@freebsd.org" > -- Best regards, Mr.Hien E-mail: phanquochien@gmail.com Website: www.mrhien.info