From owner-freebsd-questions@FreeBSD.ORG Sat Feb 23 19:01:16 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id F070316A400; Sat, 23 Feb 2008 19:01:16 +0000 (UTC) (envelope-from danger@FreeBSD.org) Received: from virtual.micronet.sk (smtp.micronet.sk [84.16.32.237]) by mx1.freebsd.org (Postfix) with ESMTP id B282713C44B; Sat, 23 Feb 2008 19:01:16 +0000 (UTC) (envelope-from danger@FreeBSD.org) Received: from localhost (localhost [127.0.0.1]) by virtual.micronet.sk (Postfix) with ESMTP id BE09B10E88C; Sat, 23 Feb 2008 20:00:07 +0100 (CET) X-Virus-Scanned: by amavisd-new at virtual.micronet.sk Received: from virtual.micronet.sk ([127.0.0.1]) by localhost (virtual.micronet.sk [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id C0h6FWmJf9lg; Sat, 23 Feb 2008 20:00:06 +0100 (CET) Received: from DANGER-PC (danger.mcrn.sk [84.16.37.254]) by virtual.micronet.sk (Postfix) with ESMTP id 6A66410E864; Sat, 23 Feb 2008 20:00:06 +0100 (CET) Date: Sat, 23 Feb 2008 20:03:12 +0100 From: Daniel Gerzo X-Mailer: The Bat! (v3.99.3) Professional Organization: The FreeBSD Project X-Priority: 3 (Normal) Message-ID: <216928338.20080223200312@rulez.sk> To: Wojciech Puchar In-Reply-To: <20080223171450.G2920@wojtek.tensor.gdynia.pl> References: <13610129926.20080223151720@rulez.sk> <20080223171450.G2920@wojtek.tensor.gdynia.pl> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Cc: Daniel Gerzo , freebsd-questions@freebsd.org Subject: Re[2]: gmirror on slice X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Daniel Gerzo List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 23 Feb 2008 19:01:17 -0000 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@FreeBSD.org