gmirror on root filesystem

Russell E. Meek rmeek at russellmeek.net
Thu Jan 4 20:01:54 UTC 2007


Quoting Josh Paetzel <josh at tcbug.org>:

> I'm trying to use gmirror on my root filesystem.  I've set sysctl
> kern.geom.debugflags to 16 and yet can't label the root partition.
>
> # gmirror label -v root /dev/ad4s1a
> Can't store metadata on /dev/ad4s1a: Operation not permitted.
>
> I was able to do this for /var and /usr while they were mounted.
> Unless someone has any ideas the only solution I see is to put this
> disk in a different box to create the mirror.
>
> --
> Thanks,
>
> Josh Paetzel
> _______________________________________________
> freebsd-questions at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "freebsd-questions-unsubscribe at freebsd.org"
>

Josh,

If using Kernel Secure Levels input the following into rc.conf and reboot.

kern_securelevel_enable="NO"

Thanks,

Russell





More information about the freebsd-questions mailing list