end_request I/O error
Harald_Jensas at Dell.com
Harald_Jensas at Dell.com
Sat Dec 15 07:58:52 CST 2007
Hi,
I am sure the devices logging the errors are the device for a path to the SAN SP that currently is not owning the LUN. E.g you have the errors for sdb, then sdc and sdd is ok, then you have the errors for sde again. Since the SAN is active/passive only 2 paths can be used, the other two paths are in standby mode. E.g These messages logged at boot up may be ignored.
I see you also found that LVM is confused because you have 4 paths to the same LUN, thus it reports 4 duplicates for each LUN.
You should look at the PowerPath Installation Guide, specifically the “configuring LVM2 support” section.
You want to configure LVM not to scan, filter out, the sd devices that is a path to the SAN LUN.
You must modify the /etc/lvm/lvm.conf file so that LVM2 recognizes a PowerPath pseudo device as the single path to LUN.
Example for RHEL 4 U4 and RHEL 5 if / (root) file system not mounted on a LVM volume.
filter = [ "r/sd.*/", "r/disk.*/", "a/.*/" ]
If / (root) file system is mounted on a LVM volume you need to allow LVM to scan the devices with /, swap and /boot if applicable. If that is the case and / (root) etc. is on sda you have to add something like ‘ "a/sda[1-9]$/", "r/emcpowera2/", ‘ to the beginning of the filter.
Read the PowerPath Installation Guide for version 5.0 rev A02 for further instructions.
Once the fileter has been configured correctly you need to run the following commands:
$ vgscan –v (Rebuilds the LVM Cache)
$ lvmdiskscan (Verify that the devices you expect to be filtered are not listed)
$ mkinitrd (Update initrd to reflect the config changes)
---
Harald Jensås
From: linux-poweredge-bounces at dell.com [mailto:linux-poweredge-bounces at dell.com] On Behalf Of Mad Unix
Sent: 13 December 2007 16:51
To: linux-poweredge-Lists
Subject: end_request I/O error
My server is attached to SAN
I have the following notes inside my dmesg
SCSI device sdb: 10485760 512-byte hdwr sectors (5369 MB)
sdb: test WP failed, assume Write Enabled
sdb: asking for cache data failed
sdb: assuming drive cache: write through
SCSI device sdb: 10485760 512-byte hdwr sectors (5369 MB)
sdb: test WP failed, assume Write Enabled
sdb: asking for cache data failed
sdb: assuming drive cache: write through
sdb:<6>sd 1:0:0:0: Device not ready: <6>: Current: sense key: Not Ready
Add. Sense: Logical unit not ready, manual intervention required
end_request: I/O error, dev sdb, sector 0
Buffer I/O error on device sdb, logical block 0
sd 1:0:0:0: Device not ready: <6>: Current: sense key: Not Ready
Add. Sense: Logical unit not ready, manual intervention required
end_request: I/O error, dev sdb, sector 0
Buffer I/O error on device sdb, logical block 0
sd 1:0:0:0: Device not ready: <6>: Current: sense key: Not Ready
Add. Sense: Logical unit not ready, manual intervention required
end_request: I/O error, dev sdb, sector 0
Buffer I/O error on device sdb, logical block 0
sd 1:0:0:0: Device not ready: <6>: Current: sense key: Not Ready
Add. Sense: Logical unit not ready, manual intervention required
end_request: I/O error, dev sdb, sector 0
Buffer I/O error on device sdb, logical block 0
sd 1:0:0:0: Device not ready: <6>: Current: sense key: Not Ready
Add. Sense: Logical unit not ready, manual intervention required
end_request: I/O error, dev sdb, sector 0
Buffer I/O error on device sdb, logical block 0
sd 1:0:0:0: Device not ready: <6>: Current: sense key: Not Ready
Add. Sense: Logical unit not ready, manual intervention required
end_request: I/O error, dev sdb, sector 0
Buffer I/O error on device sdb, logical block 0
sd 1:0:0:0: Device not ready: <6>: Current: sense key: Not Ready
Add. Sense: Logical unit not ready, manual intervention required
end_request: I/O error, dev sdb, sector 0
Buffer I/O error on device sdb, logical block 0
Dev sdb: unable to read RDB block 0
sd 1:0:0:0: Device not ready: <6>: Current: sense key: Not Ready
Add. Sense: Logical unit not ready, manual intervention required
end_request: I/O error, dev sdb, sector 0
Buffer I/O error on device sdb, logical block 0
sd 1:0:0:0: Device not ready: <6>: Current: sense key: Not Ready
Add. Sense: Logical unit not ready, manual intervention required
end_request: I/O error, dev sdb, sector 0
Buffer I/O error on device sdb, logical block 0
unable to read partition table
sd 1:0:0:0: Attached scsi disk sdb
Vendor: DGC Model: RAID 5 Rev: 0324
Type: Direct-Access ANSI SCSI revision: 04
SCSI device sdc: 20971520 512-byte hdwr sectors (10737 MB)
sdc: Write Protect is off
sdc: Mode Sense: 87 00 00 08
SCSI device sdc: drive cache: write through
SCSI device sdc: 20971520 512-byte hdwr sectors (10737 MB)
sdc: Write Protect is off
sdc: Mode Sense: 87 00 00 08
SCSI device sdc: drive cache: write through
sdc: sdc1
sd 1:0:0:1: Attached scsi disk sdc
Vendor: DGC Model: RAID 5 Rev: 0324
Type: Direct-Access ANSI SCSI revision: 04
SCSI device sdd: 10485760 512-byte hdwr sectors (5369 MB)
sdd: Write Protect is off
sdd: Mode Sense: 87 00 00 08
SCSI device sdd: drive cache: write through
SCSI device sdd: 10485760 512-byte hdwr sectors (5369 MB)
sdd: Write Protect is off
sdd: Mode Sense: 87 00 00 08
SCSI device sdd: drive cache: write through
sdd: unknown partition table
sd 1:0:1:0: Attached scsi disk sdd
usb 2-1: new low speed USB device using uhci_hcd and address 2
Vendor: DGC Model: RAID 5 Rev: 0324
Type: Direct-Access ANSI SCSI revision: 04
SCSI device sde: 20971520 512-byte hdwr sectors (10737 MB)
sde: test WP failed, assume Write Enabled
sde: asking for cache data failed
sde: assuming drive cache: write through
SCSI device sde: 20971520 512-byte hdwr sectors (10737 MB)
sde: test WP failed, assume Write Enabled
sde: asking for cache data failed
sde: assuming drive cache: write through
sde:<6>sd 1:0:1:1: Device not ready: <6>: Current: sense key: Not Ready
Add. Sense: Logical unit not ready, manual intervention required
end_request: I/O error, dev sde, sector 0
Buffer I/O error on device sde, logical block 0
sd 1:0:1:1: Device not ready: <6>: Current: sense key: Not Ready
Add. Sense: Logical unit not ready, manual intervention required
end_request: I/O error, dev sde, sector 0
sd 1:0:1:1: Device not ready: <6>: Current: sense key: Not Ready
Add. Sense: Logical unit not ready, manual intervention required
end_request: I/O error, dev sde, sector 0
sd 1:0:1:1: Device not ready: <6>: Current: sense key: Not Ready
Add. Sense: Logical unit not ready, manual intervention required
end_request: I/O error, dev sde, sector 0
sd 1:0:1:1: Device not ready: <6>: Current: sense key: Not Ready
Add. Sense: Logical unit not ready, manual intervention required
end_request: I/O error, dev sde, sector 0
sd 1:0:1:1: Device not ready: <6>: Current: sense key: Not Ready
Add. Sense: Logical unit not ready, manual intervention required
end_request: I/O error, dev sde, sector 0
sd 1:0:1:1: Device not ready: <6>: Current: sense key: Not Ready
Add. Sense: Logical unit not ready, manual intervention required
[root at linux4 ~]# pvs
Found duplicate PV bh1L5cO1rWjVfKUc8RRNfmvaLxhgNgga: using /dev/emcpowerb not /dev/sdb
Found duplicate PV bh1L5cO1rWjVfKUc8RRNfmvaLxhgNgga: using /dev/sdd not /dev/emcpowerb
Found duplicate PV bh1L5cO1rWjVfKUc8RRNfmvaLxhgNgga: using /dev/sdf not /dev/sdd
Found duplicate PV bh1L5cO1rWjVfKUc8RRNfmvaLxhgNgga: using /dev/sdh not /dev/sdf
PV VG Fmt Attr PSize PFree
/dev/sda2 VolGroup00 lvm2 a- 67.62G 0
/dev/sdh emc4_vg1 lvm2 a- 5.00G 4.00M
[root at linux4 ~]# vgs
Found duplicate PV bh1L5cO1rWjVfKUc8RRNfmvaLxhgNgga: using /dev/emcpowerb not /dev/sdb
Found duplicate PV bh1L5cO1rWjVfKUc8RRNfmvaLxhgNgga: using /dev/sdd not /dev/emcpowerb
Found duplicate PV bh1L5cO1rWjVfKUc8RRNfmvaLxhgNgga: using /dev/sdf not /dev/sdd
Found duplicate PV bh1L5cO1rWjVfKUc8RRNfmvaLxhgNgga: using /dev/sdh not /dev/sdf
VG #PV #LV #SN Attr VSize VFree
VolGroup00 1 2 0 wz--n- 67.62G 0
emc4_vg1 1 1 0 wz--n- 5.00G 4.00M
--
madunix
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.us.dell.com/pipermail/linux-poweredge/attachments/20071215/798a1347/attachment-0001.htm
More information about the Linux-PowerEdge
mailing list