The current growpart seems to work fine with FreeBSD 11.0 with GPT/UFS - the partition gets resized. The issue is with filesystem resize in resizefs. Its a simple fix, before you can modify the MBR you must first set kern.geom.debugflags=16, then when calling growfs you must pass the '-y' flag. You should then set debugflags back to it's original value.
Basically this, I did a quick hack to test and seems ok:
Hi,
I have been doing some testing on FreeBSD.
The current growpart seems to work fine with FreeBSD 11.0 with GPT/UFS - the partition gets resized. The issue is with filesystem resize in resizefs. Its a simple fix, before you can modify the MBR you must first set kern.geom. debugflags= 16, then when calling growfs you must pass the '-y' flag. You should then set debugflags back to it's original value.
Basically this, I did a quick hack to test and seems ok:
current_debugflags = sysctl -n kern.geom. debugflags debugflags= 16 debugflags= current_ debugflags
sysctl kern.geom.
growfs -y /dev/vtbd0p2
sysctl kern.geom.