Disksize is only 2GB, expected in 10GB
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
cloud-images |
Confirmed
|
Undecided
|
Unassigned |
Bug Description
Upon creation of new vagrant box:
vagrant init ubuntu/artful32
vagrant up
I look inside the box and see strange disk capacity. fdisk claims it is size 10GB. but the file system 2.2 GB.
vagrant@
build_name: server
serial: 20171220
vagrant@
Disk /dev/sda: 10 GiB, 10737418240 bytes, 20971520 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: dos
Disk identifier: 0x5e4defa6
Device Boot Start End Sectors Size Id Type
/dev/sda1 * 2048 20971486 20969439 10G 83 Linux
vagrant@
Filesystem Size Used Avail Use% Mounted on
udev 1000M 0 1000M 0% /dev
tmpfs 202M 3.2M 199M 2% /run
/dev/sda1 2.2G 1.3G 849M 61% /
tmpfs 1007M 0 1007M 0% /dev/shm
tmpfs 5.0M 0 5.0M 0% /run/lock
tmpfs 1007M 0 1007M 0% /sys/fs/cgroup
tmpfs 202M 0 202M 0% /run/user/1000
tags: | added: id-5a4babf3784083ca10775249 |
Hi Jarl,
Thanks for the bug report! Resizing of the partition happens during
boot. It's _possible_ that you could be able to access the machine
before it completes. Could you confirm that you still see this issue
once the machine has been up for a few minutes?
Thanks,
Dan