Bug#705454: mdadm: --examine --scan generates wrong #spares

2013-04-30 Thread Thorsten Glaser
reassign 705454 mdadm
found 705454 3.2.5-5
retitle 705454 mdadm: --examine --scan generates wrong #spares
thanks

I can reproduce this in a live sid system by creating
the md arrays then running this command:

root@tglase:/ # mdadm --examine --scan
ARRAY /dev/md0 UUID=b4a6dcca:639ab49e:3cbfd189:3a086020
   spares=1
ARRAY /dev/md1 UUID=b1518a63:e8fe3e9f:3cbfd189:3a086020
   spares=2
root@tglase:/ # cat /proc/mdstat
Personalities : [linear] [raid0] [raid1] [raid10] [raid6] [raid5] [raid4] 
[multipath]
md1 : active raid10 sdf2[4](S) sde2[3] sdd2[2] sdc2[1] sda2[0]
  975721472 blocks 512K chunks 2 near-copies [4/4] []

md0 : active raid1 sdf1[4](S) sde1[3] sdd1[2] sdc1[1] sda1[0]
  524224 blocks [4/4] []

unused devices: none

I assume that between the mds an internal counter
is not changed, or something.

bye,
//mirabilos
-- 
tarent solutions GmbH
Rochusstraße 2-4, D-53123 Bonn • http://www.tarent.de/
Tel: +49 228 54881-393 • Fax: +49 228 54881-314
HRB 5168 (AG Bonn) • USt-ID (VAT): DE122264941
Geschäftsführer: Boris Esser, Sebastian Mancke


--
To UNSUBSCRIBE, email to debian-boot-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: 
http://lists.debian.org/alpine.deb.2.02.1304301539520.12...@tglase.lan.tarent.de



Processed: Bug#705454: mdadm: --examine --scan generates wrong #spares

2013-04-30 Thread Debian Bug Tracking System
Processing commands for cont...@bugs.debian.org:

 reassign 705454 mdadm
Bug #705454 [mdcfg] d-i puts wrong amount of spares into target mdadm.conf
Bug reassigned from package 'mdcfg' to 'mdadm'.
Ignoring request to alter found versions of bug #705454 to the same values 
previously set
Ignoring request to alter fixed versions of bug #705454 to the same values 
previously set
 found 705454 3.2.5-5
Bug #705454 [mdadm] d-i puts wrong amount of spares into target mdadm.conf
Marked as found in versions mdadm/3.2.5-5.
 retitle 705454 mdadm: --examine --scan generates wrong #spares
Bug #705454 [mdadm] d-i puts wrong amount of spares into target mdadm.conf
Changed Bug title to 'mdadm: --examine --scan generates wrong #spares' from 
'd-i puts wrong amount of spares into target mdadm.conf'
 thanks
Stopping processing here.

Please contact me if you need assistance.
-- 
705454: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=705454
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems


--
To UNSUBSCRIBE, email to debian-boot-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: 
http://lists.debian.org/handler.s.c.136732936112298.transcr...@bugs.debian.org