Changes between Version 127 and Version 128 of InstallationGuidelines/Amazon


Ignore:
Timestamp:
04/29/19 17:38:18 (3 years ago)
Author:
Fran Boon
Comment:

Grow Storage

Legend:

Unmodified
Added
Removed
Modified
  • InstallationGuidelines/Amazon

    v127 v128  
    149149}}}
    150150
     151=== Grow Storage ===
     152Can increase the size of an existing disk. This can be done dynamically (no need to go offline):
     153* In AWS console, locate the Volume & Create a Snapshot (just in case you wish to rollback)
     154* Modify Volume, set the new size
     155* Login to server to resize the filesystem (https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/recognize-expanded-volume-linux.html):
     156{{{
     157# Identify the volumes present & their labels
     158file -s /dev/xvd*
     159# See old filesystem sizes
     160df -h
     161# See new volume sizes & check if a partition needs resizing
     162lsblk
     163# *If* an xvdf1 partition needs extending (no need if the filesystem is just inside a disk xvdf)
     164growpart /dev/xvdf 1
     165# Extend the filesystem
     166resize2fs /dev/xvdf
     167# Confirm that this has taken effect
     168df -h
     169}}}
    151170=== Disk Striping ===
    152171For DB I/O performance increase can stripe multiple EBS