[Bug 250152] free space on rootfs on VM image is zero

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Tue Oct 6 18:58:43 UTC 2020


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=250152

--- Comment #1 from Conrad Meyer <cem at freebsd.org> ---
Generally the VM images are built with 'growfs_enable="YES"' in /etc/rc.conf. 
This means that as long as you resize the underlying disk image, the filesystem
will automatically expand to fill it on boot.

To resize raw images, you can use truncate(1) with -s to increase the image
size.

For qcow and vhd images, use 'qemu-img resize +123G' for example.

Capacity 105% is sort of expected.  5% of capacity is "reserved," so df reports
100% full when there is 5% remaining.  In this case, the reserved space is also
used.

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-bugs mailing list