Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 16 Aug 2012 15:11:47 -0700
From:      Kevin Oberman <kob6558@gmail.com>
To:        =?UTF-8?Q?Olivier_Cochard=2DLabb=C3=A9?= <olivier@cochard.me>
Cc:        "freebsd-stable@freebsd.org Stable" <freebsd-stable@freebsd.org>
Subject:   Re: Geom label lost after expanding partition
Message-ID:  <CAN6yY1vDyOBHZQ7UvwYweS0dyMTyE5EFYptzpyqhJkxd%2BigvJg@mail.gmail.com>
In-Reply-To: <CA%2Bq%2BTcoN5OP=TXHuYyoeqQBem%2Bb4h4HBrSVdXQmsFbb1j5A%2BTg@mail.gmail.com>
References:  <CAN6yY1uLiruENAp-PEuLaec4jOcDBiWv6NmzMph_xQMn%2BXjUMA@mail.gmail.com> <CA%2Bq%2BTcoN5OP=TXHuYyoeqQBem%2Bb4h4HBrSVdXQmsFbb1j5A%2BTg@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, Aug 16, 2012 at 10:53 AM, Olivier Cochard-Labb=C3=A9
<olivier@cochard.me> wrote:
> On Thu, Aug 16, 2012 at 6:30 PM, Kevin Oberman <kob6558@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!
--=20
R. Kevin Oberman, Network Engineer
E-mail: kob6558@gmail.com



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAN6yY1vDyOBHZQ7UvwYweS0dyMTyE5EFYptzpyqhJkxd%2BigvJg>