Extending disk space under a VM

Support for other hardware categories not listed below.
Post Reply
Ken E Unix
Posts: 29
Joined: Sat Jul 29, 2023 6:37 pm

Extending disk space under a VM

Post by Ken E Unix »


Is it possible to extend the size of the disk partition when running under a virtual machine.

I would like to extend the drive size from 20 to 40gb. It was possible to extend the size but
how do you tell GhostBSD the extra space is available?

After extending the virtual drive in Virtualbox and running gparted it appeared that the
size was extended but GhostBSD did not recognize it.

Posts: 30
Joined: Sat Mar 14, 2020 4:04 pm

Re: Extending disk space under a VM

Post by aschiebe »

Hi Ken,
assuming the ghostbsd vmclient is using ZFS as FileSystem, then you give it a try with:

zpool set ....
set <property=value> <pool>

the following properties are supported:
autoexpand YES on | off

zpool set autoexpand=on <yourpoolname>

this should grow your pool to the new disk size.

Happy eveining,
KR Arnold
Posts: 1
Joined: Fri Nov 24, 2023 2:50 am

Re: Extending disk space under a VM

Post by elija04 »

Within the virtual landscape, the answer to extending disk space in a VM resides in a thoughtful orchestration of technological resources. It involves considerations of storage architecture, system compatibility, and strategic allocation—a cognitive synthesis that transforms digital intentions into practical configurations, expanding the virtual realm's capacity seamlessly. mp bhulekh
Post Reply