Geom label lost after expanding partition

Kevin Oberman kob6558 at gmail.com
Thu Aug 16 22:11:49 UTC 2012


On Thu, Aug 16, 2012 at 10:53 AM, Olivier Cochard-Labbé
<olivier at cochard.me> wrote:
> On Thu, Aug 16, 2012 at 6:30 PM, Kevin Oberman <kob6558 at gmail.com> 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!
-- 
R. Kevin Oberman, Network Engineer
E-mail: kob6558 at gmail.com


More information about the freebsd-stable mailing list