All of lore.kernel.org
 help / color / mirror / Atom feed
From: malahal@us.ibm.com
To: dm-devel@redhat.com
Subject: Re: Removing a failed device from LVM2/DM
Date: Tue, 1 Sep 2009 15:47:04 -0700	[thread overview]
Message-ID: <20090901224704.GA23179@us.ibm.com> (raw)
In-Reply-To: <1251838679.5459.148.camel@cail>

Alan D. Brunelle [Alan.Brunelle@hp.com] wrote:
> Unfortunately:
> 
> # rm -rf /etc/lvm/cache
> 
> # vgscan
>   Reading all physical volumes.  This may take a while...
>   /dev/disk/by-id/scsi-360060b0000837a508c01035ef0d00033: read failed
> after 0 of 512 at 0: Input/output error
>   /dev/disk/by-id/scsi-360060b0000837a508c01035ef0d00033: read failed
> after 0 of 512 at 291347562496: Input/output error
>   /dev/disk/by-id/scsi-360060b0000837a508c01035ef0d00033: read failed
> after 0 of 512 at 291347632128: Input/output error
>   /dev/disk/by-id/scsi-360060b0000837a508c01035ef0d00033: read failed
> after 0 of 512 at 0: Input/output error
>   /dev/disk/by-id/scsi-360060b0000837a508c01035ef0d00033: read failed
> after 0 of 512 at 4096: Input/output error
>   /dev/disk/by-id/scsi-360060b0000837a508c01035ef0d00033: read failed
> after 0 of 2048 at 0: Input/output error
>   Found volume group "vg" using metadata type lvm2

Looks like you have some symbolic links that point to a dead device.
Change your filter to accept devices appropriately, maybe like below
(untested!).

filter = [ "r|sdab|", a|/dev/sd|", "r|.*|" ]

The above filter would avoid looking at /dev/disk/by-id and other
unneeded directories.

Thanks, Malahal.

  reply	other threads:[~2009-09-01 22:47 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-08-31 15:16 Removing a failed device from LVM2/DM Alan D. Brunelle
2009-08-31 16:02 ` Takahiro Yasui
2009-08-31 16:24   ` malahal
2009-08-31 16:55   ` Alan D. Brunelle
2009-08-31 17:37     ` Takahiro Yasui
2009-09-01 16:16 ` Alan D. Brunelle
2009-09-01 16:25   ` malahal
2009-09-01 18:42     ` Alan D. Brunelle
2009-09-01 19:08       ` malahal
2009-09-01 20:57         ` Alan D. Brunelle
2009-09-01 22:47           ` malahal [this message]
2009-09-03 14:53             ` Alan D. Brunelle
2009-09-03 15:15               ` malahal
2009-09-23  4:59                 ` Javier Barroso

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=20090901224704.GA23179@us.ibm.com \
    --to=malahal@us.ibm.com \
    --cc=dm-devel@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.