[EC2] How do I extend a Linux file system after increasing an EBS volume on an EC2 instance?

Print
  1. Snapshot Backup 

    1. Go to AWS Console > EC2 > Elastic Block Store > Volumes > Select Volume > Actions > Create Snapshot

  2. Volume Expansion 

    1. Go to AWS Console > EC2 > Elastic Block Store > Volumes > Select Volume > Actions > Modify Volume > Change Size 

  3. File System Expansion 

    1. Before Expansion - Check Status 

      # df -hT
      # lsblk
    2. Expand the File System 

      # sudo xfs_growfs -d /파일시스템
    3. After Expansion - Verify Changes 

      # df -hT
      # lsblk

Cette réponse a-t-elle été utile ? Oui Non

Envoyer vos commentaires
Désolés de n'avoir pu vous être utile. Aidez-nous à améliorer cet article en nous faisant part de vos commentaires.