Hello community, here is the log from the commit of package mdadm checked in at Fri Apr 6 00:37:00 CEST 2007. -------- --- mdadm/mdadm.changes 2007-01-10 12:01:07.000000000 +0100 +++ /mounts/work_src_done/STABLE/mdadm/mdadm.changes 2007-04-02 16:22:04.000000000 +0200 @@ -1,0 +2,120 @@ +Mon Apr 2 15:00:10 CEST 2007 - mmarek@suse.cz + +- updated to 2.6.1 + * --monitor was producing some meaningless warnings due to a bug. + * Fix some compiler warnings. + * Fully support --grow for raid6. If a reshape crashed during + the critical period, mdadm wouldn't restore the Q information + properly. + * Update documentation for --grow. + * Report bitmap status in --detail and --examine + * Default to v1 superblocks instead of v0.90 if the array + is too big for 0.90 to handle. + * Sort the output of "mdadm --detail --scan" so that it is + in a suitable order for assembling arrays. i.e. components come + before an array that they are part of. + * Require bitmap files to have a '/' in their name. + * Rewrite 'reshape' support including performing a backup + of the critical region for a raid5 growth, and restoring that + backup after a crash. + * Put a 'canary' at each end of the backup so a corruption + can be more easily detected. + * Support --backup-file for backing-up critical section during + growth. + * Erase old superblocks (of different versions) when creating new + array. + * Allow --monitor to work with arrays with >28 devices + * Report reshape information in --detail + * Handle symlinks in /dev better + * Fix mess in --detail output which a device is missing. + * Support 'bitmap=' in mdadm.conf for auto-assembling arrays with + write-intent bitmaps in separate files. + * Fix alignment problem in version-1 superblocks. + NOTE: This is an incompatable change affecting raid5 reshape. + If you want to reshape a raid5 using version-1 superblocks, + use 2.6.17-rc2 or later, and mdadm-2.4.1 or later. + * Support 'mailfrom' line in mdadm.conf so the From: line in alert + emails can be explicitly set. + * Arrange that SparesMissing (which is similar in import to + DegradedArray) generates an Email. + * Assume "DEVICE partitions" if no DEVICE line is given. + * Support new 'offset' layout for raid10. + * When creating a bitmap file, choose a chunksize to limit number + of bitmap chunks to 2 million. More than this can cause kmalloc + failure. + * New 'CREATE' line in mdadm.conf for defaults such as owner, group, + mode and auto-flag + * --detail checks if array has been started or not and includes that + in report. + * When using --update=uuid on an array with a bitmap, update the + bitmap's uuid too. + * Add a copy of /proc/mdstat to the mail message sent by mdadm + --monitor. + * New flag --no-degraded to avoid starting arrays if there are + fewer devices available than last time the array was started. + This is only needed with --scan, as with --scan, that behaviour + is the default. + * Support for 'homehost' concept. This is a fairly major update. + It includes a configfile option and a command line option for + specifying a homehost, records that host in the superblock, + and reports the homehost where possible. + * Support for Auto Assembly. "mdadm -As" will, if provided with + the name of a homehost, try to assemble all arrays it can find + that were created for that homehost. See man pages for more details. + * Don't try to create devices with --manage or --grow + * allow default metadata (superblock) type to be specified + in mdadm.conf + * Avoid some misdetection of overlapping partitions + * Add 'Array Slot' line to --examine for version-1 superblocks + to make it a bit easier to see what is happening. + * Work around bug in --add handling for version-1 superblocks + in 2.6.17 (and prior). + * Make -assemble a bit more resilient to finding strange + information in superblocks. + * When creating devices in /dev/md/ create matching symlinks + from /dev. e.g. /dev/md0 -> /dev/md/0. + Allow this to be disabled in mdadm.conf or on command line. + * Allow a number (of partitions) after the 'yes' option to --auto= + This is particularly useful in the 'create' line in mdadm.conf. + * Remove partitions from any whole device that is made part of + an md array. This is a work-around for annoying messages + when the first block on some drive accidentally looks like a + partition table. + * Close stray fd in mdassemble so that it can assemble stacked + devices + * If mdassemble finds an array already assembled, it marks it + read-write. + * Remove error in md_open if array is already active. This isn't + needed and gets in the ways if an array was created e.g. in + initramfs, but device doesn't yet exist in /dev. + * When --assemble --scan is run, if all arrays that could be found + have already been started, don't report an error. + * Allow --assemble --force to mark a raid6 clean when it has two + missing devices (which is needed else if won't assemble. + Without this fix it would only assemble if one or zero + missing devices. + * Support --update=devicesize for cases where the underlying device + can change size. + * Default to --auto=yes so the array devices with 'standard' names + get created automatically, as this is almost always what is wanted. + * Give useful message if raid4/5/6 cannot be started because it is + not clean and is also degraded. + * Increase raid456 stripe cache size if needed to --grow the array. + The setting used unfortunately requires intimate knowledge of the + kernel, and it not reset when the reshape finishes. + * Change 'Device Size' to 'Used Dev Size' because it only shows how + much of each device is actually used, not how big they are. + * --wait or -W will wait for resync activity to finish on the given + devices. + * If two drives in a raid5 disappear at the same time, then "-Af" + will add them both in rather than just one and forcing the array + to 'clean'. This is slightly safer in some cases. + * Don't hold md device open for so long in --monitor mode - map_dev + can be slow and interferes with trying to stop the array. + * Support --uuid= with --create to choose your own UUID. + * New major more "--incremental" for incremental assemble of arrays, + intended for use with udev. + * lots of bugfixes + * manpage updates + +------------------------------------------------------------------- Old: ---- mdadm-2.5.3-infoname.diff mdadm-2.5.3.tar.bz2 New: ---- mdadm-2.6.1.tar.bz2 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ mdadm.spec ++++++ --- /var/tmp/diff_new_pack.X31776/_old 2007-04-06 00:36:36.000000000 +0200 +++ /var/tmp/diff_new_pack.X31776/_new 2007-04-06 00:36:36.000000000 +0200 @@ -1,5 +1,5 @@ # -# spec file for package mdadm (Version 2.5.3) +# spec file for package mdadm (Version 2.6.1) # # Copyright (c) 2007 SUSE LINUX Products GmbH, Nuernberg, Germany. # This file and all modifications and additions to the pristine @@ -11,8 +11,8 @@ # norootforbuild Name: mdadm -Version: 2.5.3 -Release: 20 +Version: 2.6.1 +Release: 1 BuildRequires: opensp sgmltool PreReq: %fillup_prereq %insserv_prereq Obsoletes: raidtools @@ -29,7 +29,6 @@ Source4: boot.md Source5: mdrun Source6: raidautorun.c -Patch: %{name}-%{version}-infoname.diff %description Mdadm is a program that can be used to control Linux md devices. It is @@ -44,7 +43,6 @@ %prep %setup -q -a1 -%patch %build %{suse_update_config -f} @@ -120,7 +118,124 @@ %{_sbindir}/* %{_var}/adm/fillup-templates/sysconfig.mdadm -%changelog -n mdadm +%changelog +* Mon Apr 02 2007 - mmarek@suse.cz +- updated to 2.6.1 + * --monitor was producing some meaningless warnings due to a bug. + * Fix some compiler warnings. + * Fully support --grow for raid6. If a reshape crashed during + the critical period, mdadm wouldn't restore the Q information + properly. + * Update documentation for --grow. + * Report bitmap status in --detail and --examine + * Default to v1 superblocks instead of v0.90 if the array + is too big for 0.90 to handle. + * Sort the output of "mdadm --detail --scan" so that it is + in a suitable order for assembling arrays. i.e. components come + before an array that they are part of. + * Require bitmap files to have a '/' in their name. + * Rewrite 'reshape' support including performing a backup + of the critical region for a raid5 growth, and restoring that + backup after a crash. + * Put a 'canary' at each end of the backup so a corruption + can be more easily detected. + * Support --backup-file for backing-up critical section during + growth. + * Erase old superblocks (of different versions) when creating new + array. + * Allow --monitor to work with arrays with >28 devices + * Report reshape information in --detail + * Handle symlinks in /dev better + * Fix mess in --detail output which a device is missing. + * Support 'bitmap=' in mdadm.conf for auto-assembling arrays with + write-intent bitmaps in separate files. + * Fix alignment problem in version-1 superblocks. + NOTE: This is an incompatable change affecting raid5 reshape. + If you want to reshape a raid5 using version-1 superblocks, + use 2.6.17-rc2 or later, and mdadm-2.4.1 or later. + * Support 'mailfrom' line in mdadm.conf so the From: line in alert + emails can be explicitly set. + * Arrange that SparesMissing (which is similar in import to + DegradedArray) generates an Email. + * Assume "DEVICE partitions" if no DEVICE line is given. + * Support new 'offset' layout for raid10. + * When creating a bitmap file, choose a chunksize to limit number + of bitmap chunks to 2 million. More than this can cause kmalloc + failure. + * New 'CREATE' line in mdadm.conf for defaults such as owner, group, + mode and auto-flag + * --detail checks if array has been started or not and includes that + in report. + * When using --update=uuid on an array with a bitmap, update the + bitmap's uuid too. + * Add a copy of /proc/mdstat to the mail message sent by mdadm + --monitor. + * New flag --no-degraded to avoid starting arrays if there are + fewer devices available than last time the array was started. + This is only needed with --scan, as with --scan, that behaviour + is the default. + * Support for 'homehost' concept. This is a fairly major update. + It includes a configfile option and a command line option for + specifying a homehost, records that host in the superblock, + and reports the homehost where possible. + * Support for Auto Assembly. "mdadm -As" will, if provided with + the name of a homehost, try to assemble all arrays it can find + that were created for that homehost. See man pages for more details. + * Don't try to create devices with --manage or --grow + * allow default metadata (superblock) type to be specified + in mdadm.conf + * Avoid some misdetection of overlapping partitions + * Add 'Array Slot' line to --examine for version-1 superblocks + to make it a bit easier to see what is happening. + * Work around bug in --add handling for version-1 superblocks + in 2.6.17 (and prior). + * Make -assemble a bit more resilient to finding strange + information in superblocks. + * When creating devices in /dev/md/ create matching symlinks + from /dev. e.g. /dev/md0 -> /dev/md/0. + Allow this to be disabled in mdadm.conf or on command line. + * Allow a number (of partitions) after the 'yes' option to --auto= + This is particularly useful in the 'create' line in mdadm.conf. + * Remove partitions from any whole device that is made part of + an md array. This is a work-around for annoying messages + when the first block on some drive accidentally looks like a + partition table. + * Close stray fd in mdassemble so that it can assemble stacked + devices + * If mdassemble finds an array already assembled, it marks it + read-write. + * Remove error in md_open if array is already active. This isn't + needed and gets in the ways if an array was created e.g. in + initramfs, but device doesn't yet exist in /dev. + * When --assemble --scan is run, if all arrays that could be found + have already been started, don't report an error. + * Allow --assemble --force to mark a raid6 clean when it has two + missing devices (which is needed else if won't assemble. + Without this fix it would only assemble if one or zero + missing devices. + * Support --update=devicesize for cases where the underlying device + can change size. + * Default to --auto=yes so the array devices with 'standard' names + get created automatically, as this is almost always what is wanted. + * Give useful message if raid4/5/6 cannot be started because it is + not clean and is also degraded. + * Increase raid456 stripe cache size if needed to --grow the array. + The setting used unfortunately requires intimate knowledge of the + kernel, and it not reset when the reshape finishes. + * Change 'Device Size' to 'Used Dev Size' because it only shows how + much of each device is actually used, not how big they are. + * --wait or -W will wait for resync activity to finish on the given + devices. + * If two drives in a raid5 disappear at the same time, then "-Af" + will add them both in rather than just one and forcing the array + to 'clean'. This is slightly safer in some cases. + * Don't hold md device open for so long in --monitor mode - map_dev + can be slow and interferes with trying to stop the array. + * Support --uuid= with --create to choose your own UUID. + * New major more "--incremental" for incremental assemble of arrays, + intended for use with udev. + * lots of bugfixes + * manpage updates * Wed Jan 10 2007 - mmarek@suse.cz - use raidautorun instead of mdrun to autodetect the raid arrays in boot.md [#230733] ++++++ mdadm-2.5.3.tar.bz2 -> mdadm-2.6.1.tar.bz2 ++++++ ++++ 5399 lines of diff (skipped) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Remember to have fun... --------------------------------------------------------------------- To unsubscribe, e-mail: opensuse-commit+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-commit+help@opensuse.org