[CentOS] LVM Input/output error

Itay itayf at nospammail.net
Sat Jul 8 18:01:39 UTC 2006


On Sat, 2006-07-08 at 19:48 +0300, Itay wrote:
>
> From: William L. Maltby <BillsCentOS at triad.rr.com>
>

[snip]

> > [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
>

> 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
>

[root at frodo ~]# sfdisk -l /dev/sdc

Disk /dev/sdc: 38913 cylinders, 255 heads, 63 sectors/track
Units = cylinders of 8225280 bytes, blocks of 1024 bytes, 
counting from 0

    Device Boot Start     End   #cyls    #blocks   Id  System
/dev/sdc1   *      0+    254     255-   2048256    c  W95 FAT32 (LBA)
/dev/sdc2        255   38912   38658  310520385   83  Linux
/dev/sdc3          0       -       0          0    0  Empty
/dev/sdc4          0       -       0          0    0  Empty

** I note that the file system on /dev/sdc2 is 'Linux' and not 
'Linux LVM'.  This is what I got, eventhough I created it with
 	parted /dev/sdc mkpart ...


[root at frodo ~]# dd if=/dev/sdc2 of=/dev/null
12747056+0 records in
12747056+0 records out

** The above output is after letting dd running for few minutes; 
after that I killed the process because I was afraid it will take 
it too long.


 	Thank you for your help,
 	Itay




More information about the CentOS mailing list