Changes

Jump to navigation Jump to search
m
no edit summary
Line 24: Line 24:     
Install the required tools using the Yum commands below.
 
Install the required tools using the Yum commands below.
  yum Install parted<br>
+
  yum install parted<br>
 
  yum install xfsprogs
 
  yum install xfsprogs
 
   
 
   
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/mdstatIt 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.
Line 77: Line 77:  
===Mount your new partition to a directory===
 
===Mount your new partition to a directory===
 
Finally open /etc/fstab and edit the bottom line to mount the new area be sure to leave a new line feed at the bottom, and use proper spacing.
 
Finally open /etc/fstab and edit the bottom line to mount the new area be sure to leave a new line feed at the bottom, and use proper spacing.
mkfs.xfs /dev/vg_DATA/lv_DATA
      
For Example in my file I entered
 
For Example in my file I entered
Line 90: Line 89:  
*This setup in /etc/fstab should be maintained when updates or upgrades are conducted however if you want a more definite solution I would advise reading up on templates in SME Server.
 
*This setup in /etc/fstab should be maintained when updates or upgrades are conducted however if you want a more definite solution I would advise reading up on templates in SME Server.
   −
<noinclude>[[Category:Howto]][[Category:Administration:Storage]]</noinclude>
+
<noinclude>
 +
[[Category:Howto]]
 +
[[Category:Administration:Storage]]
 +
</noinclude>
3,054

edits

Navigation menu