On Thu, 4 Dec 2008 09:29:47 +0100, Adrian Ulrich wrote:
> Hi,
> 
> > This never occurs if the block device is
> > supporting 'write barrier' feature properly.
> > Could you tell me the kernel version that you are using?
> 
> [EMAIL PROTECTED]:~$ uname -r
> 2.6.27.4

Uum, this kernel should support barriers also for USB devices.

> [EMAIL PROTECTED]:~# udevinfo -a -p /sys/block/sdb/|grep model
>     ATTRS{model}=="10EAVS External "
> [EMAIL PROTECTED]:~# lsusb |grep Wes
> Bus 001 Device 003: ID 1058:1001 Western Digital Technologies, Inc. External 
> Hard Disk

Does the device cache operate in writeback or writethough? ( FUA or not ? )
These parameters decide how barriers are implemented in scsi layer.
You can show these by

 # cat /sys/class/scsi_disk/x:x:x:x/{FUA,cache_type}

 where x:x:x:x is the address displayed by lsscsi command.

> > (Of course, first priority should be on making fsck.)
> 
> Well: Is there any way to recover my data 'soon' or should
> i re-format the partition? 

Wait for a moment.  I'm now writing an impromptu tool
to correct this kind of problem.

Regards,
Ryusuke Konishi
_______________________________________________
users mailing list
[email protected]
https://www.nilfs.org/mailman/listinfo/users

Reply via email to