Bug#837964: 95a05b3 broke mdadm --add on my superblock 1.0 array

2016-09-21 Thread Guoqing Jiang
On 09/21/2016 02:45 AM, Guoqing Jiang wrote: On 09/20/2016 02:31 PM, Anthony DeRobertis wrote: Sorry for the amount of emails I'm sending, but I noticed something that's probably important. I'm also appending some gdb log from tracing through the function (trying to answer

Bug#837964: 95a05b3 broke mdadm --add on my superblock 1.0 array

2016-09-20 Thread Guoqing Jiang
On 09/20/2016 02:31 PM, Anthony DeRobertis wrote: Sorry for the amount of emails I'm sending, but I noticed something that's probably important. I'm also appending some gdb log from tracing through the function (trying to answer why it's doing cluster mode stuff at all). While tracing throu

Bug#837964: 95a05b3 broke mdadm --add on my superblock 1.0 array

2016-09-20 Thread Guoqing Jiang
On 09/20/2016 01:12 PM, Anthony DeRobertis wrote: Which kernel version are you used to created the array in case the kernel was updated? I've had the array for a while (the superblocks with -E show a creation time of Wed Jun 16 14:25:08 2010). If I had to take a guess, I'd guess it was creat

Bug#837964: 95a05b3 broke mdadm --add on my superblock 1.0 array

2016-09-20 Thread Guoqing Jiang
On 09/20/2016 03:02 AM, Anthony DeRobertis wrote: On 09/20/2016 01:38 AM, Guoqing Jiang wrote: Thanks for report, could you try the latest tree git://git.kernel.org/pub/scm/utils/mdadm/mdadm.git? I guess 45a87c2f31335a759190dff663a881bc78ca5443 should resolve it , and I can add a spare

Bug#837964: 95a05b3 broke mdadm --add on my superblock 1.0 array

2016-09-19 Thread Guoqing Jiang
On 09/19/2016 12:32 PM, Anthony DeRobertis wrote: (please cc me, I'm not subscribed.) mdadm 3.4 can not manage to add a spare to my array, it fails like: # mdadm -a /dev/md/pv0 /dev/sdc3 mdadm: add new device failed for /dev/sdc3 as 8: Invalid argument and the kernel logs: md: s