FreeBSD-provided .vhd with VirtualBox: gpart I/O errors after resizing the virtual hard disk

Graham Perrin grahamperrin at
Sat May 15 15:47:29 UTC 2021

On 17/01/2021 18:22, Graham Perrin wrote:
> VirtualBox 5.2.44 r139111 on FreeBSD-CURRENT.
> 01. Add FreeBSD-12.2-RELEASE-amd64.vhd to a machine
> 02. use Virtual Disk Manager to resize it to 2.0 TB

Long story short: it seems that the problem occurs only after resizing 
to (the maximum) 2.0 TB.

Nowadays I typically:

* resize to something less than 2.0 TB
* boot in single user mode
* gpart recover
* service start growfs
* exit single user mode.

More information about the freebsd-current mailing list