From owner-freebsd-stable@FreeBSD.ORG Wed Jun 24 15:03:48 2009 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id D0C58106566C for ; Wed, 24 Jun 2009 15:03:48 +0000 (UTC) (envelope-from richard@tector.org.uk) Received: from mx0.thekeelecentre.com (mx0.thekeelecentre.com [IPv6:2001:470:9391:2::3]) by mx1.freebsd.org (Postfix) with ESMTP id 2E2538FC1A for ; Wed, 24 Jun 2009 15:03:48 +0000 (UTC) (envelope-from richard@tector.org.uk) Received: from localhost (filter.mx0.thekeelecentre.com [217.206.238.165]) by mx0.thekeelecentre.com (Postfix) with ESMTP id 1FB45454C5 for ; Wed, 24 Jun 2009 16:03:47 +0100 (BST) X-Virus-Scanned: amavisd-new at thekeelecentre.com Received: from mx0.thekeelecentre.com ([217.206.238.167]) by localhost (filter.mx0.thekeelecentre.com [217.206.238.165]) (amavisd-new, port 10024) with ESMTP id J9AaVSEPrBh8 for ; Wed, 24 Jun 2009 15:03:44 +0000 (UTC) Received: from [10.0.2.11] (daffy.tector.org.uk [82.71.32.9]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx0.thekeelecentre.com (Postfix) with ESMTPSA id 2F5F04547D for ; Wed, 24 Jun 2009 16:03:44 +0100 (BST) Message-ID: <4A42404B.5030206@tector.org.uk> Date: Wed, 24 Jun 2009 16:03:39 +0100 From: Richard Tector User-Agent: Thunderbird 2.0.0.21 (Windows/20090302) MIME-Version: 1.0 To: freebsd-stable@freebsd.org Content-Type: multipart/signed; protocol="application/x-pkcs7-signature"; micalg=sha1; boundary="------------ms050908070807030105020804" Subject: sade(8) on a gmirror device X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 24 Jun 2009 15:03:49 -0000 This is a cryptographically signed message in MIME format. --------------ms050908070807030105020804 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit A little background - the system in question , running 7.2-RELEASE has 2 1TB disks in a gmirror, ez0. ad4 and ad6 are the two providers for the gmirror device. It was created after a 30GB slice had been created on ad4 for the various system partitions required. This system is running fine, with the partitions mounted from /dev/mirror/ez0s1a for example. What I would now like to do is create a second slice from the remaining 900-odd GB left on the mirror. However, sade (and sysinstall) do not display the ez0 device to operate on, only the providers: ad4 and ad6. fdisk(8) will happily read the partition table from the mirror: ******* Working on device /dev/mirror/ez0 ******* parameters extracted from in-core disklabel are: cylinders=121601 heads=255 sectors/track=63 (16065 blks/cyl) Figures below won't work with BIOS for partitions not in cyl 1 parameters to be used for BIOS calculations are: cylinders=121601 heads=255 sectors/track=63 (16065 blks/cyl) Media sector size is 512 Warning: BIOS sector numbering starts with sector 1 Information from DOS bootblock is: The data for partition 1 is: sysid 165 (0xa5),(FreeBSD/NetBSD/386BSD) start 63, size 62914257 (30719 Meg), flag 80 (active) beg: cyl 0/ head 1/ sector 1; end: cyl 1023/ head 15/ sector 63 The data for partition 2 is: The data for partition 3 is: The data for partition 4 is: However, dumping the partition table and passing back to fdisk also fails: ezekiel# fdisk -f fd.e ******* Working on device /dev/mirror/ez0 ******* fdisk: Geom not found: "ez0" fdisk: Failed to write sector zero This also occurs if I set kern.geom.debugflags to 16, by the way. Does anyone have any suggestions for how to proceed? The only method I can think of is to break the mirror, add the slice to ad4, then recreate the mirror. Not being able to use sade on a gmirror is a real PITA. Regards, Richard --------------ms050908070807030105020804 Content-Type: application/x-pkcs7-signature; name="smime.p7s" Content-Transfer-Encoding: base64 Content-Disposition: attachment; filename="smime.p7s" Content-Description: S/MIME Cryptographic Signature MIAGCSqGSIb3DQEHAqCAMIACAQExCzAJBgUrDgMCGgUAMIAGCSqGSIb3DQEHAQAAoIIHMDCC A5QwggL9oAMCAQICAQYwDQYJKo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