减少持久磁盘大小 [英] Reduce Persistent Disk Size
问题描述
我有一个连接到VM实例的持续磁盘100GB 。但我并不需要那么多空间,因此也不想为此付账。它也有一些数据。我拍了一张磁盘快照,并试图创建另一个。
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屋!