Question about bhyve disk images
mgrooms at shrew.net
Sun Feb 7 03:48:55 UTC 2016
On 2/6/2016 7:14 PM, Paul Vixie wrote:
> Rainer Duffner wrote:
>> is it possible to increase the size of these images (after creation,
>> and while the guest OS is running)?
> there is no driver-layer signal to tell the guest OS that a drive just
> got larger, so the guest OS would have to poll, or be told to sense.
> with freebsd 10 as the guest OS, i've been able to use growfs to make
> it expand the the hog (last) file system on a virtual drive. but i did
> it by shutting down the guest, growing the zvol, booting the guest,
> and running growfs inside the guest. i havn't tried avoiding the
> shutdown and reboot.
I'm not sure if bhyve reports the current backing file size as the
virtual block device size after it's been increased. But if it does,
this may be useful ...
More information about the freebsd-virtualization