Date: Sat, 02 Oct 2010 14:59:02 +0200 From: "Ronald Klop" <ronald-freebsd8@klop.yi.org> To: freebsd-fs@freebsd.org Subject: Re: Data loss when hard shutdown! Message-ID: <op.vjx80ows8527sy@212-123-145-58.ip.telfort.nl> In-Reply-To: <AANLkTina-12oxTxaBgzeQqF7n4GroDd76hiMprky6_r=@mail.gmail.com> References: <AANLkTi=eib81J1zUT_HmPcXOBFiLDFmyA8Q-KZV5HikE@mail.gmail.com> <op.vjx6e4o08527sy@212-123-145-58.ip.telfort.nl> <AANLkTik53kP7K-EcHy=uO2QdAJe5r7MvJxmbsCQ_b0Ye@mail.gmail.com> <20101002132548.00002898@unknown> <AANLkTina-12oxTxaBgzeQqF7n4GroDd76hiMprky6_r=@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On Sat, 02 Oct 2010 14:49:50 +0200, Phan Quoc Hien =20 <phanquochien@gmail.com> 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 <bruce@cran.org.uk> wrote: > >> On Sat, 2 Oct 2010 19:19:12 +0700 >> Phan Quoc Hien <phanquochien@gmail.com> 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 >> > >
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?op.vjx80ows8527sy>