Changes

From SME Server
Jump to navigationJump to search
15 bytes removed ,  01:43, 16 December 2012
no edit summary
Line 33: Line 33:  
#Shutdown, and connected the other 500gb drive as sdb
 
#Shutdown, and connected the other 500gb drive as sdb
 
# Boot up login to admin panel and add sdb to the array, and wait for raid to fully sync.
 
# Boot up login to admin panel and add sdb to the array, and wait for raid to fully sync.
# Reboot with both drives in place, and check RAID health is OK.
+
# Reboot and ensure all drives have been replaced with larger drives and array is in sync and redundant!
 
+
# Issue the following commands:
    
  mdadm --grow /dev/md2 --size=max
 
  mdadm --grow /dev/md2 --size=max
Line 47: Line 47:     
TIP: I put an "&" at end to allow it to run in background even if I close ssh session.
 
TIP: I put an "&" at end to allow it to run in background even if I close ssh session.
      
Notes :   
 
Notes :   
* All of this can be done while the server is up and running with the exception of #1.
   
* These instructions should work for any raid level you have as long as you have >= 2 drives  
 
* These instructions should work for any raid level you have as long as you have >= 2 drives  
 
* If you have disabled lvm   
 
* If you have disabled lvm   
 
# you don't need the pvresize or lvresize command
 
# you don't need the pvresize or lvresize command
 
# the final line becomes ext2online -C0 /dev/md2 (or whatever / is mounted to)
 
# the final line becomes ext2online -C0 /dev/md2 (or whatever / is mounted to)

Navigation menu