Date: Sat, 23 Feb 2008 17:15:14 +0100 (CET) From: Wojciech Puchar <wojtek@wojtek.tensor.gdynia.pl> To: Daniel Gerzo <danger@freebsd.org> Cc: freebsd-questions@freebsd.org Subject: Re: gmirror on slice Message-ID: <20080223171450.G2920@wojtek.tensor.gdynia.pl> In-Reply-To: <13610129926.20080223151720@rulez.sk> References: <13610129926.20080223151720@rulez.sk>
next in thread | previous in thread | raw e-mail | index | archive | help
> 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 > kern.geom.debugflags: 0 -> 16 > ha-db1# gmirror label -v -b round-robin gm0 /dev/ad4s1 > gmirror: Can't store metadata on /dev/ad4s1: Operation not permitted. > > for additional information, I am including the following: > > ha-db1# fdisk -vp ad4 > # /dev/ad4 > g c1453521 h16 s63 > p 1 0xa5 63 72340632 > a 1 > p 2 0xa5 72340695 1392803370 > > ha-db1# disklabel /dev/ad4s1 > # /dev/ad4s1: > 8 partitions: > # size offset fstype [fsize bsize bps/cpg] > a: 1048576 0 4.2BSD 2048 16384 8 > b: 25165824 1048576 swap > c: 72340632 0 unused 0 0 # "raw" part, don't edit > d: 25165824 26214400 4.2BSD 2048 16384 28528 > e: 20960408 51380224 4.2BSD 2048 16384 28528 > > > Any ideas will be much appreciated. > > -- > Best regards, > Daniel mailto:danger@FreeBSD.org > > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" > >
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20080223171450.G2920>