减少永久性磁盘大小 [英] Reduce Persistent Disk Size

查看:30
本文介绍了减少永久性磁盘大小的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个 100GB 的永久性磁盘附加到 VM 实例.但我不需要那么多空间,因此不想为此付费.它也有一些数据.我拍了一张磁盘快照,并尝试创建另一个.

I have a persistent disk of 100GB attached to a VM instance. But I don't need all that space, and thus don't want to be billed for it. It has some data as well. I took a snapshot of the disk, and tried to create another one.

在尝试创建一个新磁盘时,它不会取小于 100GB 的值并说,由于 快照也是 100GB,新磁盘应该具有最小大小100GB.

While trying to create a new one, it wouldn't take a value less that 100GB and says, since the snapshot is also of 100GB, the new disk should have a minimum size of 100GB.

如何从快照制作更小的永久性磁盘?还是缩小现有的尺寸?

How can I make a smaller persistent disk from a snapshot? Or reduce the size of the existing one?

推荐答案

这不可能 TMK.您需要创建另一个磁盘并复制数据,但您可以将快照扩展到更大的磁盘.

This is not possible TMK. You'll need to create another disk and copy the data over, though you can expand a snapshot to a larger disk.

这篇关于减少永久性磁盘大小的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