Re: FreeBSD guest online disk resize
- Reply: Alexandre Biancalana : "Re: FreeBSD guest online disk resize"
- In reply to: void : "Re: FreeBSD guest online disk resize"
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Mon, 17 Nov 2025 19:13:57 UTC
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