[CentOS] LVM Input/output error

Sat Jul 8 16:48:09 UTC 2006
Itay <itayf at nospammail.net>


From: William L. Maltby <BillsCentOS at triad.rr.com>

> From: Itay <itayf at nospammail.net>

> > Also, I just started working with lvm.  The following warnings
> > are genertated whenever I run one of lvm commands on the external
> > usb disk (MyBook by Western Digital).

[snip]

> > [root at frodo pilpel10]# vgcreate VGe1 /dev/sdc2

> Did you do pvcreate?

As far as I remember -- yes.
When I return to my office, at the beginning of next week, I'll 
look at the terminal session to see the exact command sequence. 
But my conviction is reinforced by the output of pvscan and 
pvdisplay (wasn't in the original message) below.

> >    /dev/dm-11: read failed after 0 of 4096 at 5242814464: Input/output error
> >    /dev/dm-11: read failed after 0 of 4096 at 0: Input/output error
> >    /dev/dm-12: read failed after 0 of 4096 at 54460416: Input/output error
> >    /dev/dm-12: read failed after 0 of 4096 at 0: Input/output error
[snip]
> >    Volume group "VGe1" successfully created

> > [root at frodo pilpel10]# pvscan
> >    /dev/dm-11: read failed after 0 of 4096 at 5242814464: Input/output error
> >    /dev/dm-11: read failed after 0 of 4096 at 0: Input/output error
[snip]
> >    PV /dev/sdc2   VG VGe1   lvm2 [296.13 GB / 296.13 GB free]
> >    PV /dev/sda2   VG VG00   lvm2 [232.78 GB / 1.78 GB free]
> >    Total: 2 [528.91 GB] / in use: 2 [528.91 GB] / in no VG: 0 [0   ]
>

[root at frodo ~]# pvdisplay /dev/sdc2
   /dev/dm-11: read failed after 0 of 4096 at 0: Input/output error
   /dev/dm-12: read failed after 0 of 4096 at 0: Input/output error
   /dev/dm-13: read failed after 0 of 4096 at 0: Input/output error
   /dev/dm-14: read failed after 0 of 4096 at 0: Input/output error
   --- Physical volume ---
   PV Name               /dev/sdc2
   VG Name               VGe1
   PV Size               296.13 GB / not usable 0
   Allocatable           yes
   PE Size (KByte)       4096
   Total PE              75810
   Free PE               24098
   Allocated PE          51712
   PV UUID               Ue56s5-nkax-csIU-6iBX-l4eb-hIJ1-nxJLgl


 	Thanks,
 	Itay