【问题标题】:Vagrantbox is missing hard drive?Vagrant Box 缺少硬盘驱动器?
【发布时间】:2020-04-25 06:08:16
【问题描述】:

我为 VirtualBox 创建了全新的 vagrant box(安装了仿生服务器),VDI 硬盘类型为 60gb。

其他一切似乎都运行良好,但我在 vagrant box 中只有 4gb 的硬盘。

知道可能导致问题的原因吗?

Usage of /: 91.1% of 3.87GB 当我使用vagrant ssh 登录时。

df -h

Filesystem                         Size  Used Avail Use% Mounted on
udev                               463M     0  463M   0% /dev
tmpfs                               99M  992K   98M   1% /run
/dev/mapper/ubuntu--vg-ubuntu--lv  3.9G  3.6G  136M  97% /
tmpfs                              493M     0  493M   0% /dev/shm
tmpfs                              5.0M     0  5.0M   0% /run/lock
tmpfs                              493M     0  493M   0% /sys/fs/cgroup
/dev/loop0                          90M   90M     0 100% /snap/core/8268
/dev/loop1                          90M   90M     0 100% /snap/core/8039
/dev/sda2                          976M   89M  820M  10% /boot

$ sudo fdisk -l

Disk /dev/sda: 60 GiB, 64424509440 bytes, 125829120 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: gpt
Disk identifier: 70F42037-B7D6-4DDB-AC56-9CE5DDFBA29B

自定义盒子是彻底完蛋了还是还能保存?

【问题讨论】:

    标签: vagrant virtualbox hard-drive


    【解决方案1】:

    你能粘贴以下命令的输出吗?

    sudo lsblk
    

    您正在磁盘中使用 LVM。

    LVM HowTo

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 2011-08-06
      • 2012-02-08
      • 2018-01-26
      • 2012-08-07
      • 2017-01-27
      • 2012-11-03
      • 2012-12-11
      • 1970-01-01
      相关资源
      最近更新 更多