Re: mdadm-3.1.1 segfaults when mdadm -G -Z

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Sat, 30 Jan 2010 10:56:11 +0100
Luca Berra <bluca@xxxxxxxxxx> wrote:

> On Sun, Jan 10, 2010 at 02:54:02PM +0100, Marcin Mirosław wrote:
> >W dniu 2010-01-10 14:47, Zdenek Behan pisze:
> >>        -Z, --array-size=
> >>               This is only meaningful with --grow and its effect is 
> >> not  per‐
> >>               sistent:  when  the  array  is  stopped an restarted the
> >> default
> >>               array size will be restored.
> >
> >Yes, i missed it.
> >
> >> You didn't supply any argument to -Z at all, or to be precise, you
> >> supplied /dev/md6 as the argument, whereas you should have put in the
> >> array size.
> >> 
> >> Also, another thing I have noticed lately is, that _some_ short options
> >> seem to be somehow oddly broken on my system and not accepting
> >> arguments, even if they are supposed to be. If the segfault persists
> >> after using the correct syntax, try using the long opts instead. I was
> >> planning to dig more into this bug myself, so I might just kick self to
> >> do it now.
> >
> >long option, with suplied array size works correctly, so indeed problem
> >is in short option.
> >Thank you!
> >Regards.
> 
> attached patch fixes it.

Applied, thanks.

NeilBrown
--
To unsubscribe from this list: send the line "unsubscribe linux-raid" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux RAID Wiki]     [ATA RAID]     [Linux SCSI Target Infrastructure]     [Linux Block]     [Linux IDE]     [Linux SCSI]     [Linux Hams]     [Device Mapper]     [Device Mapper Cryptographics]     [Kernel]     [Linux Admin]     [Linux Net]     [GFS]     [RPM]     [git]     [Yosemite Forum]


  Powered by Linux