Auto Mount raid

image_pdfimage_print

https://www.howtoforge.com/how-to-resize-raid-partitions-shrink-and-grow-software-raid

You could add an entry to /etc/fstab:

Make sure that /media/server is present:

You could use the UUID of the partition instead of /dev/md126 The UUID of a filesystem is unlikely to change unless you alter it, whereas the partition may change its identifier and be named md0 or md255 or something like that.

Use the blkid or lbslk command to get the UUID, and then replace /dev/md126 with UUID=xxx-xxxxx-xxxxxx-xxx in the above line:

 

The UUID of /dev/md2 (the RAID array in this case) is 12341234-8a9c-43c3-cf5b-eaabd644035c, so the entry would look like:

 

This entry was posted in Raid. Bookmark the permalink.

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.