简体   繁体   中英

How to increase ec2 instance root file system without EBS?

How to increase disk space of an instance without using EBS ? Root file system size is only showing 10 GB. Is there a way to create a bigger file system without EBS ?

Filesystem            Size  Used Avail Use% Mounted on
/dev/sda1             9.9G  3.3G  6.1G  35% /
tmpfs                 874M     0  874M   0% /lib/init/rw
udev                  874M   84K  874M   1% /dev
tmpfs                 874M     0  874M   0% /dev/shm
/dev/sdb              335G   12G  307G   4% /mnt

As you can see in the output, a much bigger partition is mounted at /mnt . You can move some of the things on the root filesystem there by either remounting it at the appropriate location or add symlinks. There is no other way to add more diskspace if you don't want to resort to EBS or a network filesystem.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM