UFS service growfs start in single user mode

Given the red alert under <https://docs.freebsd.org/en/books/handbook/disks/#disks-growing>, I thought it sensible to boot in single user mode when aiming to grow the file system.

I was repeatedly puzzled by failures –

Operation not permitted
2021-04-18 18:41:51.png

Eventually I realised:

… As a solution (or workaround) I found that running service growfs onestart (source) solved the problem. …

Success, with service growfs start:

2021-04-18 18:54:13.png


I don't know about this:

Code:
gpart: arg0 'gpt/rootfs': Invalid argument
 
Not related to the issue but I noticed your kernel is still indicating RC5 while your userland is 13.0-RELEASE, so it hasn't been updated yet. As far as I know there are no significant differences between RC5 and 13.0-RELEASE (besides the version string) but it just looks wrong.
 
Thanks. It not only looks wrong, it is wrong.

… your kernel is still indicating RC5 while your userland is 13.0-RELEASE …

If I recall correctly, this was a casualty of the FreeBSD-provided disk being too small for an initial freebsd-update(8) routine. The lack of free space encountered during the routine caused the routine to fail and left me with an incomplete upgrade.

IMHO there's some lack of forethought in providing disks that are too small for such things, but this (off topic) is a discussion for another day/month/year …
 
Back
Top