Bug#840743: mdadm: diff for NMU version 3.3.2-5+deb8u2

2016-11-09 Thread Jens Sauer
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=840743 +Author: Neil Brown + +--- mdadm-3.3.2.orig/Grow.c mdadm-3.3.2/Grow.c +@@ -853,7 +853,8 @@ int reshape_prepare_fdlist(char *devname + for (sd = sra->devs; sd; sd = sd->next) { + if (sd->disk.state & (1<disk.state &

Bug#840743:

2016-10-25 Thread Jens Sauer
Tags: patch I've made some further investigations: With mdadm (3.4-4) this bug does not appear. This upstream commit [1], which is included in mdadm 3.3.3, fixes this issue. Because this behavior can corrupt the array, I ported this patch for 3.3.2-5+deb8u1 and should be available in the next po

Bug#840743: mdadm: grow fails when no backup file is specified

2016-10-14 Thread Jens Sauer
Package: mdadm Version: 3.3.2-5+deb8u1 Severity: important Dear Maintainer, I was playing around with mdadm in a KVM machine. When the number of active raid devices are changed using the 'grow' feature without specifying a backup file the reshape fails and the array can not be recovered. First