From: Stuart D Gathman <stuart@bmsi.com>
To: linux-lvm@redhat.com
Subject: Re: [linux-lvm] Errors from a mirrored LV
Date: Sun, 12 Sep 2010 21:50:44 -0400 [thread overview]
Message-ID: <4C8D8374.6040706@bmsi.com> (raw)
In-Reply-To: <1284181378.3968.14.camel@pc7.dolda2000.com>
On 09/11/2010 01:02 AM, Fredrik Tolf wrote:
> Having a disk that's going awry, I'm glad I've got the data in a
> mirrored LV so that I can replace it.
>
> sd 3:0:0:0: [sdd] Add. Sense: Unrecovered read error - auto reallocate
> failed
> end_request: I/O error, dev sdd, sector 662969514
> ata4: EH complete
> I/O error in filesystem ("dm-3") meta-data dev dm-3 block 0x27841ae8
> ("xfs_trans_read_buf") error 5 buf count 4096
>
> Note that last line of log, emitted by XFS.
>
> Shouldn't LVM, when a read fails in a mirror, try to fetch that data
> from the second disk instead?
>
Correct me if I'm wrong, but LVM mirror support is still experimental
and doesn't do a lot of things. If you need reliable mirroring now, use
the md driver for raid1, and add the /dev/md* devices as physical volumes.
In the meantime, you should probably remove the failing PV.
AIX is still the best LVM mirroring I've seen. I know ZFS is great too,
but it is more tied to a specific filesystem.
prev parent reply other threads:[~2010-09-13 1:50 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-09-11 5:02 [linux-lvm] Errors from a mirrored LV Fredrik Tolf
2010-09-13 1:50 ` Stuart D Gathman [this message]
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=4C8D8374.6040706@bmsi.com \
--to=stuart@bmsi.com \
--cc=linux-lvm@redhat.com \
/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.