From owner-freebsd-stable@FreeBSD.ORG Wed Jun 8 13:11:40 2011 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 950E41065670 for ; Wed, 8 Jun 2011 13:11:40 +0000 (UTC) (envelope-from nickolasbug@gmail.com) Received: from mail-qy0-f175.google.com (mail-qy0-f175.google.com [209.85.216.175]) by mx1.freebsd.org (Postfix) with ESMTP id 1B30D8FC19 for ; Wed, 8 Jun 2011 13:11:39 +0000 (UTC) Received: by qyk35 with SMTP id 35so2229101qyk.13 for ; Wed, 08 Jun 2011 06:11:38 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:in-reply-to:references:date :message-id:subject:from:to:cc:content-type :content-transfer-encoding; bh=nhUHKXVor3e3vpEP8bCCkYWENYduCIi7BP7+pkB2ARY=; b=LpOg6J2FwwhAQ/9PAku0J8BGrKBj7F9NLrWMagQ8mcRE7VGJnGzVqn/chG/dkiNjan VhZU93KLEGA0VfurZLaE4gqowlYW91U2WRzrWn6+MHDEb0kCHmnVlp08EaDmjTKmekeC 4YlhbO2Awt38uzIYfTrLyhx6gCG+I2RlQqsVQ= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; b=Yqg3DHJsWT8ExBRV0quyH3CdCys1llJFGndiH3ELRL/hezBmaFaVamiVKmvoXHa5bd E+eu1IFEHQXmWetiDxba5eEvk5JBlLcJS2SQU1nlcsz6Tr35UNUeMWgZzMP9hnMrA2Le h0RKmDCMpzCi06OIaBJDlsWzdsYzJZ/ggQiNc= MIME-Version: 1.0 Received: by 10.229.140.195 with SMTP id j3mr5553734qcu.5.1307538698777; Wed, 08 Jun 2011 06:11:38 -0700 (PDT) Received: by 10.229.82.65 with HTTP; Wed, 8 Jun 2011 06:11:38 -0700 (PDT) In-Reply-To: <4DEF7322.8030907@gmx.de> References: <4DEF7322.8030907@gmx.de> Date: Wed, 8 Jun 2011 16:11:38 +0300 Message-ID: From: nickolasbug@gmail.com To: Matthias Andree Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Cc: freebsd-stable@freebsd.org Subject: Re: labelling root file system (RELENG_8) 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: Wed, 08 Jun 2011 13:11:40 -0000 1. Change your root fstab record to /dev/ada0s4a (not label!), reboot to single mode and try to re-label partition. 2. Try boot from live CD or installation CD (fixup console) and label file system without mounting 2011/6/8 Matthias Andree : > Greetings, > > I've tried to re-label an existing (and up to date) 8-STABLE > installation's root partition. =A0This failed, tunefs reports it cannot > write the super block. > > I have attempted this sequence: > > 1. reboot (through BIOS and loader) directly into single-user mode > (boot -s) > 2. sysctl kern.geom.debugflags=3D16 > 3. tunefs -L root /dev/ada0s4a =A0 =A0# that's the dev I mount the root > =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0# part= ition from > > Still no joy =3D> tunefs cannot update the super block. > > Remounting / as rw doesn't help, as expected. > > The root fs uses softupdates but no journalling -- what other hoops do I > need to jump through to create labels for my root ufs file system? > > Thanks. > > Best regards, > Matthias > _______________________________________________ > freebsd-stable@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-stable > To unsubscribe, send any mail to "freebsd-stable-unsubscribe@freebsd.org" > ------- wbr, Nickolas