All of lore.kernel.org
 help / color / mirror / Atom feed
From: Tejun Heo <htejun@gmail.com>
To: David Shaw <dshaw@jabberwocky.com>
Cc: linux-ide@vger.kernel.org
Subject: Re: Possible data corruption sata_sil24?
Date: Wed, 11 Jul 2007 00:28:32 +0900	[thread overview]
Message-ID: <4693A5A0.5070306@gmail.com> (raw)
In-Reply-To: <20070706012432.GB29789@jabberwocky.com>

Hello,

David Shaw wrote:
> I'm having a problem with data corruption using devmapper on a SATA
> disk using sata_sil24.  I've done some work tracking it down, and
> hopefully you folks can point me further in the right direction.
> 
> The kernel I'm using is 2.6.21-1.3228.fc7 (i.e. Fedora 7).  LVM2 is
> lvm2-2.02.24-1.fc7.  The dmsetup and libdevmapper is
> device-mapper-1.02.17-7.fc7.
> 
> The original setup that showed the problem is this:
> 
> Starting with two 500GB SATA drives (interface card uses a Silicon
> 3124 chipset), /dev/sdd and /dev/sde.  I partitioned each into two
> 250GB chunks (250*1000*1000*1000, not 250*1024*1024*1024), and set up
> two RAID 1 sets such that /dev/md0 is /dev/sdd1+/dev/sde1 and /dev/md2
> is /dev/sdd2+/dev/sde2.  I then created a volume group ("storage") on
> top of /dev/md0 and /dev/md1.  Finally, I allocated two logical
> volumes on top of that: "one" is -L300GB and "two" is -L100GB.

-ETOOMANYCOMPNONETS.  If it's data corruption with sata_sil24, it's
highly likely that you're gonna be able to regenerate the problem
without using raw /dev/sdd and /dev/sde devices.  Please try that.

> Note that this simplified reproduction case uses only the device
> mapper: RAID is not involved, nor is LVM.  "dmsetup table" says:
> 
> two: 0 209715200 linear 8:32 482345000
> one: 0 482344960 linear 8:32 0

Can you try this on another controller so that we can tell whether the
problem lies with dm or ata?

-- 
tejun

  reply	other threads:[~2007-07-10 15:28 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-07-06  1:24 Possible data corruption sata_sil24? David Shaw
2007-07-10 15:28 ` Tejun Heo [this message]
2007-07-13  1:42   ` David Shaw
2007-07-13  7:34     ` Tejun Heo
2007-07-13 11:59       ` David Shaw
2007-07-18  8:53         ` Tejun Heo
2007-07-18 12:31           ` David Shaw
2007-07-19  8:03             ` Tejun Heo

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=4693A5A0.5070306@gmail.com \
    --to=htejun@gmail.com \
    --cc=dshaw@jabberwocky.com \
    --cc=linux-ide@vger.kernel.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.