Package: mdadm Version: 1.6.0-3 Severity: important
mdadm is not able to assemble multipath device except of its own creation.
| # mdadm --create -n 2 -l multipath /.dev/md0 /dev/zfcp/0x2*/*/* | mdadm: /dev/zfcp/0x2100002037470047/0x0000000000000000/disc appears to be part of a raid array: | level=-4 devices=2 ctime=Fri Sep 10 18:15:48 2004 | mdadm: /dev/zfcp/0x2200002037470047/0x0000000000000000/disc appears to be part of a raid array: | level=-4 devices=2 ctime=Fri Sep 10 18:15:48 2004 | Continue creating array? y | mdadm: array /.dev/md0 started. | # mdadm --examine --scan >> /etc/mdadm/mdadm.conf | # cat /etc/mdadm/mdadm.conf | DEVICE /dev/zfcp/*/*/* | ARRAY /dev/md0 level=multipath num-devices=2 UUID=ac88c560:ad6b1e3d:211de7b0:5d562f61 | devices=/dev/zfcp/0x2200002037470047/0x0000000000000000/disc,/dev/zfcp/0x2100002037470047/0x0000000000000000/disc | # mdadm --stop /dev/md0 | # mdadm -A -s -v | mdadm: looking for devices for /dev/md0 | mdadm: /dev/zfcp/0x2200002037470047/0x0000000000000000/disc is identified as a member of /dev/md0, slot 1. | mdadm: /dev/zfcp/0x2100002037470047/0x0000000000000000/disc is identified as a member of /dev/md0, slot 1. | mdadm: added /dev/zfcp/0x2100002037470047/0x0000000000000000/disc to /dev/md0 as 1 | mdadm: failed to add /dev/zfcp/0x2200002037470047/0x0000000000000000/disc to /dev/md0: Device or resource busy | mdadm: /dev/md0 has been started with 2 drives and -1 spares. | # mdadm -D /dev/md0 | /dev/md0: | Version : 00.90.01 | Creation Time : Fri Sep 10 18:19:40 2004 | Raid Level : multipath | Array Size : 35566400 (33.92 GiB 36.42 GB) | Raid Devices : 2 | Total Devices : 1 | Preferred Minor : 0 | Persistence : Superblock is persistent | | Update Time : Fri Sep 10 18:20:49 2004 | State : clean, degraded | Active Devices : 1 | Working Devices : 1 | Failed Devices : 0 | Spare Devices : 0 | | | Number Major Minor RaidDevice State | 0 8 16 0 active sync /dev/zfcp/0x2100002037470047/0x0000000000000000/disc | 1 0 0 -1 removed | UUID : ac88c560:ad6b1e3d:211de7b0:5d562f61 | Events : 0.9 | # dmesg | [...] | md: bind<sdb> | md: bind<sda> | multipath: array md0 active with 2 out of 2 IO paths | md: md0 stopped. | md: unbind<sda> | md: export_rdev(sda) | md: unbind<sdb> | md: export_rdev(sdb) | md: md0 stopped. | md: bind<sdb> | md: export_rdev(sda) | multipath: array md0 active with 1 out of 2 IO paths | # l /dev/zfcp/*/*/* | brw-rw---- 1 root root 8, 16 Sep 10 17:56 /dev/zfcp/0x2100002037470047/0x0000000000000000/disc | brw-rw---- 1 root root 8, 0 Sep 10 17:56 /dev/zfcp/0x2200002037470047/0x0000000000000000/disc
-- System Information: Debian Release: 3.1 APT prefers unstable APT policy: (500, 'unstable') Architecture: s390 Kernel: Linux 2.6.8-1-s390x
-- Star Trek Lives!
Package: mdadm
Version: 1.6.0-3
Severity: important
mdadm is not able to assemble multipath device except of its own
creation.
| # mdadm --create -n 2 -l multipath /.dev/md0 /dev/zfcp/0x2*/*/* 0x2100002037470 047/0x000000000 0000000/ disc appears to be part of a raid array: 0x2200002037470 047/0x000000000 0000000/ disc appears to be part of a raid array: mdadm.conf mdadm.conf ad6b1e3d: 211de7b0: 5d562f61 /dev/zfcp/ 0x2200002037470 047/0x000000000 0000000/ disc,/dev/ zfcp/0x21000020 37470047/ 0x0000000000000 000/disc 0x2200002037470 047/0x000000000 0000000/ disc is identified as a member of /dev/md0, slot 1. 0x2100002037470 047/0x000000000 0000000/ disc is identified as a member of /dev/md0, slot 1. 0x2100002037470 047/0x000000000 0000000/ disc to /dev/md0 as 1 0x2200002037470 047/0x000000000 0000000/ disc to /dev/md0: Device or resource busy 0x2100002037470 047/0x000000000 0000000/ disc ad6b1e3d: 211de7b0: 5d562f61 0x2100002037470 047/0x000000000 0000000/ disc 0x2200002037470 047/0x000000000 0000000/ disc
| mdadm: /dev/zfcp/
| level=-4 devices=2 ctime=Fri Sep 10 18:15:48 2004
| mdadm: /dev/zfcp/
| level=-4 devices=2 ctime=Fri Sep 10 18:15:48 2004
| Continue creating array? y
| mdadm: array /.dev/md0 started.
| # mdadm --examine --scan >> /etc/mdadm/
| # cat /etc/mdadm/
| DEVICE /dev/zfcp/*/*/*
| ARRAY /dev/md0 level=multipath num-devices=2 UUID=ac88c560:
| devices=
| # mdadm --stop /dev/md0
| # mdadm -A -s -v
| mdadm: looking for devices for /dev/md0
| mdadm: /dev/zfcp/
| mdadm: /dev/zfcp/
| mdadm: added /dev/zfcp/
| mdadm: failed to add /dev/zfcp/
| mdadm: /dev/md0 has been started with 2 drives and -1 spares.
| # mdadm -D /dev/md0
| /dev/md0:
| Version : 00.90.01
| Creation Time : Fri Sep 10 18:19:40 2004
| Raid Level : multipath
| Array Size : 35566400 (33.92 GiB 36.42 GB)
| Raid Devices : 2
| Total Devices : 1
| Preferred Minor : 0
| Persistence : Superblock is persistent
|
| Update Time : Fri Sep 10 18:20:49 2004
| State : clean, degraded
| Active Devices : 1
| Working Devices : 1
| Failed Devices : 0
| Spare Devices : 0
|
|
| Number Major Minor RaidDevice State
| 0 8 16 0 active sync /dev/zfcp/
| 1 0 0 -1 removed
| UUID : ac88c560:
| Events : 0.9
| # dmesg
| [...]
| md: bind<sdb>
| md: bind<sda>
| multipath: array md0 active with 2 out of 2 IO paths
| md: md0 stopped.
| md: unbind<sda>
| md: export_rdev(sda)
| md: unbind<sdb>
| md: export_rdev(sdb)
| md: md0 stopped.
| md: bind<sdb>
| md: export_rdev(sda)
| multipath: array md0 active with 1 out of 2 IO paths
| # l /dev/zfcp/*/*/*
| brw-rw---- 1 root root 8, 16 Sep 10 17:56 /dev/zfcp/
| brw-rw---- 1 root root 8, 0 Sep 10 17:56 /dev/zfcp/
-- System Information:
Debian Release: 3.1
APT prefers unstable
APT policy: (500, 'unstable')
Architecture: s390
Kernel: Linux 2.6.8-1-s390x
--
Star Trek Lives!