From owner-freebsd-questions@FreeBSD.ORG Wed Jun 10 11:50:57 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 C6D6910656EA for ; Wed, 10 Jun 2009 11:50:57 +0000 (UTC) (envelope-from valentin.bud@gmail.com) Received: from mail-fx0-f220.google.com (mail-fx0-f220.google.com [209.85.220.220]) by mx1.freebsd.org (Postfix) with ESMTP id 487DE8FC1C for ; Wed, 10 Jun 2009 11:50:56 +0000 (UTC) (envelope-from valentin.bud@gmail.com) Received: by fxm20 with SMTP id 20so640883fxm.43 for ; Wed, 10 Jun 2009 04:50:56 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :from:date:message-id:subject:to:cc:content-type; bh=NJUL7NKKRvqLQYk25Yv6Rw1JTs1Hb4axFFVNVuNsHKw=; b=p/w1jQezxrKGZPtlQKn+JEJMRYhuUMLSgMVJ+PtTx61Isvh9xu8q5YqkKiOratZC12 cUvryCebjwqQGM8dH1KgL8PyWH28Qr8izo1BWmccgtVLHwWmKTdD1aNID4L+BuqrTp+M e05Jhs9Rxjiaa6P23acWKpWKXajn8mu4Td+AM= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type; b=X/RnuunXkgsOKu68TDy/h7LuAlmmZp0sTOJbtklMrhk2KfzurkQna/7gvKsvE7pBSE H4NJIr5RP93XGiCILa3925PjMW6XJqQrvVB9uD7lGP9eJ2byKUKt3IgIJte2uWUgQNM1 +hf3rPdhkbwjTWrw7PlMTblQSmhRHp9TboW1E= MIME-Version: 1.0 Received: by 10.103.225.11 with SMTP id c11mr662061mur.98.1244634656153; Wed, 10 Jun 2009 04:50:56 -0700 (PDT) In-Reply-To: <4A2F7BF0.8030606@otenet.gr> References: <139b44430906092312y2a16cb58o3248c1ac9c3f497d@mail.gmail.com> <139b44430906100136k7851f8yd0bb8d712acc5aea@mail.gmail.com> <4A2F7BF0.8030606@otenet.gr> From: Valentin Bud Date: Wed, 10 Jun 2009 14:50:36 +0300 Message-ID: <139b44430906100450j50a158c4r13c2bc09febe8c6d@mail.gmail.com> To: Manolis Kiagias Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Content-Filtered-By: Mailman/MimeDel 2.1.5 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 11:50:58 -0000 On Wed, Jun 10, 2009 at 12:25 PM, Manolis Kiagias wrote: > 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. > > Yes it worked. Thank you very much. The odd thing is that I once tried to label it after mounting / and rw and afterward changed it to ro with the help of mount and it did not work. a great day, v -- network warrior since 2005