Help, my RAID won't start

Rashkae ubuntu at tigershaunt.com
Tue Apr 4 13:50:34 UTC 2017


On 17-04-04 12:17 AM, Kevin O'Gorman wrote:
> I've been fooling with this for a while.  Some things are fixed, but the
> darned thing still isn't right.
>

It looks like you've partitioned your RAID device itself.  I'm not too 
sure how that's supposed to look, as I've never set them up that way.
(I partition the physical devices, as you've done, then create a raid 
array, and create my FS directly on that array.)

That's not to say what you have here is wrong, just that I'm not sure 
how to interpret the blkid output.

But actually fixing your current situation is probably going to be 
simple.. *Don't* use device names in your fstab.. put in the UUID

Example:


UUID=a6470f33-4709-4c96-8cf4-2fc0a4c2cdf9 /raid3        ext4   defaults 
  0    2

(Note the removal of nofail, and changing the last field to 2)


You might also want to update your mdadm.conf

Check the device name of your running array with cat /proc/mdstat

Assuming it's the same as you have in the original message, md127

mdadm --detail --scan /dev/md127

Use the output of that command to replace the ARRAY /dev/md3 
metadata=1.2 name=camelot-x:3
UUID=07c3d55f:2c9b1534:6b0d5b78:dd9856ed








More information about the ubuntu-users mailing list