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

Re: The danger of dishonest disk drives (WAS:Re: Need to remove a ghost file, but can't because it doesn't exist)



Thanks Tim for the workout.

On Fri, Nov 24, 2006 at 02:51:11PM +0800, Tim Post wrote:
 
> I've been following this thread and thought I'd do a bit of
> experimenting to see which of the two best recover themselves.
> 
 
> Once that happened, I paused both VM's, issued a sysrq to sync disks and
> destroyed them in memory. This simulated an out of control box where the
> admin was able to effect a shutdown where disks synced (not just push
> re-set). 
> 
> Booted them up again :
> 
> Ext3 spent 30 minutes in a fsck, some data was lost 

Was that data in lost+found or just gone?
> 
> jfs spent 5 minutes, no data was lost
> 
> Experiment #2
> 
> Same experiment, only this time I didn't sync disks. I just destroyed
> the VMs in memory (same as pulling out the power plug), rebooted.
> 
> ext3 fixed a couple of inodes and came back pretty quickly
> jfs drive wasn't able to be mounted.

What happens if you run jfs_fsck -f ?

Doug.



Reply to: