linux-raid.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* ANNOUNCE: mdadm 2.3 - A tool for managing Soft RAID under Linux
@ 2006-02-02  5:18 Neil Brown
  2006-02-04 17:37 ` Luca Berra
  0 siblings, 1 reply; 4+ messages in thread
From: Neil Brown @ 2006-02-02  5:18 UTC (permalink / raw)
  To: linux-raid



I am pleased to announce the availability of
   mdadm version 2.3

It is available at the usual places:
   http://www.cse.unsw.edu.au/~neilb/source/mdadm/
and
   http://www.{countrycode}.kernel.org/pub/linux/utils/raid/mdadm/

mdadm is a tool for creating, managing and monitoring
device arrays using the "md" driver in Linux, also
known as Software RAID arrays.

Release 2.3 fixes an assortment of bugs including the "--assemble --scan"
crash.  It also makes mdadm better at handling very large arrays.
Finally, it adds some functionality to support some pending kernel
features such as raid5 reshaping.

Changelog Entries:
    -   Try /etc/mdadm/mdadm.conf if /etc/mdadm.conf doesn't exist.
	This provided compatability for Debian.
    -   Fixed for version-1 superblock:
	 report chunksize for raid6 and raid10
	 make sure device size used is a multiple of chunksize
    -   Fix "--assemble --scan" crash.
    -   Fix completely failure to create array on ppc64
    -   Fix memcmp in place of memcpy
    -   A few minor improvements to online help
    -   Clean up usage of 'long long' for used-size of devices, so
	that it is possible to create a raid1 of 7TB devices!
    -   Make internal bitmaps work on 7TB raid1 arrays.
    -   Provide error message if --examine doesn't find any superblock.
    -   Report 'reshape' status in --examine - this depends on kernel
	patches that are not yet finalised.
    -   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.
    -   Print size of large reiserfs array properly went warning of
        possible confilcts.

Development of mdadm is sponsored by
 SUSE Labs, Novell Inc.

NeilBrown  2nd February 2006


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: ANNOUNCE: mdadm 2.3 - A tool for managing Soft RAID under Linux
  2006-02-02  5:18 ANNOUNCE: mdadm 2.3 - A tool for managing Soft RAID under Linux Neil Brown
@ 2006-02-04 17:37 ` Luca Berra
  2006-02-04 19:54   ` Luca Berra
  0 siblings, 1 reply; 4+ messages in thread
From: Luca Berra @ 2006-02-04 17:37 UTC (permalink / raw)
  To: Neil Brown; +Cc: linux-raid

[-- Attachment #1: Type: text/plain, Size: 406 bytes --]

On Thu, Feb 02, 2006 at 04:18:33PM +1100, Neil Brown wrote:
>
>
>I am pleased to announce the availability of
>   mdadm version 2.3
>
and i am pleased to reply with the first patch for mdadm 2.3,
which will allow building on 64bit machines.

Regards,
L.

-- 
Luca Berra -- bluca@comedia.it
        Communication Media & Services S.r.l.
 /"\
 \ /     ASCII RIBBON CAMPAIGN
  X        AGAINST HTML MAIL
 / \

[-- Attachment #2: mdadm-2.3-x86_64.patch --]
[-- Type: text/plain, Size: 1246 bytes --]

--- mdadm-2.3/super1.c.x86_64	2006-01-31 02:45:32.000000000 +0100
+++ mdadm-2.3/super1.c	2006-02-04 18:25:48.000000000 +0100
@@ -198,7 +198,7 @@
 		       (long)__le32_to_cpu(sb->bitmap_offset));
 	}
 	if (sb->feature_map & __le32_to_cpu(MD_FEATURE_RESHAPE_ACTIVE)) {
-		printf("  Reshape pos'n : %llu%s\n", __le64_to_cpu(sb->reshape_position)/2,
+		printf("  Reshape pos'n : %llu%s\n", (unsigned long long) __le64_to_cpu(sb->reshape_position)/2,
 		       human_size(__le64_to_cpu(sb->reshape_position)<<9));
 		if (__le32_to_cpu(sb->delta_disks)) {
 			printf("  Delta Devices : %d", __le32_to_cpu(sb->delta_disks));
--- mdadm-2.3/super0.c.x86_64	2006-01-27 08:06:09.000000000 +0100
+++ mdadm-2.3/super0.c	2006-02-04 18:25:55.000000000 +0100
@@ -124,7 +124,7 @@
 	printf("Preferred Minor : %d\n", sb->md_minor);
 	printf("\n");
 	if (sb->minor_version > 90 && (sb->reshape_position+1) != 0) {
-		printf("  Reshape pos'n : %llu%s\n", sb->reshape_position/2, human_size((long long)sb->reshape_position<<9));
+		printf("  Reshape pos'n : %llu%s\n", (unsigned long long) sb->reshape_position/2, human_size((long long)sb->reshape_position<<9));
 		if (sb->delta_disks) {
 			printf("  Delta Devices : %d", sb->delta_disks);
 			if (sb->delta_disks)

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: ANNOUNCE: mdadm 2.3 - A tool for managing Soft RAID under Linux
  2006-02-04 17:37 ` Luca Berra
@ 2006-02-04 19:54   ` Luca Berra
  2006-02-05 21:50     ` Neil Brown
  0 siblings, 1 reply; 4+ messages in thread
From: Luca Berra @ 2006-02-04 19:54 UTC (permalink / raw)
  To: Neil Brown, linux-raid

On Sat, Feb 04, 2006 at 06:37:45PM +0100, Luca Berra wrote:
>On Thu, Feb 02, 2006 at 04:18:33PM +1100, Neil Brown wrote:
>>
>>
>>I am pleased to announce the availability of
>>   mdadm version 2.3
>>
>and i am pleased to reply with the first patch for mdadm 2.3,
>which will allow building on 64bit machines.
>
A more knowledgeable C programmer than me suggested using PRIu64
instead of casting to format correctly theese printfs, what do you
think about it?


Regards,
L.

-- 
Luca Berra -- bluca@comedia.it
        Communication Media & Services S.r.l.
 /"\
 \ /     ASCII RIBBON CAMPAIGN
  X        AGAINST HTML MAIL
 / \

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: ANNOUNCE: mdadm 2.3 - A tool for managing Soft RAID under Linux
  2006-02-04 19:54   ` Luca Berra
@ 2006-02-05 21:50     ` Neil Brown
  0 siblings, 0 replies; 4+ messages in thread
From: Neil Brown @ 2006-02-05 21:50 UTC (permalink / raw)
  To: Luca Berra; +Cc: linux-raid

On Saturday February 4, bluca@comedia.it wrote:
> On Sat, Feb 04, 2006 at 06:37:45PM +0100, Luca Berra wrote:
> >On Thu, Feb 02, 2006 at 04:18:33PM +1100, Neil Brown wrote:
> >>
> >>
> >>I am pleased to announce the availability of
> >>   mdadm version 2.3
> >>
> >and i am pleased to reply with the first patch for mdadm 2.3,
> >which will allow building on 64bit machines.
> >
> A more knowledgeable C programmer than me suggested using PRIu64
> instead of casting to format correctly theese printfs, what do you
> think about it?
> 

Which way to work around a shortcoming in the C language?
I don't think either is clearly better, though I suspect using PRIu64
might make internationalisation of the strings somewhat harder.

Being largely a kernel programmer these days, and as the kernel tends
to cast the number rather than massage the format string, I would
prefer to do that (i.e. put in the cast like your patch did).

Thanks,
NeilBrown

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2006-02-05 21:50 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-02-02  5:18 ANNOUNCE: mdadm 2.3 - A tool for managing Soft RAID under Linux Neil Brown
2006-02-04 17:37 ` Luca Berra
2006-02-04 19:54   ` Luca Berra
2006-02-05 21:50     ` Neil Brown

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).