From owner-freebsd-current@FreeBSD.ORG Sat Nov 27 19:58:38 2004 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id EB60F16A4CE for ; Sat, 27 Nov 2004 19:58:38 +0000 (GMT) Received: from lon-mail-2.gradwell.net (lon-mail-2.gradwell.net [193.111.201.126]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1539443D66 for ; Sat, 27 Nov 2004 19:58:38 +0000 (GMT) (envelope-from cbh-freebsd-current@groups.chrishedley.com) Received: from cpc3-oxfd4-4-0-cust42.oxfd.cable.ntl.com ([80.3.247.42] helo=mail.cbhnet)1.156) id 41a8dc6c.b03d.4a for freebsd-current@freebsd.org; Sat, 27 Nov 2004 19:58:36 +0000 Received: from localhost (localhost [127.0.0.1]) by mail.cbhnet (Postfix) with ESMTP id E73E531B01C for ; Sat, 27 Nov 2004 19:58:35 +0000 (GMT) Received: from mail.cbhnet ([127.0.0.1]) by localhost (mail.cbhnet [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 35690-04 for ; Sat, 27 Nov 2004 19:58:35 +0000 (GMT) Received: from teapot.cbhnet (teapot.cbhnet [192.168.1.1]) by mail.cbhnet (Postfix) with ESMTP id 98A3C31AFF5 for ; Sat, 27 Nov 2004 19:58:35 +0000 (GMT) Date: Sat, 27 Nov 2004 19:58:35 +0000 (GMT) From: Chris Hedley X-X-Sender: cbh@teapot.cbhnet To: freebsd-current@freebsd.org Message-ID: <20041127193532.X15946@teapot.cbhnet> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed X-Virus-Scanned: amavisd-new at chrishedley.com Subject: GEOM: gpt partitions on a gmirror array possible? X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 27 Nov 2004 19:58:39 -0000 Hi all, A hopefully quick question! I have looked for a solution for (or discussion about) this, if I've just failed to find it, please point me in the right direction. This is what I'm trying to do: I've created a RAID-1 array, m1, using gmirror on two scsi units, da0 and da1, and I'd like to chop it up into logical partitions using gpt, as I understand (correctly, hopefully) there are leanings toward gpt rather than bsdlabel as being the correct way to do things. Now when I initialise and create my gpt partition on mirror/m1, I get no new entries in /dev/mirror but I _do_ get separate /dev/da0p1 and /dev/da1p1 entries appearing. I've probably completely failed to understand the whole concept of GEOM tasting and unprejudiced hierarchy and so on as I decided I may as well try to create my UFS2 filesystem on /dev/da0p1 in /dev/mirror/m1p1's absence and see if /dev/da1p1 magically follows suit. Needless to say it doesn't, I just end up with a dirty RAID-1 disc that needs resynchronising, with da0p1 (un)mysteriously disappearing after the newfs. Is there a correct way to do this, or am I once again guilty of trying to use something that isn't quite ready yet? Perhaps I should do it the other way around and use gpt first and create one gmirror per partition; that solution didn't "feel" right for some reason, but I can't really quantify that particularly as, if I understand the GEOM documentation correctly, multiple gmirrors with their respective paritions on the same set of discs shouldn't compete with each for access. My system is FreeBSD/amd64, 6.0-current (Oct 25th vintage) using ahc for my test scsi discs and aac for my active discs. Cheers, Chris.