最新消息:雨落星辰是一个专注网站SEO优化、网站SEO诊断、搜索引擎研究、网络营销推广、网站策划运营及站长类的自媒体原创博客

amazon web services - How should I decrease my debian EC2 root EBS volume without affecting the data? - Stack Overflow

programmeradmin0浏览0评论

I have a Debian instance having a root EBS volume of 500 GB. I want to reduce the size to 80 gb as that much storage is not required. AWS doesn't allow me to reduce the current EBS volume so I tried creating another one with dev/xvdf and attached it to the instance now what's next should I do so that I can mount dev/xvdf as dev/xvda (root) without affecting the current data stored in the root volume?

I have a Debian instance having a root EBS volume of 500 GB. I want to reduce the size to 80 gb as that much storage is not required. AWS doesn't allow me to reduce the current EBS volume so I tried creating another one with dev/xvdf and attached it to the instance now what's next should I do so that I can mount dev/xvdf as dev/xvda (root) without affecting the current data stored in the root volume?

Share Improve this question asked Feb 6 at 4:33 Abhishek PandaAbhishek Panda 294 bronze badges
Add a comment  | 

1 Answer 1

Reset to default 2

AFAIK this is not straightforward. You would have to create a new volume of 80GB, copy all the data from the old volume to the new one, and boot a new instance using the new volume.

How to reduce root EBS volume size of an EC2 instance?

与本文相关的文章

发布评论

评论列表(0)

  1. 暂无评论