From owner-freebsd-questions@FreeBSD.ORG Wed Jun 10 09:25:12 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id ABAC1106566C for ; Wed, 10 Jun 2009 09:25:12 +0000 (UTC) (envelope-from sonicy@otenet.gr) Received: from kane.otenet.gr (kane.otenet.gr [83.235.67.31]) by mx1.freebsd.org (Postfix) with ESMTP id 12F238FC16 for ; Wed, 10 Jun 2009 09:25:06 +0000 (UTC) (envelope-from sonicy@otenet.gr) Received: from atomic.dyndns.org (athedsl-4493580.home.otenet.gr [94.71.93.20]) by kane.otenet.gr (8.13.8/8.13.8/Debian-3) with ESMTP id n5A9P5i2008200; Wed, 10 Jun 2009 12:25:05 +0300 Message-ID: <4A2F7BF0.8030606@otenet.gr> Date: Wed, 10 Jun 2009 12:25:04 +0300 From: Manolis Kiagias User-Agent: Thunderbird 2.0.0.21 (X11/20090414) MIME-Version: 1.0 To: Valentin Bud References: <139b44430906092312y2a16cb58o3248c1ac9c3f497d@mail.gmail.com> <139b44430906100136k7851f8yd0bb8d712acc5aea@mail.gmail.com> In-Reply-To: <139b44430906100136k7851f8yd0bb8d712acc5aea@mail.gmail.com> X-Enigmail-Version: 0.95.7 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: Wojciech Puchar , freebsd-questions Subject: Re: glabel(8) a gmirror(8) doesn't work 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: Wed, 10 Jun 2009 09:25:12 -0000 Valentin Bud wrote: > On Wed, Jun 10, 2009 at 9:58 AM, Wojciech Puchar < > wojtek@wojtek.tensor.gdynia.pl> wrote: > > >> following >> >>> procedure: >>> 1. reboot to single user >>> 2. mount -a >>> 3. tunefs -L var /dev/mirror/system0s1d >>> This commands exits with "Failed to write superblock". >>> >>> >> replace mount -a with mount / >> >> you can't write directly to partition which is mounted mounted >> >> > > Thanks this time it worked. I am almost sure (99%) I've tried that already > yesterday but the 1% wins. > > One more question can i label the / partition. I have the same error when i > try > to label it. > > v > You should be able to. Just reboot into single user mode and *do not* enter any mount commands. The / partition is mounted read only in this case, and tunefs -L will succeed.