Current-Users archive

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

Re: data loss after system freeze - normal?




Thanks, all clear.


>> Maybe there was an operation in progress on the passwd files when the
system hung ?
True. Kdm (Xorg) start was in progress, i did see Xorg blank screen but not kde login one and then freezed. I'm still trying to find the reason, but i assume this is somehow because of keyboard layout. I switched to standart layout and switch to local one after kdm completes its job.


Thanks.
Cem





Manuel Bouyer wrote:
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.

  



Home | Main Index | Thread Index | Old Index