From owner-freebsd-stable@FreeBSD.ORG Thu Aug 16 22:11:49 2012 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 98860106566B for ; Thu, 16 Aug 2012 22:11:49 +0000 (UTC) (envelope-from kob6558@gmail.com) Received: from mail-we0-f182.google.com (mail-we0-f182.google.com [74.125.82.182]) by mx1.freebsd.org (Postfix) with ESMTP id 2476F8FC0A for ; Thu, 16 Aug 2012 22:11:48 +0000 (UTC) Received: by weyx56 with SMTP id x56so2549819wey.13 for ; Thu, 16 Aug 2012 15:11:47 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; bh=STFt044i6JKGcuxiUKxLfwlTQkSZsbUbouE2VsEGiwo=; b=E+OiFuqHyrvYTW2eiyVkhVj9vO+VCps8ZX6IOykO+dLwIANApvvPuF/PZdjPWtBM9S hjFdCC5WmLvELeP/Un/gddQK34af+XexpA/ROPCERhOdHisXYlFufHQDU7Tw+fW/OoQh CL559LoncTPcCkDFW30xy+ZsV2WwBoRYKwRhYhjk558qCfHAnTiAC/tllNO0hhTbATg8 FN3Hvn1gg5oBUu+NKCkLEsa8G9i5d0v2NLkrIOBdJHefx5kIpY59eMh1akD9iBVNNLfd A0ivZb8te0r+cj5540jGvncoK0rSzUb3kb/+5zMehj0cNCUSffdnMujs2Oi+5bW2+Klk bNVg== MIME-Version: 1.0 Received: by 10.180.84.104 with SMTP id x8mr9384387wiy.20.1345155107868; Thu, 16 Aug 2012 15:11:47 -0700 (PDT) Received: by 10.223.63.76 with HTTP; Thu, 16 Aug 2012 15:11:47 -0700 (PDT) In-Reply-To: References: Date: Thu, 16 Aug 2012 15:11:47 -0700 Message-ID: From: Kevin Oberman To: =?UTF-8?Q?Olivier_Cochard=2DLabb=C3=A9?= Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Cc: "freebsd-stable@freebsd.org Stable" Subject: Re: Geom label lost after expanding partition X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 16 Aug 2012 22:11:49 -0000 On Thu, Aug 16, 2012 at 10:53 AM, Olivier Cochard-Labb=C3=A9 wrote: > On Thu, Aug 16, 2012 at 6:30 PM, Kevin Oberman 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