Bug#328197: mdadm: please add option to regenerate arrays in the foreground

gambarimasu+reportbug at gmail.com gambarimasu+reportbug at gmail.com
Wed Sep 14 03:52:42 UTC 2005


Package: mdadm
Version: 1.9.0-4
Severity: wishlist


can you pass this to upstream?  thanks.

mdadm returns to the shell immediately, and parsing /proc/mdstat in an
infinite loop is the only way to make it block.

please add an option to return control to the shell only when the
arrays are regenerated.

this is useful for using e.g. raid 1 as a reliable and accurate
mirror in cron jobs.  the raid system handles disk i/o very well
without slowing down the system much.

blocking is necessary to avoid having to check /proc/mdstat to see
if the mirroring is done.

thanks.

-- System Information:
Debian Release: 3.1
Architecture: i386 (i686)
Kernel: Linux 2.6.11--from-2.6.9-proc-config-and-menuconfig
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)

Versions of packages mdadm depends on:
ii  debconf                     1.4.30.13    Debian configuration management sy
ii  libc6                       2.3.2.ds1-22 GNU C Library: Shared libraries an
ii  makedev                     2.3.1-77     creates device files in /dev

-- debconf information:
* mdadm/autostart: false
* mdadm/warning:
* mdadm/start_daemon: false
  mdadm/mail_to: root




More information about the pkg-mdadm-devel mailing list