glabel(8) a gmirror(8) doesn't work

Valentin Bud valentin.bud at gmail.com
Wed Jun 10 11:50:58 UTC 2009


On Wed, Jun 10, 2009 at 12:25 PM, Manolis Kiagias <sonicy at otenet.gr> wrote:

> Valentin Bud wrote:
> > On Wed, Jun 10, 2009 at 9:58 AM, Wojciech Puchar <
> > wojtek at 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


More information about the freebsd-questions mailing list