From owner-freebsd-stable@FreeBSD.ORG Thu Jun 9 07:37:30 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 B7ACA106564A for ; Thu, 9 Jun 2011 07:37:30 +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 72E0C8FC12 for ; Thu, 9 Jun 2011 07:37:30 +0000 (UTC) Received: by qyk35 with SMTP id 35so2761450qyk.13 for ; Thu, 09 Jun 2011 00:37:29 -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=66ZuYnEI4oTbIfWtgHgPvbjf3EehtiTKfnQvilVu8aw=; b=mpo2OvId1VzGJinpWndtYMgkwQWGOpWAdrv5FLdadbt19SmQC7bbMsLzc0HvLMM8AP aSSBDpoSwhh7A0LhhfZti+yeCVW8DyEk/nepqAZ+GtAWnLoeRbS9KUbFWM2S7c/Gegb9 O/oDV6Xopi1B/v6HUc/4H2HbG1XfInNzrfsDA= 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=nxdD9wVrktI9jzAUZUaQ5WgziIoGtTY/OXuJ4XNt3GRcessmU2RvYNAY3/lG1sQz4B ZjMdWL9pz6BxJzLFZX+g9UUchEuTNjW5eSv53ppUjdUROaoCyzYGMoesLQ27BhowMS67 /7pvvVcB34gqmniYH/KOuR8YMZEIvVFjxdWqw= MIME-Version: 1.0 Received: by 10.224.187.12 with SMTP id cu12mr268264qab.67.1307605049770; Thu, 09 Jun 2011 00:37:29 -0700 (PDT) Received: by 10.229.82.65 with HTTP; Thu, 9 Jun 2011 00:37:29 -0700 (PDT) In-Reply-To: <4DEF8103.9030401@gmx.de> References: <4DEF7322.8030907@gmx.de> <4DEF8103.9030401@gmx.de> Date: Thu, 9 Jun 2011 10:37:29 +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: [SOLVED] 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: Thu, 09 Jun 2011 07:37:30 -0000 2011/6/8 Matthias Andree : > Am 08.06.2011 15:11, schrieb nickolasbug@gmail.com: >> 1. Change your root fstab record to /dev/ada0s4a (not label!), reboot >> to single mode and try to re-label partition. > > Indeed not mounting from the label was (apparently) the key to solve > this. =A0Thank you. > > In fact the successful procedure was: > > - from boot menu, escape to loader prompt > - set vfs.root.mountfrom=3Dufs:/dev/ada0s4a > - boot -s > - tunefs -L mylabel /dev/ada0s4a > - mount -a > - edit /etc/fstab to use /dev/ufs/mylabel as device for / > - shutdown -r now > Right, you cannot re-label partition because you've mount filesystem through label device. So this device is already in use and re-labeling would destroy label device. ----- wbr, Nickolas