All of lore.kernel.org
 help / color / mirror / Atom feed
From: Ryusuke Konishi <ryusuke-sG5X7nlA6pw@public.gmane.org>
To: adrian-4ZM2p5qjiQGewZBzVTKGGg@public.gmane.org
Cc: users-JrjvKiOkagjYtjvyW6yDsg@public.gmane.org
Subject: Re: nilfs2 fails to mount after io/error
Date: Thu, 04 Dec 2008 21:58:05 +0900 (JST)	[thread overview]
Message-ID: <20081204.215805.88483726.ryusuke@osrg.net> (raw)
In-Reply-To: <20081204092947.c29d230d.adrian-4ZM2p5qjiQGewZBzVTKGGg@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

  parent reply	other threads:[~2008-12-04 12:58 UTC|newest]

Thread overview: 25+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-11-26 18:22 nilfs2 fails to mount after io/error Adrian Ulrich
     [not found] ` <20081126182158.20FD28306-4ZM2p5qjiQGewZBzVTKGGg@public.gmane.org>
2008-11-27 17:10   ` Reinoud Zandijk
     [not found]     ` <20081127171006.GA3654-5cYspOl2ggRz6xQTk39kMVfVdRo2wo/d@public.gmane.org>
2008-11-27 21:55       ` Adrian Ulrich
2008-11-28  7:43   ` Ryusuke Konishi
     [not found]     ` <20081128.164300.47236105.ryusuke-sG5X7nlA6pw@public.gmane.org>
2008-11-28 14:37       ` Adrian Ulrich
     [not found]         ` <20081128153732.be4f5cf8.adrian-4ZM2p5qjiQGewZBzVTKGGg@public.gmane.org>
2008-12-01 16:50           ` Ryusuke Konishi
     [not found]             ` <20081202.015029.88482681.ryusuke-sG5X7nlA6pw@public.gmane.org>
2008-12-01 17:14               ` Adrian Ulrich
     [not found]                 ` <20081201171411.99215829D-4ZM2p5qjiQGewZBzVTKGGg@public.gmane.org>
2008-12-02  5:22                   ` Ryusuke Konishi
     [not found]                     ` <20081202.142225.78011419.ryusuke-sG5X7nlA6pw@public.gmane.org>
2008-12-02  6:44                       ` Adrian Ulrich
     [not found]                         ` <20081202064345.31DB4802A-4ZM2p5qjiQGewZBzVTKGGg@public.gmane.org>
2008-12-03  3:00                           ` Ryusuke Konishi
     [not found]                             ` <20081203.120021.27010822.ryusuke-sG5X7nlA6pw@public.gmane.org>
2008-12-03  6:49                               ` Adrian Ulrich
     [not found]                                 ` <20081203064930.B64F0829D-4ZM2p5qjiQGewZBzVTKGGg@public.gmane.org>
2008-12-03 14:39                                   ` Ryusuke Konishi
     [not found]                                     ` <20081203162628.B82C3829D@blinkenlights.ch>
     [not found]                                       ` <20081203162628.B82C3829D-4ZM2p5qjiQGewZBzVTKGGg@public.gmane.org>
2008-12-04  8:06                                         ` Ryusuke Konishi
     [not found]                                           ` <20081204.170654.88475919.ryusuke-sG5X7nlA6pw@public.gmane.org>
2008-12-04  8:29                                             ` Adrian Ulrich
     [not found]                                               ` <20081204092947.c29d230d.adrian-4ZM2p5qjiQGewZBzVTKGGg@public.gmane.org>
2008-12-04 12:58                                                 ` Ryusuke Konishi [this message]
     [not found]                                                   ` <20081204.215805.88483726.ryusuke-sG5X7nlA6pw@public.gmane.org>
2008-12-04 13:04                                                     ` Adrian Ulrich
     [not found]                                                       ` <20081204140431.ec72f1ec.adrian-4ZM2p5qjiQGewZBzVTKGGg@public.gmane.org>
2008-12-06 19:05                                                         ` Ryusuke Konishi
     [not found]                                                           ` <20081207.040509.20004012.ryusuke-sG5X7nlA6pw@public.gmane.org>
2008-12-06 19:53                                                             ` Reinoud Zandijk
     [not found]                                                               ` <20081206195308.GA11115-5cYspOl2ggRz6xQTk39kMVfVdRo2wo/d@public.gmane.org>
2008-12-07  3:55                                                                 ` Ryusuke Konishi
2008-12-07 12:23                                                             ` Adrian Ulrich
     [not found]                                                               ` <20081207132335.868f8479.adrian-4ZM2p5qjiQGewZBzVTKGGg@public.gmane.org>
2008-12-07 16:04                                                                 ` Ryusuke Konishi
     [not found]                                                                   ` <20081208.010407.85941224.ryusuke-sG5X7nlA6pw@public.gmane.org>
2008-12-08 16:57                                                                     ` Adrian Ulrich
     [not found]                                                                       ` <20081208165702.DC1388309-4ZM2p5qjiQGewZBzVTKGGg@public.gmane.org>
2008-12-08 19:08                                                                         ` Ryusuke Konishi
2008-12-04  8:30                                             ` Chris Samuel
     [not found]                                               ` <200812041931.02528.chris-Ru3vu9m2XlBAfugRpC6u6w@public.gmane.org>
2008-12-04 10:25                                                 ` Ryusuke Konishi

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20081204.215805.88483726.ryusuke@osrg.net \
    --to=ryusuke-sg5x7nla6pw@public.gmane.org \
    --cc=adrian-4ZM2p5qjiQGewZBzVTKGGg@public.gmane.org \
    --cc=users-JrjvKiOkagjYtjvyW6yDsg@public.gmane.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.