Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 10 Jun 2009 12:25:04 +0300
From:      Manolis Kiagias <sonicy@otenet.gr>
To:        Valentin Bud <valentin.bud@gmail.com>
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:  <4A2F7BF0.8030606@otenet.gr>
In-Reply-To: <139b44430906100136k7851f8yd0bb8d712acc5aea@mail.gmail.com>
References:  <139b44430906092312y2a16cb58o3248c1ac9c3f497d@mail.gmail.com> <alpine.BSF.2.00.0906100858220.15079@wojtek.tensor.gdynia.pl> <139b44430906100136k7851f8yd0bb8d712acc5aea@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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.




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