[CentOS] LVM Input/output error

William L. Maltby BillsCentOS at triad.rr.com
Sat Jul 8 17:34:45 UTC 2006


On Sat, 2006-07-08 at 19:48 +0300, Itay wrote:
> 
> 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

We are about to exceed my knowledge, as I have never used USB for
anything other than thumb drives on MS Win*. I believe I asked about
partitioning? If you do

    sfdisk -l /dev/sdc

what does it show? If you do a

   dd if=/dev/sdc2 of=/dev/null

do you get I/O errors? If so, my guess is it's not an LVM problem.

> 
> _______________________________________________
> CentOS mailing list
> CentOS at centos.org
> http://lists.centos.org/mailman/listinfo/centos
-- 
Bill
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
URL: <http://lists.centos.org/pipermail/centos/attachments/20060708/39e6e4d1/attachment.sig>


More information about the CentOS mailing list