You need to enable JavaScript to run this app.
Elastic Compute Service

Elastic Compute Service

Copy page
Download PDF
Extending a volume
Extending a file system on a raw device (Linux)
Copy page
Download PDF
Extending a file system on a raw device (Linux)
If you want to create a file system on a volume without first creating partitions, follow the steps in this topic to extend the file system.​
Notes​
This operation only applies to Linux systems.​
Steps​
  1. Run this command to see the details of the file systems on the instance.​
  • ​
    df -ihT​
    ​
  • The output below indicates that the format of the file system you want to extend is XFS.​
  • ​image​​
  1. Run the appropriate command to extend the file system according to its format.​
  • Use this command to extend an EXT file system:​
  • ​
    resize2fs /dev/vdb​
    ​
  • Use this command to extend an XFS file system:​
  • ​
    xfs_growfs /dev/vdb​
    ​
  1. Run this command to view the space usage for all file systems.​
  • ​
    df -h​
    ​
​
Last updated: 2026.04.30 18:52:25