Changes

From Amahi Wiki
Jump to: navigation, search
144 bytes added ,  21:34, 1 February 2011
m
Mising steps to getting your raid working.
#*This also can take a really long time, as well, but not nearly as long as creating the array itself.
#Unfortunately, Linux does not automatically remember your RAID settings, so you need to create a configuration file so that Linux knows that to do. Fortunately, you don't need to know (or type) the specifics, which mainly involves a really long alpha-numeric ID string:
#*<blockquote>mdadm --detail --scan --verbose > /etc/mdadm.conf</blockquote>
#Now, move all your shares to the RAID array:
#*<blockquote>mv /var/hda/files/* /dev/md0</blockquote>
#Unmount Create a mount point for the arrayArray:#*<blockquote>umount mkdir /devmnt/md0raid</blockquote>
#Edit the /etc/fstab file, so that the shares get mounted to the array on startup:
#*<blockquote>nano /etc/fstab</blockquote>
#*Edit the line containing '/var/hda/files' to read '/dev/md0 /var/hda/files ext4 defaults 1 2'.
#*NOTE: If you do not see the above then place the below on a new line:
#**<blockquote>/dev/md0 /mnt/raid ext4 defaults 1 2</blockquote>
#**If you used a different filesystem other than ext4, place that filesystem name in place of the 'ext4' above.
#Now, finally, mount your array:
1

edit