Re: FreeBSD guest online disk resize
- In reply to: Alexandre Biancalana : "Re: FreeBSD guest online disk resize"
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Mon, 17 Nov 2025 19:16:13 UTC
On Mon, Nov 17, 2025 at 4:13 PM Alexandre Biancalana <biancalana@gmail.com> wrote: > > On Mon, Nov 17, 2025 at 4:09 PM void <void@f-m.fm> wrote: > > > > On Mon, Nov 17, 2025 at 04:01:05PM -0300, Alexandre Biancalana wrote: > > > > >Am I missing a step, or is there a recommended procedure to make > > >geom_label recognize the resized disk size dynamically on FreeBSD > > >guests? > > > > Maybe try growfs ? > > > > growfs(8) for details > > as geom doesn't recognize device new size, growfs also don't see the > new size, the disk original size was 15GB I've resize to 25GB, see > bellow: > > # nvmecontrol devlist > nvme2: bhyve-NVMe > nvme2ns1 (25600MB) > > # geom disk list > Geom name: nda2 > Providers: > 1. Name: nda2 > Mediasize: 16106127360 (15G) > Sectorsize: 512 > Mode: r1w1e2 > descr: bhyve-NVMe > lunid: 589cfc206ec60001 > ident: NVME-4-2 > rotationrate: 0 > fwsectors: 0 > fwheads: 0 # growfs /dev/nda2 growfs: requested size 15GB is equal to the current filesystem size 15GB