Data loss when hard shutdown!

Phan Quoc Hien phanquochien at gmail.com
Sat Oct 2 13:07:30 UTC 2010


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 <ronald-freebsd8 at klop.yi.org>wrote:

> On Sat, 02 Oct 2010 14:49:50 +0200, Phan Quoc Hien <phanquochien at 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
> 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 <bruce at cran.org.uk> wrote:
>>
>>  On Sat, 2 Oct 2010 19:19:12 +0700
>>> Phan Quoc Hien <phanquochien at 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 for
>>> details.
>>>
>>> --
>>> Bruce Cran
>>>
>>>
>>
>>  _______________________________________________
> freebsd-fs at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-fs
> To unsubscribe, send any mail to "freebsd-fs-unsubscribe at freebsd.org"
>



-- 
Best regards,
Mr.Hien
E-mail: phanquochien at gmail.com
Website: www.mrhien.info


More information about the freebsd-fs mailing list