Geom label lost after expanding partition

Kevin Oberman kob6558 at
Fri Aug 17 03:33:55 UTC 2012

On Thu, Aug 16, 2012 at 3:11 PM, Kevin Oberman <kob6558 at> wrote:
> On Thu, Aug 16, 2012 at 10:53 AM, Olivier Cochard-Labbé
> <olivier at> wrote:
>> On Thu, Aug 16, 2012 at 6:30 PM, Kevin Oberman <kob6558 at> wrote:
>>> I have a GPT formatted disk where I recently expanded the size of a
>>> partition. I used "gpart resize -i 6 ada1" first to expand the
>>> partition to use the remaining free space and then growfs to modify
>>> the FFS file system to use the full partition. This was all done in
>>> single-user mode, of course, but when I enter "exit" to bring the
>>> system up, it failed to mount /usr. This was because /dev/ufs/usr did
>>> not exist!
>> I've met the same problem, check this PR for a dirty workaround:
> Yep. It is certainly a dirty fix, but it should work. Looks like
> glabel is doing the right thing, though a message would have been
> nice.
> Rebuilding now. Thanks so much!

As I expected, it works fine. I've got my /dev/ufs/usr back!
R. Kevin Oberman, Network Engineer
E-mail: kob6558 at

More information about the freebsd-stable mailing list