Comment 3 for bug 12439

Revision history for this message
Debian Bug Importer (debzilla) wrote :

Message-ID: <email address hidden>
Date: Fri, 10 Sep 2004 20:27:44 +0200
From: Bastian Blank <email address hidden>
To: <email address hidden>
Subject: mdadm - is not able to properly assemble multipath device

--qMm9M+Fa2AknHoGS
Content-Type: text/plain; charset=utf-8
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

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=3D-4 devices=3D2 ctime=3DFri Sep 10 18:15:48 2004
| mdadm: /dev/zfcp/0x2200002037470047/0x0000000000000000/disc appears to be=
 part of a raid array:
| level=3D-4 devices=3D2 ctime=3DFri 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=3Dmultipath num-devices=3D2 UUID=3Dac88c560:ad6b1e3d=
:211de7b0:5d562f61
| devices=3D/dev/zfcp/0x2200002037470047/0x0000000000000000/disc,/dev/zf=
cp/0x2100002037470047/0x0000000000000000/disc
| # mdadm --stop /dev/md0
| # mdadm -A -s -v =20
| 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
|=20
| Update Time : Fri Sep 10 18:20:49 2004
| State : clean, degraded
| Active Devices : 1
| Working Devices : 1
| Failed Devices : 0
| Spare Devices : 0
|=20
|=20
| Number Major Minor RaidDevice State
| 0 8 16 0 active sync /dev/zfcp/0x2100002=
037470047/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/0=
x0000000000000000/disc
| brw-rw---- 1 root root 8, 0 Sep 10 17:56 /dev/zfcp/0x2200002037470047/0=
x0000000000000000/disc

-- System Information:
Debian Release: 3.1
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: s390
Kernel: Linux 2.6.8-1-s390x

--=20
Star Trek Lives!

--qMm9M+Fa2AknHoGS
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: Digital signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.5 (GNU/Linux)

iEUEARECAAYFAkFB8iAACgkQnw66O/MvCNFIngCYwH/i4QerGS4O+z4xuA8jrbER
ggCfZAbIFs3LA92TG/3vflbMXktC5eM=
=Pb2H
-----END PGP SIGNATURE-----

--qMm9M+Fa2AknHoGS--