Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 6 Feb 2016 21:48:37 -0600
From:      Matthew Grooms <mgrooms@shrew.net>
To:        freebsd-virtualization@freebsd.org
Subject:   Re: Question about bhyve disk images
Message-ID:  <56B6BE95.5000507@shrew.net>
In-Reply-To: <56B69A83.3080406@redbarn.org>
References:  <E97C216F-6808-44F3-8AF6-0D1F51BEB9A5@ultra-secure.de> <56B69A83.3080406@redbarn.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On 2/6/2016 7:14 PM, Paul Vixie wrote:
>
> Rainer Duffner wrote:
>> Hi,
>>
>> 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 ...

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

-Matthew



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?56B6BE95.5000507>