linux-lvm.redhat.com archive mirror
 help / color / mirror / Atom feed
* [linux-lvm] pvscan/vgscan/lvscan error
@ 2007-02-16  8:48 Jordi Prats
  2007-02-18 19:05 ` Jordi Prats
  0 siblings, 1 reply; 3+ messages in thread
From: Jordi Prats @ 2007-02-16  8:48 UTC (permalink / raw)
  To: linux-lvm

Hi all,
I've found that all vgscan is giving me an error. This is the output:

# vgscan -v
    Wiping cache of LVM-capable devices
    Wiping internal VG cache
  Reading all physical volumes.  This may take a while...
    Finding all volume groups
  /dev/dm-4: read failed after 0 of 4096 at 12989693952: Input/output error
  /dev/dm-4: read failed after 0 of 4096 at 0: Input/output error
    Finding volume group "padicat"
  Found volume group "padicat" using metadata type lvm2
    Finding volume group "vg_bbdd"
  Found volume group "vg_bbdd" using metadata type lvm2
    Finding volume group "vg_ordal"
  Found volume group "vg_ordal" using metadata type lvm2

Any idea what this "Input/output error" on /dev/dm-4 does it means? What 
is causing this error?

Thank you!

-- 
......................................................................
         __
        / /          Jordi Prats
  C E / S / C A      Dept. de Sistemes
      /_/            Centre de Supercomputaci� de Catalunya

  Gran Capit�, 2-4 (Edifici Nexus) � 08034 Barcelona
  T. 93 205 6464 � F.  93 205 6979 � jprats@cesca.es
...................................................................... 

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [linux-lvm] pvscan/vgscan/lvscan error
  2007-02-16  8:48 [linux-lvm] pvscan/vgscan/lvscan error Jordi Prats
@ 2007-02-18 19:05 ` Jordi Prats
  2007-02-28 18:02   ` Dave Wysochanski
  0 siblings, 1 reply; 3+ messages in thread
From: Jordi Prats @ 2007-02-18 19:05 UTC (permalink / raw)
  To: LVM general discussion and development

Hello,
I've found more errors using lvm commands. This time using vgdisplay and
lvdisplay:

# vgdisplay
  /dev/sdb: read failed after 0 of 4096 at 0: Input/output error
  /dev/sde: read failed after 0 of 4096 at 0: Input/output error
  /dev/sdf: read failed after 0 of 4096 at 0: Input/output error
  /dev/sdg: read failed after 0 of 4096 at 0: Input/output error
  /dev/sdi: read failed after 0 of 4096 at 0: Input/output error
  /dev/sdk: read failed after 0 of 4096 at 0: Input/output error
  /dev/sdl: read failed after 0 of 4096 at 0: Input/output error
  /dev/sdp: read failed after 0 of 4096 at 0: Input/output error
  --- Volume group ---
(...)

# lvdisplay
  /dev/sdb: read failed after 0 of 4096 at 0: Input/output error
  /dev/sde: read failed after 0 of 4096 at 0: Input/output error
  /dev/sdf: read failed after 0 of 4096 at 0: Input/output error
  /dev/sdg: read failed after 0 of 4096 at 0: Input/output error
  /dev/sdi: read failed after 0 of 4096 at 0: Input/output error
  /dev/sdk: read failed after 0 of 4096 at 0: Input/output error
  /dev/sdl: read failed after 0 of 4096 at 0: Input/output error
  /dev/sdp: read failed after 0 of 4096 at 0: Input/output error
  --- Logical volume ---
(...)

I don't know what is causing this. Anyone can help me with this problem?

Thank you!
Jordi

Jordi Prats wrote:
> Hi all,
> I've found that all vgscan is giving me an error. This is the output:
> 
> # vgscan -v
>    Wiping cache of LVM-capable devices
>    Wiping internal VG cache
>  Reading all physical volumes.  This may take a while...
>    Finding all volume groups
>  /dev/dm-4: read failed after 0 of 4096 at 12989693952: Input/output error
>  /dev/dm-4: read failed after 0 of 4096 at 0: Input/output error
>    Finding volume group "padicat"
>  Found volume group "padicat" using metadata type lvm2
>    Finding volume group "vg_bbdd"
>  Found volume group "vg_bbdd" using metadata type lvm2
>    Finding volume group "vg_ordal"
>  Found volume group "vg_ordal" using metadata type lvm2
> 
> Any idea what this "Input/output error" on /dev/dm-4 does it means? What
> is causing this error?
> 
> Thank you!
> 

-- 
......................................................................
        __
       / /          Jordi Prats Catal�
 C E / S / C A      Departament de Sistemes
     /_/            Centre de Supercomputaci� de Catalunya

 Gran Capit�, 2-4 (Edifici Nexus) � 08034 Barcelona
 T. 93 205 6464 � F.  93 205 6979 � jprats@cesca.es
......................................................................
pgp:0x5D0D1321
......................................................................

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [linux-lvm] pvscan/vgscan/lvscan error
  2007-02-18 19:05 ` Jordi Prats
