This week has had a lot of turn out of events at the new job, and I feel I should share a couple of tips I've done in the past and hadn't explored in a while. Today, I had to backup data from a raid member drive that was plugged in via usb on a system after a reinstall.
If you try to do a regular mount you'd end up with an error as the following:
Basically you should not mount the drive directly using mount. You first need to run mdadm to assemble the raid using the command below:
If it refuses to run the array because it will be degraded, then you can use
--force option. This is assuming you don't have
/dev/md0 device. Otherwise, you need to change this name, eg : /dev/md23
However, you may still experience the error below:
When this command is executed successfully, you can mount the created device normally using:
Hope this helps those looking to mount raid devices!
published by Alberto J. Matus