Bug#465556: mdadm hotadd flag does not work in its shortform
martin f krafft
madduck at debian.org
Fri Apr 11 11:40:29 UTC 2008
tags 465556 unreproducible upstream
thanks
also sprach Philipp Wollschlegel <folken at kabelsalat.ch> [2008.02.13.0946 +0100]:
> mdadm hotadd flag is not interpreted correctly:
>
> debian:/home/folken# mdadm --manage /dev/md1 -a /dev/sda2
>
> the return value of the above is 0. but the raiddevice is not
> added to the device.
I cannot reproduce this:
lapse:/tmp/cdt.nnet6607> sudo losetup -f one #[1,305]
lapse:/tmp/cdt.nnet6607> sudo losetup -f two #[306]
lapse:/tmp/cdt.nnet6607> sudo mdadm -Cn2 -l1 /dev/md0 /dev/loop[01] #[307]
mdadm: array /dev/md0 started.
lapse:/tmp/cdt.nnet6607> sudo mdadm --set-faulty /dev/md0 /dev/loop1 #[308]
mdadm: set /dev/loop1 faulty in /dev/md0
lapse:/tmp/cdt.nnet6607> cat /proc/mdstat #[309]
Personalities : [raid1]
md0 : active raid1 loop1[2](F) loop0[0]
8128 blocks [2/1] [U_]
unused devices: <none>
lapse:/tmp/cdt.nnet6607> sudo mdadm --remove /dev/md0 /dev/loop1 #[310]
mdadm: hot removed /dev/loop1
lapse:/tmp/cdt.nnet6607> sudo mdadm -a /dev/md0 /dev/loop1; echo $? #[311]
mdadm: re-added /dev/loop1
0
lapse:/tmp/cdt.nnet6607> cat /proc/mdstat #[312]
Personalities : [raid1]
md0 : active raid1 loop1[1] loop0[0]
8128 blocks [2/2] [UU]
unused devices: <none>
--
.''`. martin f. krafft <madduck at debian.org>
: :' : proud Debian developer, author, administrator, and user
`. `'` http://people.debian.org/~madduck - http://debiansystem.info
`- Debian - when you have better things to do than fixing systems
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature (see http://martin-krafft.net/gpg/)
Url : http://lists.alioth.debian.org/pipermail/pkg-mdadm-devel/attachments/20080411/fd9630a1/attachment.pgp
More information about the pkg-mdadm-devel
mailing list