gmirror on slice

Daniel Gerzo danger at FreeBSD.org
Sat Feb 23 19:01:17 UTC 2008


Hello Wojciech,

Saturday, February 23, 2008, 5:15:14 PM, you wrote:

>> Now I want to initialize gmirror on slice 1:
>>
>> ha-db1# gmirror label -v -b round-robin gm0 /dev/ad4s1
>> gmirror: Can't store metadata on /dev/ad4s1: Operation not permitted.
>> ha-db1# sysctl kern.geom.debugflags=16

> you try to make a mirror on used slice or some partition of that

and what's wrong with that, actually?
how do I create gmirror-ed slice then?

I have also tried the above commands on system that has ad4s1 and its
partitions unmounted, still getting the same error.

-- 
Best regards,
 Daniel                            mailto:danger at FreeBSD.org



More information about the freebsd-questions mailing list