ubuntu - Vagrant Ubuntu 无法调整磁盘大小

标签 ubuntu vagrant virtualbox

我有一个 vagrant 实例(使用 VirtualBox),我正在使用 vagrant-disksize插件为其分配更多磁盘空间。

但是 Ubuntu 实例似乎没有“看到”额外的空间。

VirtualBox 设置显示 20GB 虚拟和 ~6GB 实际。

对 Ubuntu 设置的进一步检查表明只有大约 6GB 可用。

我怎样才能解决这个问题? enter image description here

enter image description here

最佳答案

正如插件的文档所述

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/

相关文章:

ssh - 在Vagrant中安装了其他发行版。现在无法通过SSH进入MySQL

docker - Vagrant 配置程序上的 docker 守护进程版本是什么?

ubuntu - 无法为 spring boot 配置 docker 和 nginx

python - 检测 VGA 显示器何时插入

ruby - Vagrant with Chef - 配置 VM 时出错

batch-file - 当出现错误时,VirtualBox startvm 命令始终返回退出代码 0

c - VirtualBox 无法加载 .img 或 .flp 文件

java - 如何在 ubuntu 14.04 中设置 tomcat7 以便它使用最新的 java-8-oracle JRE?

bash - Ubuntu 10.04 : Bash script fails in cronjob when [-e ] test is used

ssh - 如何通过主机从外部 SSH 到 VirtualBox guest ?