@ 2007-02-28 18:02   ` Dave Wysochanski
  0 siblings, 0 replies; 3+ messages in thread
From: Dave Wysochanski @ 2007-02-28 18:02 UTC (permalink / raw)
  To: LVM general discussion and development

On Sun, 2007-02-18 at 20:05 +0100, Jordi Prats wrote:
> Hello,
> I've found more errors using lvm commands. This time using vgdisplay and
> lvdisplay:
> 
> # vgdisplay
>   /dev/sdb: read failed after 0 of 4096 at 0: Input/output error
>   /dev/sde: read failed after 0 of 4096 at 0: Input/output error
>   /dev/sdf: read failed after 0 of 4096 at 0: Input/output error
>   /dev/sdg: read failed after 0 of 4096 at 0: Input/output error
>   /dev/sdi: read failed after 0 of 4096 at 0: Input/output error
>   /dev/sdk: read failed after 0 of 4096 at 0: Input/output error
>   /dev/sdl: read failed after 0 of 4096 at 0: Input/output error
>   /dev/sdp: read failed after 0 of 4096 at 0: Input/output error
>   --- Volume group ---
> (...)
> 
> # lvdisplay
>   /dev/sdb: read failed after 0 of 4096 at 0: Input/output error
>   /dev/sde: read failed after 0 of 4096 at 0: Input/output error
>   /dev/sdf: read failed after 0 of 4096 at 0: Input/output error
>   /dev/sdg: read failed after 0 of 4096 at 0: Input/output error
>   /dev/sdi: read failed after 0 of 4096 at 0: Input/output error
>   /dev/sdk: read failed after 0 of 4096 at 0: Input/output error
>   /dev/sdl: read failed after 0 of 4096 at 0: Input/output error
>   /dev/sdp: read failed after 0 of 4096 at 0: Input/output error
>   --- Logical volume ---
> (...)
> 
> I don't know what is causing this. Anyone can help me with this problem?
> 
> Thank you!
> Jordi
> 

What kind of storage do you have?

This might happen if you have an active/passive storage array.  The
passive paths won't accept I/O, but will show up in a device list.  LVM
(and other processes/threads) tries to do I/O to all devices (unless
they are filtered out in /etc/lvm.conf), and so you get I/O errors.  



> Jordi Prats wrote:
> > Hi all,
> > I've found that all vgscan is giving me an error. This is the output:
> > 
> > # vgscan -v
> >    Wiping cache of LVM-capable devices
> >    Wiping internal VG cache
> >  Reading all physical volumes.  This may take a while...
> >    Finding all volume groups
> >  /dev/dm-4: read failed after 0 of 4096 at 12989693952: Input/output error
> >  /dev/dm-4: read failed after 0 of 4096 at 0: Input/output error
> >    Finding volume group "padicat"
> >  Found volume group "padicat" using metadata type lvm2
> >    Finding volume group "vg_bbdd"
> >  Found volume group "vg_bbdd" using metadata type lvm2
> >    Finding volume group "vg_ordal"
> >  Found volume group "vg_ordal" using metadata type lvm2
> > 
> > Any idea what this "Input/output error" on /dev/dm-4 does it means? What
> > is causing this error?
> > 
> > Thank you!
> > 
> 

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2007-02-28 18:02 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-02-16  8:48 [linux-lvm] pvscan/vgscan/lvscan error Jordi Prats
2007-02-18 19:05 ` Jordi Prats
2007-02-28 18:02   ` Dave Wysochanski

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).