From owner-freebsd-stable@FreeBSD.ORG Fri Aug 17 03:33:55 2012 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 58683106564A for ; Fri, 17 Aug 2012 03:33:55 +0000 (UTC) (envelope-from kob6558@gmail.com) Received: from mail-lb0-f182.google.com (mail-lb0-f182.google.com [209.85.217.182]) by mx1.freebsd.org (Postfix) with ESMTP id C24078FC14 for ; Fri, 17 Aug 2012 03:33:54 +0000 (UTC) Received: by lbbgk8 with SMTP id gk8so2252689lbb.13 for ; Thu, 16 Aug 2012 20:33:53 -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=TrEgfXyX+KDGmBVqPt1vXCy4IOf88FSwtlVnIHp7NqM=; b=oejej+ZG3ocOsdkmLNnVpsd1lb3z41oAqKBxxdqRnc4foRUu9h9BXlH8WJp2Arx2pg LKUgLoV4ASKYIWXxTe8X0rMWHwni5B3j3ELAJ7vRo067K1wFb3De4/hgtmUpbeSMAwp6 ncAW0LaI/ua7X1S2qPcTfIyn+fhki7BVQp4DUIvSHCCs2MOxD+ylaxo3D1XoJzau7EsH bTJuCQHXtB2SNBKFsM9XV7NJdTnTuHB1A3gp1k43Sik3Z4e8p5EFMXZEUxOxyiJDsmbB 513MZcJhQjdXD9FpGi+4hPzz2PU2bB+JV74y03CE0SfmYaOQq9OR66n7e5kUjMImshpD n6Hw== MIME-Version: 1.0 Received: by 10.152.131.42 with SMTP id oj10mr3281406lab.49.1345174433211; Thu, 16 Aug 2012 20:33:53 -0700 (PDT) Received: by 10.112.129.168 with HTTP; Thu, 16 Aug 2012 20:33:53 -0700 (PDT) In-Reply-To: References: Date: Thu, 16 Aug 2012 20:33:53 -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: Fri, 17 Aug 2012 03:33:55 -0000 On Thu, Aug 16, 2012 at 3:11 PM, Kevin Oberman wrote: > 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! As I expected, it works fine. I've got my /dev/ufs/usr back! Thanks! --=20 R. Kevin Oberman, Network Engineer E-mail: kob6558@gmail.com