mdadm seg faults when forced to assemble array
Bug #282492 reported by
bexamous
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
mdadm (Debian) |
Fix Released
|
Unknown
|
|||
mdadm (Ubuntu) |
Fix Released
|
Critical
|
Dustin Kirkland |
Bug Description
Binary package hint: mdadm
Trying to force array to assemble causes mdadm to seg fault.
Eg:
bexamous@nine:~$ sudo mdadm -A -f /dev/md3 /dev/sdb3 /dev/sdc3 /dev/sde3 /dev/sdf3 /dev/sdg3 /dev/sdh3
mdadm: forcing event count in /dev/sdb3(0) from 93274 upto 93278
Segmentation fault (core dumped)
This is with mdadm version 2.6.7-3ubuntu7
Found same exact problem reported here:
http://
Changed in mdadm: | |
assignee: | nobody → kirkland |
importance: | Undecided → Critical |
status: | New → Triaged |
Changed in mdadm: | |
status: | Unknown → Fix Released |
To post a comment you must log in.
http:// neil.brown. name/git? p=mdadm; a=commitdiff; h=60b435db5a7b0 85ad12041688790 37bf14ebd6d1
BTW this patch fixes issue.
Before:
bexamous@nine:~$ sudo mdadm -A -f /dev/md3 /dev/sdb3 /dev/sdc3 /dev/sde3 /dev/sdf3 /dev/sdg3 /dev/sdh3
mdadm: forcing event count in /dev/sdb3(0) from 93274 upto 93278
Segmentation fault (core dumped)
After:
bexamous@nine:~$ sudo mdadm -v -A -f --run /dev/md3 /dev/sdb3 /dev/sdc3 /dev/sde3 /dev/sdf3 /dev/sdg3 /dev/sdh3
mdadm: looking for devices for /dev/md3
mdadm: /dev/sdb3 is identified as a member of /dev/md3, slot 0.
mdadm: /dev/sdc3 is identified as a member of /dev/md3, slot 1.
mdadm: /dev/sde3 is identified as a member of /dev/md3, slot 2.
mdadm: /dev/sdf3 is identified as a member of /dev/md3, slot 3.
mdadm: /dev/sdg3 is identified as a member of /dev/md3, slot 4.
mdadm: /dev/sdh3 is identified as a member of /dev/md3, slot 5.
mdadm: forcing event count in /dev/sdb3(0) from 93274 upto 93278
mdadm: forcing event count in /dev/sdc3(1) from 93274 upto 93278
mdadm: forcing event count in /dev/sde3(2) from 93274 upto 93278
mdadm: added /dev/sdc3 to /dev/md3 as 1
mdadm: added /dev/sde3 to /dev/md3 as 2
mdadm: added /dev/sdf3 to /dev/md3 as 3
mdadm: added /dev/sdg3 to /dev/md3 as 4
mdadm: added /dev/sdh3 to /dev/md3 as 5
mdadm: no uptodate device for slot 6 of /dev/md3
mdadm: added /dev/sdb3 to /dev/md3 as 0
mdadm: /dev/md3 has been started with 6 drives (out of 7).