Changes

From Amahi Wiki
Jump to: navigation, search
364 bytes removed ,  22:37, 14 September 2015
no edit summary
{{NeedsUpdate}}
 
 
Installing Amahi with RAID 1 in 2HDD setup. See this other page for [[RAID5]].
In a Fedora forum thread - http://www.fedoraforum.org/forum/showthread.php?t=255048 it was found that some makes of hard drives can cause this problem as they take a while to spin up so the system ignores one of them and carries on with the degraded array.
To fix this, apply the following recommended lines to your /etc/rc.d/rc.local file. Make sure you backup the file before doing this just in case and do this all as root; su cp /etc/rc.d/rc.local rc_old.local <b>now using your favourite editor, add these lines to the end of rc.local</b> {|sleep 30mdadm --manage --stop /dev/md0sleep 5mdadm --assemble /dev/md0 --auto=md /dev/sd[a-b]1#mdadm --assemble /dev/md0 -amd /dev/sda1 /dev/sdb1 |} Substitute sd[a-b]1 in the 4th line and /dev/sda1 /dev/sdc1 in the 5th line to suite your personal setup  
12,424

edits