MD RAID Setup
These instructions only apply if the MultiDevice ISO installation media was used. If the two drives are not the exact same size then the smaller drive must be the drive selected during installation. There is no way to add a second drive to a RAID array if it’s not at least the same size or bigger then the first drive.
MD RAID setup can be temperamental. If there are any problems during the installation it’s recommended to wipe all drives and start over. That can be done by running
wipefs -fa /dev/sdaand
wipefs -fa /dev/sdbprior to reinstalling.
If not already, login as the
rootuser to get to the # command prompt.
ENTERto start the setup process.
A summary of what will be done is shown. Type
ENTERstart setting up the RAID array.
If any old RAID arrays are found the script will prompt if you want to remove them. Type
ENTERto remove the old arrays.
When done, it’s recommended to return to the command prompt instead of watching the arrays rebuild. Type
ENTERto exit to the # command prompt
To check the status of the MD RAID arrays, type
cat /proc/mdstatand press
ENTER. md1 is the swap array and md2 is the root array.
While not strictly necessary, it’s advised to reboot the server at this time. Type
ENTERto reboot the server.
- Run vicibox-mdraid1
- If old RAID detected, clear it out
- Verify RAID array is setup