From: Ryusuke Konishi Subject: Re: nilfs2 fails to mount after io/error Date: Thu, 04 Dec 2008 21:58:05 +0900 (JST) Message-ID: <20081204.215805.88483726.ryusuke@osrg.net> References: <20081203162628.B82C3829D@blinkenlights.ch> <20081204.170654.88475919.ryusuke@osrg.net> <20081204092947.c29d230d.adrian@blinkenlights.ch> Reply-To: NILFS Users mailing list Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <20081204092947.c29d230d.adrian-4ZM2p5qjiQGewZBzVTKGGg@public.gmane.org> List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: users-bounces-JrjvKiOkagjYtjvyW6yDsg@public.gmane.org Errors-To: users-bounces-JrjvKiOkagjYtjvyW6yDsg@public.gmane.org To: adrian-4ZM2p5qjiQGewZBzVTKGGg@public.gmane.org Cc: users-JrjvKiOkagjYtjvyW6yDsg@public.gmane.org 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? > > adrian@echelon:~$ uname -r > 2.6.27.4 Uum, this kernel should support barriers also for USB devices. > root@echelon:~# udevinfo -a -p /sys/block/sdb/|grep model > ATTRS{model}=="10EAVS External " > root@echelon:~# 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