Disk Arrays
cancel
Showing results for 
Search instead for 
Did you mean: 

LVM errors - SCSI Read error

Bill Swisher
Occasional Visitor

LVM errors - SCSI Read error

Yesterday I saw these errors for a few hours then they went away. Does this appear to be a disk or controller error?


Apr 18 09:55
LVM: Recovered Path (device 0x1f05c000) to PV 2 in VG 1.
LVM: Restored PV 2 to VG 1.

Apr 18 12:45
LVM: Recovered Path (device 0x1f05c000) to PV 2 in VG 1.
LVM: Restored PV 2 to VG 1.
LVM: Recovered Path (device 0x1f05c000) to PV 2 in VG 1.
LVM: Restored PV 2 to VG 1.
LVM: Recovered Path (device 0x1f05c000) to PV 2 in VG 1.
LVM: Restored PV 2 to VG 1.
LVM: Recovered Path (device 0x1f05c000) to PV 2 in VG 1.
LVM: Restored PV 2 to VG 1.
LVM: Recovered Path (device 0x1f05c000) to PV 2 in VG 1.
LVM: Restored PV 2 to VG 1.
LVM: Recovered Path (device 0x1f05c000) to PV 2 in VG 1.
LVM: Restored PV 2 to VG 1.
LVM: Recovered Path (device 0x1f05c000) to PV 2 in VG 1.
LVM: Restored PV 2 to VG 1.
LVM: Recovered Path (device 0x1f05c000) to PV 2 in VG 1.
LVM: Restored PV 2 to VG 1.
LVM: Recovered Path (device 0x1f05c000) to PV 2 in VG 1.
LVM: Restored PV 2 to VG 1.
LVM: Recovered Path (device 0x1f05c000) to PV 2 in VG 1.
LVM: Restored PV 2 to VG 1.
LVM: Recovered Path (device 0x1f05c000) to PV 2 in VG 1.
LVM: Restored PV 2 to VG 1.
LVM: Recovered Path (device 0x1f05c000) to PV 2 in VG 1.
LVM: Restored PV 2 to VG 1.
LVM: Recovered Path (device 0x1f05c000) to PV 2 in VG 1.
LVM: Restored PV 2 to VG 1.
LVM: Recovered Path (device 0x1f05c000) to PV 2 in VG 1.
LVM: Restored PV 2 to VG 1.

SCSI: Write error -- dev: b 31 0x05c000, errno: 126, resid: 2048,
blkno: 1305152, sectno: 2610304, offset: 1336475648, bcount: 2048.

SCSI: Read error -- dev: b 31 0x05c000, errno: 126, resid: 2048,
blkno: 8, sectno: 16, offset: 8192, bcount: 2048.
LVM: vg[1]: pvnum=2 (dev_t=0x1f05c000) is POWERFAILED
LVM: Recovered Path (device 0x1f05c000) to PV 2 in VG 1.
LVM: Restored PV 2 to VG 1.
1 REPLY
Sameer_Nirmal
Honored Contributor

Re: LVM errors - SCSI Read error

Hi Bill,

The error messages certainly indicates problem related to a scsi disk device and *not* with SCSI controller.

The device in question is /dev/dsk/c5t12d0
( dev: b 31 0x05c000 ).

The read & write errors are caused on account of the system error no 126 which means "error power failed". In fact, if scsi device driver's (sdisk) I/O request is timed-out, then LVM would show the device as "POWERFAILD" being not responding.
The device in this case is responding sometimes and sometimes not.

The default "sdisk" driver IO timeout is 30 secs. Certain disk arrays requires needs higher timeout value.
The value could be change using
# pvchange -t /dev/dsk/c5t12d0

Increasing IO timeout value in this case could work good.