* Hi, * * While playing around with multipath configuration, * I found a bug, maybe. Kernel is 2.4.18-rc2. * * My /etc/raidtab looks like this: raiddev /dev/md0 raid-level multipath nr-raid-disks 2 chunk-size 32 persistent-superblock 1 device /dev/cciss/c0d2 raid-disk 0 device /dev/cciss/c1d0 raid-disk 1 * /dev/cciss/c0d2 and /dev/cciss/c1d0 * are the same physical disks. * * First, I got this: cciss: cmd cff20000 is reported invalid * This was because I deliberately disconnected a scsi * cable to make the active path fail while i/o was occurring. * * Then, I got this: multipath: IO failure on cciss/c1d0, disabling IO path. Operation continuing on 0 IO paths. md: bug in file md.c, line 3277 md: ********************************** md: * <COMPLETE RAID STATE PRINTOUT> * md: ********************************** md0: <cciss/c1d0><cciss/c0d2> array superblock: md: SB: (V:0.90.0) ID:<ab96c56e.9252f7d4.97a9920a.8c37a4b2> CT:3c751d99 md: L-4 S05116224 ND:2 RD:1 md0 LO:0 CS:32768 md: UT:3c751d99 ST:0 AD:0 WD:1 FD:1 SD:1 CSUM:47b9f3a5 E:00000001 D 0: DISK<N:0,cciss/c1d0(105,0),R:0,S:1> D 1: DISK<N:1,cciss/c0d2(104,32),R:1,S:0> md: THIS: DISK<N:1,cciss/c1d0(105,0),R:1,S:6> md: rdev cciss/c1d0: O:cciss/c1d0, SZ:05116224 F:0 DN:0 <6>md: rdev superblock: md: SB: (V:0.90.0) ID:<ab96c56e.9252f7d4.97a9920a.8c37a4b2> CT:3c751d99 md: L-4 S05116224 ND:2 RD:2 md0 LO:0 CS:32768 md: UT:00000000 ST:0 AD:2 WD:2 FD:0 SD:0 CSUM:47b9f3a5 E:00000000 D 0: DISK<N:0,cciss/c0d2(104,32),R:0,S:6> D 1: DISK<N:1,cciss/c1d0(105,0),R:1,S:6> md: THIS: DISK<N:1,cciss/c1d0(105,0),R:1,S:6> md: rdev cciss/c0d2: O:cciss/c0d2, SZ:05116224 F:0 DN:1 <6>md: rdev superblock: md: SB: (V:0.90.0) ID:<ab96c56e.9252f7d4.97a9920a.8c37a4b2> CT:3c751d99 md: L-4 S05116224 ND:2 RD:1 md0 LO:0 CS:32768 md: UT:3c751d99 ST:0 AD:1 WD:2 FD:0 SD:1 CSUM:842f11b5 E:00000001 D 0: DISK<N:0,cciss/c1d0(105,0),R:0,S:6> D 1: DISK<N:1,cciss/c0d2(104,32),R:1,S:0> md: THIS: DISK<N:1,cciss/c0d2(104,32),R:1,S:0> md: ********************************** MULTIPATH conf printout: --- wd:0 rd:1 nd:2 disk0, s:0, o:0, n:0 rd:0 us:1 dev:cciss/c1d0 disk1, s:1, o:0, n:1 rd:1 us:1 dev:cciss/c0d2 MULTIPATH conf printout: --- wd:0 rd:1 nd:2 disk0, s:0, o:0, n:0 rd:0 us:1 dev:cciss/c1d0 disk1, s:1, o:1, n:1 rd:1 us:1 dev:cciss/c0d2 got DISKOP_SPARE_WRITE err: 0. (spare_faulty(): 0) MULTIPATH conf printout: --- wd:0 rd:1 nd:2 disk0, s:0, o:0, n:0 rd:0 us:1 dev:cciss/c1d0 disk1, s:1, o:1, n:1 rd:1 us:1 dev:cciss/c0d2 MULTIPATH conf printout: --- wd:1 rd:1 nd:2 disk0, s:0, o:1, n:0 rd:0 us:1 dev:cciss/c0d2 disk1, s:0, o:0, n:1 rd:1 us:1 dev:cciss/c1d0 multipath: cciss/c1d0: rescheduling block 1572952 md: recovery thread got woken up ... md: recovery thread finished ... md: updating md0 RAID superblock on device md: (skipping faulty (skipping alias cciss/c1d0 ) md: cciss/c0d2 [events: 00000002]<6>(write) cciss/c0d2's sb offset: 5116224 multipath: cciss/c0d2: redirecting sector 1572952 to another IO path * * i/o seemed to continue just fine though. * * Any ideas? * * -- steve - To unsubscribe from this list: send the line "unsubscribe linux-raid" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html