Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 10 Jun 2009 14:50:36 +0300
From:      Valentin Bud <valentin.bud@gmail.com>
To:        Manolis Kiagias <sonicy@otenet.gr>
Cc:        Wojciech Puchar <wojtek@wojtek.tensor.gdynia.pl>, freebsd-questions <freebsd-questions@freebsd.org>
Subject:   Re: glabel(8) a gmirror(8) doesn't work
Message-ID:  <139b44430906100450j50a158c4r13c2bc09febe8c6d@mail.gmail.com>
In-Reply-To: <4A2F7BF0.8030606@otenet.gr>
References:  <139b44430906092312y2a16cb58o3248c1ac9c3f497d@mail.gmail.com>  <alpine.BSF.2.00.0906100858220.15079@wojtek.tensor.gdynia.pl>  <139b44430906100136k7851f8yd0bb8d712acc5aea@mail.gmail.com>  <4A2F7BF0.8030606@otenet.gr>

next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, Jun 10, 2009 at 12:25 PM, Manolis Kiagias <sonicy@otenet.gr> 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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?139b44430906100450j50a158c4r13c2bc09febe8c6d>