[Bug 920324] Re: Please merge mdadm 3.2.3-2 from Debian unstable (main) (multiple regressions)

John Center john.center at villanova.edu
Sat Mar 17 16:54:35 UTC 2012


mdmon is included with the Oneiric mdadm package.  I'm testing Precise
beta1 via the live cd & saw my array coming up readonly after installing
it.  It took me awhile to figure out what was wrong. (Google is your
friend, sometimes... ;-))

Sonny?  I haven't been called that since the '60's.  :-)

-- 
You received this bug notification because you are a member of Ubuntu
Sponsors Team, which is subscribed to the bug report.
https://bugs.launchpad.net/bugs/920324

Title:
  Please merge mdadm 3.2.3-2 from Debian unstable (main) (multiple
  regressions)

Status in “mdadm” package in Ubuntu:
  Fix Released
Status in “mdadm” package in Debian:
  Fix Released

Bug description:
  Looking at the list of fixes upgrading mdadm from 3.2.2 to 3.2.3 shows
  some severe regressions were fixed.

  mdadm: re-add fails (regression in mdadm-3.2.2-1ubuntu1)
  http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=651880

  mdadm: segmentation fault when converting raid10 to raid0
  http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=645563

  mdadm-raid does not assemble mds on multipath devices
  http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=641584

  This ticket was originally about only one of them:

  /etc/cron.daily/mdadm fails if mdadm monitor daemon is already running
  http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=641886

  Reproducing:

  1. Install Ubuntu 12.04 with md raid.

  My system has:

  $ cat /proc/mdstat
  Personalities : [raid1] [linear] [multipath] [raid0] [raid6] [raid5] [raid4] [raid10]
  md1 : active raid1 sdb2[1] sda2[0]
        522048 blocks [2/2] [UU]

  md0 : active raid1 sdb1[1] sda1[0]
        10490304 blocks [2/2] [UU]

  md2 : active raid1 sdc1[0] sdd1[1]
        805305143 blocks super 1.2 [2/2] [UU]

  unused devices: <none>

  2. Try running this mdadm command, observe unexpected results:

  # mdadm --monitor --scan --oneshot
  mdadm: Only one autorebuild process allowed in scan mode, aborting

  3. Also cron will send mail:

  /etc/cron.daily/mdadm:
  mdadm: Only one autorebuild process allowed in scan mode, aborting
  run-parts: /etc/cron.daily/mdadm exited with return code 1

  Because when you install the mdadm package this crontab file is
  created:

  $ dpkg -S /etc/cron.daily/mdadm
  mdadm: /etc/cron.daily/mdadm

  4. Stop any mdadm processes (but only for testing, it is unacceptable
  to turn off mdadm monitoring.)

  # service mdadm stop

  5. Try running, observe expected results:
  # mdadm --monitor --scan --oneshot
  (no output)

  This issue was fixed in Debian, please Debian Import this version:

  Format: 1.8
  Date: Wed, 18 Jan 2012 22:33:01 +0400
  Source: mdadm
  Binary: mdadm mdadm-udeb
  Architecture: source i386
  Version: 3.2.3-2
  Distribution: unstable
  Urgency: low
  Maintainer: Debian mdadm maintainers <pkg-mdadm-devel at lists.alioth.debian.org>
  Changed-By: Michael Tokarev <mjt at tls.msk.ru>
  Description:
   mdadm      - tool to administer Linux MD arrays (software RAID)
   mdadm-udeb - tool to administer Linux MD arrays (software RAID) (udeb)
  Closes: 607375 628667 633880 637068 641584 641886 641972 645563 650630 651737 651880 652547 655212
  Changes:
   mdadm (3.2.3-2) unstable; urgency=low
   .
     [ Michael Tokarev ]
     * new upstream bugfix/stable version, with lots of fixes all over.
       Closes: #641886, #628667, #645563, #651880, #607375, #633880
     * update Neil's email (Closes: #650630)
     * update mdadd.sh to version 1.52 (Closes: #655212)
     * fixed a typo (RAID6 vs RAID10) in FAQ (Closes: #637068)
     * declare ordering dependency for multipath-tools-boot in
       mdadm-raid init script (Closes: #641584)
       While at it, remove mention of devfsd
     * added Slovak (sk.po) po-debconf translation from Slavko <linux at slavino.sk>
       (Closes: #641972)
     * set nice value of the check/resync thread too, together with I/O
       scheduling class, based on patch by Sergey B Kirpichev (Closes: #652547)
     * small changes for debian/checkarray
     * (internal) move files from contrib/* topgit branches into debian directory
     * remove dh_testroot from clean target
     * add myself to uploaders
   .
     [ Peter Eisentraut ]
     * Added support for "status" action to mdadm init script (Closes: #651737)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/mdadm/+bug/920324/+subscriptions



More information about the Ubuntu-sponsors mailing list