扩大亚马逊EC2上EBS分区的存储空间

Expanding the Storage Space of an EBS Volume on Linux

http://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ebs-expand-volume.html

先为分区创建快照,然后再将快照恢复成新的分区,这个时候可以指定新分区大小。把原来磁盘卸掉,加载新分区。这里指定分区名为/dev/sda1,这样默认就是可启动的根分区了。

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

This site uses Akismet to reduce spam. Learn how your comment data is processed.