From: "Greg Cockburn" Subject: multipath rdac - recover from both paths lost Date: Mon, 20 Oct 2008 21:29:16 +1100 Message-ID: Reply-To: device-mapper development Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1102789180==" Return-path: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: dm-devel-bounces@redhat.com Errors-To: dm-devel-bounces@redhat.com To: dm-devel@redhat.com List-Id: dm-devel.ids --===============1102789180== Content-Type: multipart/alternative; boundary="----=_Part_169485_8677947.1224498557000" ------=_Part_169485_8677947.1224498557000 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline Hi, I am trying to get back from a strage situation. I have had both paths in a RDAC setup fail and then come back. I want to know if there is a way to recover from this without a reboot. (OS = CentOS 5.1) multipath -ll mpath2 (3600a0b800035ebc8000001a94652ae50) dm-4 IBM,1726-4xx FAStT [size=1.4T][features=0][hwhandler=1 rdac] \_ round-robin 0 [prio=0][enabled] \_ 2:0:0:1 sde 8:80 [failed][ghost] \_ round-robin 0 [prio=100][active] \_ 1:0:0:1 sdf 8:96 [failed][ready] dmsetup info mpath2 Name: mpath2 State: ACTIVE Tables present: LIVE Open count: 20 Event number: 3 Major, minor: 253, 4 Number of targets: 1 UUID: mpath-3600a0b800035ebc8000001a94652ae50 vgscan Reading all physical volumes. This may take a while... /dev/mapper/mpath2: read failed after 0 of 4096 at 1497314033664: Input/output error /dev/mapper/mpath2: read failed after 0 of 4096 at 0: Input/output error dmsetup remove --force mpath2 device-mapper: remove ioctl failed: Device or resource busy Command failed multipath -f mpath2 (just exits with return code 1) dmesg <> ASC=0xe0 ASCQ=0x6ASC=0xe0 ASCQ=0x6 sde: Current: sense key: Recovered Error <> ASC=0xe0 ASCQ=0x6ASC=0xe0 ASCQ=0x6 sdf: Current: sense key: Recovered Error <> ASC=0xe0 ASCQ=0x6ASC=0xe0 ASCQ=0x6 end_request: I/O error, dev sdf, sector 61118720 device-mapper: multipath: Failing path 8:80. end_request: I/O error, dev sdf, sector 599510512 device-mapper: ioctl: unable to remove open device mpath2 device-mapper: ioctl: unable to remove open device mpath2 Any advice would be greatly appreciated. Thanks, Greg. ------=_Part_169485_8677947.1224498557000 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline
Hi,

I am trying to get back from a strage situation.

I have had both paths in a RDAC setup fail and then come back.

I want to know if there is a way to recover from this without a reboot.

(OS = CentOS 5.1)

multipath -ll
mpath2 (3600a0b800035ebc8000001a94652ae50) dm-4 IBM,1726-4xx  FAStT
[size=1.4T][features=0][hwhandler=1 rdac]
\_ round-robin 0 [prio=0][enabled]
 \_ 2:0:0:1 sde 8:80  [failed][ghost]
\_ round-robin 0 [prio=100][active]
 \_ 1:0:0:1 sdf 8:96  [failed][ready]

dmsetup info mpath2
Name:              mpath2
State:             ACTIVE
Tables present:    LIVE
Open count:        20
Event number:      3
Major, minor:      253, 4
Number of targets: 1
UUID: mpath-3600a0b800035ebc8000001a94652ae50

vgscan
  Reading all physical volumes.  This may take a while...
  /dev/mapper/mpath2: read failed after 0 of 4096 at 1497314033664: Input/output error
  /dev/mapper/mpath2: read failed after 0 of 4096 at 0: Input/output error

dmsetup remove --force mpath2



device-mapper: remove ioctl failed: Device or resource busy
Command failed

multipath -f mpath2 (just exits with return code 1)


dmesg

    <<vendor>> ASC=0xe0 ASCQ=0x6ASC=0xe0 ASCQ=0x6

sde: Current: sense key: Recovered Error
    <<vendor>> ASC=0xe0 ASCQ=0x6ASC=0xe0 ASCQ=0x6

sdf: Current: sense key: Recovered Error
    <<vendor>> ASC=0xe0 ASCQ=0x6ASC=0xe0 ASCQ=0x6

end_request: I/O error, dev sdf, sector 61118720
device-mapper: multipath: Failing path 8:80.
end_request: I/O error, dev sdf, sector 599510512

device-mapper: ioctl: unable to remove open device mpath2
device-mapper: ioctl: unable to remove open device mpath2

Any advice would be greatly appreciated.

Thanks,
Greg.
------=_Part_169485_8677947.1224498557000-- --===============1102789180== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline --===============1102789180==--