我有一个 vagrant 实例(使用 VirtualBox),我正在使用 vagrant-disksize插件为其分配更多磁盘空间。
但是 Ubuntu 实例似乎没有“看到”额外的空间。
VirtualBox 设置显示 20GB 虚拟和 ~6GB 实际。
对 Ubuntu 设置的进一步检查表明只有大约 6GB 可用。
我怎样才能解决这个问题?
最佳答案
正如插件的文档所述
Depending on the guest, you may need to resize the partition and the filesystem from within the guest. At present the plugin only resizes the underlying disk.
您可以按照 this answer 中的说明进行操作增加虚拟磁盘后的剩余步骤
关于ubuntu - Vagrant Ubuntu 无法调整磁盘大小,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/44372537/