How do I increase the EBS volume size of a running

2019-03-07 23:03发布

I have a server running the recent Ubuntu AMIs from Canonical. The size of the EBS boot volume is 8GB. I know that I can resize EBS volumes by taking a snapshot, creating a new volume and expanding the partition on it. How can I increase the size of the volume while the machine is running? If this is not possible, what is the preferred method for increasing the boot volume size with minimal downtime?

7条回答
Fickle 薄情
2楼-- · 2019-03-07 23:49

This will work for xfs file system just run this command xfs_growfs /

查看更多
登录 后发表回答