Input Outpout Error

Scott_Purcell at Dell.com Scott_Purcell at Dell.com
Tue Nov 6 14:31:11 CST 2007


A disclaimer... I'm not one of Dell's engineers on Linux or on the
hardware and I don't offer this as authoritative.  I'm a trainer who has
worked with LVM in RHEL 4 on servers with SCSI drives. Your problem,
while not exactly anything I've seen, is at least reminiscient of
something I've seen in my classes.

In the commands you list below, it looks like you created partitions,
used partprobe to cause them to be recognized w/o a reboot, and then put
them into use for LVM. In RHEL4, that was always problematic for me. In
the software RAID labs, we could get by with partprobe and carry on...
But for LVM, that always caused problems. I learned to always reboot
after creating partitions intended for LVM usage -- and things worked
flawlessly after that.

Take it for what it is worth...  

Scott

Scott Purcell  
(512) 723-7427 
Dell Services http://www.dell.com/services
How am I doing? Email my manager, Sherry_Dossman at Dell.com, with any
feedback.


-----Original Message-----
From: linux-poweredge-bounces at dell.com
[mailto:linux-poweredge-bounces at dell.com] On Behalf Of Mad Unix
Sent: Tuesday, November 06, 2007 12:53 AM
To: linux-poweredge-Lists
Subject: Input Outpout Error

I built the first LUN with 50G with (/dev/sdb, /dev/sdd) then I expanded
with another 50G (/dev/sdc, /dev/sde) the expansion done without error
but i still have the error i/o ...
 I get this when doing pvscan, vgscan, and lvscan, lvdsipaly, fdisk -l
for example:

[root at linux1 ~]# df -kh
Filesystem            Size  Used Avail Use% Mounted on
/dev/mapper/VolGroup00-LogVol00
                       53G  3.8G   46G   8% /
/dev/sda3              99M   13M   82M  14% /boot
tmpfs                 7.9G     0  7.9G   0% /dev/shm
[root at linux1 ~]# df -kh
Filesystem            Size  Used Avail Use% Mounted on
/dev/mapper/VolGroup00-LogVol00
                       53G  3.8G   46G   8% /
/dev/sda3              99M   13M   82M  14% /boot
tmpfs                 7.9G     0  7.9G   0% /dev/shm
[root at linux1 ~]# partprobe
[root at linux1 ~]# service multipathd restart Stopping multipathd daemon:
[  OK  ] Starting multipathd daemon: [  OK  ]
[root at linux1 ~]# fdisk -l

Disk /dev/sda: 72.7 GB, 72746008576 bytes
255 heads, 63 sectors/track, 8844 cylinders Units = cylinders of 16065 *
512 = 8225280 bytes

   Device Boot      Start         End      Blocks   Id  System
/dev/sda1               1           5       40131   de  Dell Utility
/dev/sda2   *           6        1543    12353985   83  Linux
/dev/sda3            1544        1556      104422+  83  Linux
/dev/sda4            1557        8844    58540860    5  Extended
/dev/sda5            1557        8844    58540828+  8e  Linux LVM

Disk /dev/sdb: 107.3 GB, 107374182400 bytes
255 heads, 63 sectors/track, 13054 cylinders Units = cylinders of 16065
* 512 = 8225280 bytes

Disk /dev/sdb doesn't contain a valid partition table

Disk /dev/sdd: 107.3 GB, 107374182400 bytes
255 heads, 63 sectors/track, 13054 cylinders Units = cylinders of 16065
* 512 = 8225280 bytes

Disk /dev/sdd doesn't contain a valid partition table

Disk /dev/dm-2: 107.3 GB, 107374182400 bytes
255 heads, 63 sectors/track, 13054 cylinders Units = cylinders of 16065
* 512 = 8225280 bytes

Disk /dev/dm-2 doesn't contain a valid partition table
[root at linux1 ~]# lvscan
  /dev/sdc: read failed after 0 of 4096 at 0: Input/output error
  /dev/sde: read failed after 0 of 4096 at 0: Input/output error
  ACTIVE            '/dev/VolGroup00/LogVol00' [53.88 GB] inherit
  ACTIVE            '/dev/VolGroup00/LogVol01' [1.94 GB] inherit
[root at linux1 ~]# pvscan
  /dev/sdc: read failed after 0 of 4096 at 0: Input/output error
  /dev/sdc: read failed after 0 of 4096 at 107374116864: Input/output
error
  /dev/sdc: 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/sde: read failed after 0 of 4096 at 107374116864: Input/output
error
  /dev/sde: read failed after 0 of 4096 at 0: Input/output error
  PV /dev/sda5   VG VolGroup00   lvm2 [55.81 GB / 0    free]
  PV /dev/dm-2   VG linux1       lvm2 [100.00 GB / 100.00 GB free]
  Total: 2 [155.81 GB] / in use: 2 [155.81 GB] / in no VG: 0 [0   ]
[root at linux1 ~]# vgscan
  Reading all physical volumes.  This may take a while...
  /dev/sdc: read failed after 0 of 4096 at 0: Input/output error
  /dev/sdc: read failed after 0 of 4096 at 107374116864: Input/output
error
  /dev/sdc: 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/sde: read failed after 0 of 4096 at 107374116864: Input/output
error
  /dev/sde: read failed after 0 of 4096 at 0: Input/output error
  Found volume group "VolGroup00" using metadata type lvm2
  Found volume group "linux1" using metadata type lvm2
[root at linux1 ~]#

[root at linux1 ~]# lvdispaly
-bash: lvdispaly: command not found
[root at linux1 ~]# lvdisplay
  /dev/sdc: read failed after 0 of 4096 at 0: Input/output error
  /dev/sde: read failed after 0 of 4096 at 0: Input/output error
  --- Logical volume ---
  LV Name                /dev/VolGroup00/LogVol00
  VG Name                VolGroup00
  LV UUID                pqbv9V-TggT-0Gwx-rTpq-hhRY-NuPF-VUagRf
  LV Write Access        read/write
  LV Status              available
  # open                 1
  LV Size                53.88 GB
  Current LE             1724
  Segments               1
  Allocation             inherit
  Read ahead sectors     0
  Block device           253:0

  --- Logical volume ---
  LV Name                /dev/VolGroup00/LogVol01
  VG Name                VolGroup00
  LV UUID                W84SdD-e07O-Bv8j-okci-YaGH-ia3S-TSoJ1C
  LV Write Access        read/write
  LV Status              available
  # open                 1
  LV Size                1.94 GB
  Current LE             62
  Segments               1
  Allocation             inherit
  Read ahead sectors     0
  Block device           253:1


--
madunix

_______________________________________________
Linux-PowerEdge mailing list
Linux-PowerEdge at dell.com
http://lists.us.dell.com/mailman/listinfo/linux-poweredge
Please read the FAQ at http://lists.us.dell.com/faq



More information about the Linux-PowerEdge mailing list