Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 06 Oct 2020 18:58:43 +0000
From:      bugzilla-noreply@freebsd.org
To:        bugs@FreeBSD.org
Subject:   [Bug 250152] free space on rootfs on VM image is zero
Message-ID:  <bug-250152-227-r8vb4NXYL5@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-250152-227@https.bugs.freebsd.org/bugzilla/>

index | next in thread | previous in thread | raw e-mail

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

--- Comment #1 from Conrad Meyer <cem@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.

help

Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-250152-227-r8vb4NXYL5>