ML
    • Recent
    • Categories
    • Tags
    • Popular
    • Users
    • Groups
    • Register
    • Login

    How to increase EBS volume size on AWS

    IT Discussion
    aws aws ec2
    2
    3
    645
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • IRJI
      IRJ
      last edited by

      You can increase your volume size on the fly by modifying the volume and adding disk space.

      You can then run lsblk to view your partitions. In this example the partition is xvda1 which seems to be the default for AWS. You can expand the partition below without a reboot.

      sudo growpart /dev/xvda 1

      Note: if you are 100% out of disk space you will get a message saying you cant write a temp file and perform the operation. You will need to delete an un necessary file or uninstall something to temporarily free up the disk space.

      1 Reply Last reply Reply Quote 1
      • Alex JonesA
        Alex Jones
        last edited by

        Thanks!

        IRJI 1 Reply Last reply Reply Quote -2
        • IRJI
          IRJ @Alex Jones
          last edited by

          @Alex-Jones said in How to increase EBS volume size on AWS:

          Thanks!

          My pleasure! That can come in handy when dealing with the Clintons or reptilian aliens.

          1 Reply Last reply Reply Quote 2
          • 1 / 1
          • First post
            Last post