<div dir="ltr"><span class="Apple-style-span" style="border-collapse: collapse; ">Hi all,<div><br></div><div>my md array just crapped out on me! I'm partly responsible, since one of the device in the RAID5 array died some time ago and I neglected to replace it, but I don't think it's the whole problem now.</div>
<div><br></div><div>When I assemble the array I get the following:</div><div>root@server:~# mdadm --assemble --verbose /dev/md0 /dev/sdb1 /dev/sdc1 /dev/sdd1</div><div><div>mdadm: looking for devices for /dev/md0</div><div>
mdadm: /dev/sdb1 is identified as a member of /dev/md0, slot 1.</div><div>mdadm: /dev/sdc1 is identified as a member of /dev/md0, slot 2.</div><div>mdadm: /dev/sdd1 is identified as a member of /dev/md0, slot 3.</div><div>
mdadm: no uptodate device for slot 0 of /dev/md0</div><div>mdadm: added /dev/sdb1 to /dev/md0 as 1</div><div>mdadm: added /dev/sdd1 to /dev/md0 as 3</div><div>mdadm: added /dev/sdc1 to /dev/md0 as 2</div><div>mdadm: /dev/md0 assembled from 2 drives - not enough to start the array.</div>
</div><div>mdadm: /dev/md0 assembled from 2 drives - not enough to start the array</div><div><br></div><div>(slot 0 is the long-dead drive)</div><div>the output of "mdadm --examine" for 2 of the drive (sdc & sdd) is similar and looks like this:</div>
<div>...</div><div>State: Clean</div><div>Active Devices: 2</div><div>Working Devices: 2</div><div>Failed Devices: 1</div><div>Events: 1923796</div><div>...<br clear="all"><br></div><div>while the output for sdb looks different:</div>
<div><div>...</div><div>State: active</div><div>Active Devices: 3</div><div>Working Devices: 3</div><div>Failed Devices: 0</div><div>Events: 1923787</div><div>...<br clear="all"></div></div><div><br></div><div>Note the difference in the Events counter and the state. My guess is that the drive is out of sync with the rest.</div>
<div>I tried "mdadm --assemble --force --update=summaries" to bring the stray Events counter up to date per a recommendation I saw in a forum, but this command segfaults.</div><div>I tried strace-ing it and it faults right after reading 4K of data from /dev/sdb1.</div>
<div><br></div><div>To summarize: I'm not sure what to do next. I've read in forums that I should try to re-create the array but I fear it will completely destroy the data (not sure what creating an array from previously-array-ed disks does).</div>
<div><br></div><div>Any help will be appreciated. really!</div><div><br></div><div>Thanks,</div><div>-- <br>-- Shachar</div></span>
</div>