From owner-freebsd-questions@FreeBSD.ORG Mon Sep 10 03:00:22 2012 Return-Path: Delivered-To: questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 3A32C106566B for ; Mon, 10 Sep 2012 03:00:22 +0000 (UTC) (envelope-from wblock@wonkity.com) Received: from wonkity.com (wonkity.com [67.158.26.137]) by mx1.freebsd.org (Postfix) with ESMTP id E89878FC14 for ; Mon, 10 Sep 2012 03:00:21 +0000 (UTC) Received: from wonkity.com (localhost [127.0.0.1]) by wonkity.com (8.14.5/8.14.5) with ESMTP id q8A30LHu001253; Sun, 9 Sep 2012 21:00:21 -0600 (MDT) (envelope-from wblock@wonkity.com) Received: from localhost (wblock@localhost) by wonkity.com (8.14.5/8.14.5/Submit) with ESMTP id q8A30LP7001250; Sun, 9 Sep 2012 21:00:21 -0600 (MDT) (envelope-from wblock@wonkity.com) Date: Sun, 9 Sep 2012 21:00:21 -0600 (MDT) From: Warren Block To: Kevin Oberman In-Reply-To: Message-ID: References: User-Agent: Alpine 2.00 (BSF 1167 2008-08-23) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.2.7 (wonkity.com [127.0.0.1]); Sun, 09 Sep 2012 21:00:21 -0600 (MDT) Cc: questions@freebsd.org Subject: Re: Removing UFS label from root X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 10 Sep 2012 03:00:22 -0000 On Sun, 9 Sep 2012, Kevin Oberman wrote: > On Sun, Sep 9, 2012 at 6:49 PM, Warren Block wrote: >> On Sun, 9 Sep 2012, Warren Block wrote: >> >>> On Sun, 9 Sep 2012, Kevin Oberman wrote: >>> >>>> I added a label to my root fs some time ago. I really prefer the gpt >>>> label and I have added it, but I can't figure out how to remove the >>>> ufs label. >>>> >>>> I boot single user and run 'tunefs -L "" /dev/ada1p2' but I get an >>>> "unable to write superblock" error. This is before mounting the drive >>>> RW, but it is, of course, mounted RO. >>> >>> >>> This worked in a VM when I tested it just now. Maybe running fsck on that >>> filesystem first will help. > > Already tried that. > > I know I was able to label it originally, so it does seem like > something must have changed, but I don't know what. I did use gpart to > expand my /usr partition and then used growfs to expand the FS, but I > did nothing to root and I was able to remove the labels on all of the > other partitions. Might there be a duplicate filesystem label of "root" on ada0 or another disk?