Re: Requesting assistance recovering RAID-5 array

Phil Turmel
2020-04-03T20:14:46Z

On 4/3/20 4:13 PM, Adam Goryachev wrote:
>
> On 4/4/20 05:43, Phil Turmel wrote:
>>
>> On 4/3/20 2:42 PM, Daniel Jones wrote:
>>> After the "--create missing /dev/sdc1 /dev/sdd1 /dev/sde1"  and the
>>> fsck, is "mdadm --manage /dev/md0 --add /dev/sdb" the correct syntax
>>> for attempting to add?
>>
>> You can leave out "--manage".  But yes.
>
> I was mostly following this, but might have missed something here so
> this is just a suggestion to double check....
>
> If you are trying to use partitions instead of whole devices (to prevent
> this happening again in future), then shouldn't you use:
>
> mdadm --manage /dev/md0 --add /dev/sdb1
>
> ie, sdb1 not sdb....

Yes. Good catch.