Changes

From SME Server
Jump to navigationJump to search
update disk size revision
Line 40: Line 40:  
* CAUTION MAKE A FULL BACKUP!  
 
* CAUTION MAKE A FULL BACKUP!  
 
* Ensure you have e-smith-base-4.16.0-33 or newer installed.
 
* Ensure you have e-smith-base-4.16.0-33 or newer installed.
* (The following instructions should work for any raid level you have as long as you have >= 2 drives and didn't disable lvm.)
      
# Shut down and install larger drive in system.
 
# Shut down and install larger drive in system.
Line 50: Line 49:  
## mdadm --grow /dev/md2 --size=max
 
## mdadm --grow /dev/md2 --size=max
 
## pvresize /dev/md2
 
## pvresize /dev/md2
## lvresize -l +$(vgdisplay -c main | cut -d: -f16) main/root
+
## lvresize -l +$(vgdisplay -c main | cut -d: -f16) main/root [-l (lower case L)]
## ext2online -C0 /dev/main/root
+
## ext2online -C0 /dev/main/root         [is -C0 (zero)]
   −
Note: that iii) is -l (lower case L), and iv) is -C0 (zero). All of this can be done while the server is up and running with the exception of #1.
+
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
 +
* If you have disable lvm 
 +
# you don't need the lvresize command
 +
# the final line becomes ext2online -C0 /dev/md2 (or whatever / is mounted to)
     

Navigation menu