NetBSD-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: data loss after system freeze - normal?



On Thu, Jul 10, 2008 at 04:02:53PM +0300, Cem Kayali wrote:
> 
> Hello!
> 
> Could NetBSD friends share their experiences once a NetBSD 4.X system 
> completely freezes and is restarted by only clicking on power button?
> 
> 
> Well, the system rebooted and fcsk started. Then i noticed that 
> master.passwd didn't exist anymore and passwd is empty. I set root pass 
> in single user mode and checked some of config files and restored from 
> backup. I couldn't find any lost+found either. No crash file.

Maybe there was an operation in progress on the passwd files when the
system hung ?

> 
> 
> My questions are
> 
> - Whether data-loss is normal after fsck completes its job with no 
> lost+found entries.

No, but you can have trucated or corrupted files if they got written
shortly before the crash. I think a file that was being created when
the crash occurs can be deleted entirely. This is why I suggest a passwd
operation when the freeze occured.

> - Whether data-loss is probable on ie; /home partition although it is rw 
> mounted but untouched before freeze.

No.

-- 
Manuel Bouyer <bouyer%antioche.eu.org@localhost>
     NetBSD: 26 ans d'experience feront toujours la difference
--


Home | Main Index | Thread Index | Old Index