Line 39: |
Line 39: |
| print | | print |
| | | |
− | Remember to set the max size (4.00TB above) to whatever size hard disk drives you are using also you will need tochange the device sdX value for each drive in the chain. | + | Remember to set the max size (4.00TB above) to whatever size hard disk drives you are using also you will need to change the device sdX value for each drive in the chain. |
| | | |
| ===Creating the array=== | | ===Creating the array=== |
Line 46: |
Line 46: |
| Change the md3 number to the one you have selected, you will also need to change the number of raid devices and list each of the devices to use in the array. | | Change the md3 number to the one you have selected, you will also need to change the number of raid devices and list each of the devices to use in the array. |
| | | |
− | {{Note box|Be Advised this command will process quickly but in the background it will be conducted a re-sync of the RAID array you can monitor this by running cat /proc/mdstat. It highly advisable to wait for the re-sync to be completed before proceeding.}} | + | {{Note box|Be Advised this command will process quickly but will continue to run a re-sync of the RAID array in the background. You can monitor this re-sync by running cat /proc/mdstat, It highly advisable to wait for the re-sync to be completed before proceeding.}} |
| | | |
| ===Save raid array structure=== | | ===Save raid array structure=== |
Line 53: |
Line 53: |
| mdadm --detail --scan | grep md3 >> /etc/mdadm.conf | | mdadm --detail --scan | grep md3 >> /etc/mdadm.conf |
| | | |
− | Once that command is run it would be a good idea to look inside it. You should only see one new line in that file. | + | Once that command is run it would be a good advisable to view the file, You should only see one new line in the file. |
− | It is the then advisable to create a copy of the mdadm.conf run the following | + | It is the then a good idea to create a copy of the mdadm.conf by running the following command |
| cp /etc/mdadm.conf /etc/mdadm.conf.bak | | cp /etc/mdadm.conf /etc/mdadm.conf.bak |
| Keep this file permanently as it is possible in the future something may occur on your SME Server to cause the mdadm.conf file to be trashed or reset, in that case you can use this backup file to rewrite your required raid information. | | Keep this file permanently as it is possible in the future something may occur on your SME Server to cause the mdadm.conf file to be trashed or reset, in that case you can use this backup file to rewrite your required raid information. |