From owner-freebsd-stable@FreeBSD.ORG Sat Mar 26 15:42:00 2005 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 884EA16A4CE for ; Sat, 26 Mar 2005 15:42:00 +0000 (GMT) Received: from mailhost.tao.org.uk (transwarp.tao.org.uk [212.135.162.50]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6628743D41 for ; Sat, 26 Mar 2005 15:41:59 +0000 (GMT) (envelope-from joe@tao.org.uk) Received: from genius.tao.org.uk (genius.tao.org.uk [212.135.162.51]) by mailhost.tao.org.uk (Postfix) with ESMTP id 533AD7522 for ; Sat, 26 Mar 2005 15:41:58 +0000 (GMT) Received: by genius.tao.org.uk (Postfix, from userid 100) id 3C55240C1; Sat, 26 Mar 2005 15:41:51 +0000 (GMT) Date: Sat, 26 Mar 2005 15:41:51 +0000 From: Josef Karthauser To: stable@freebsd.org Message-ID: <20050326154151.GF83888@genius.tao.org.uk> Mail-Followup-To: Josef Karthauser , stable@freebsd.org References: <20050326124835.GA60924@genius.tao.org.uk> <20050326131630.GD83888@genius.tao.org.uk> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="fwqqG+mf3f7vyBCB" Content-Disposition: inline In-Reply-To: <20050326131630.GD83888@genius.tao.org.uk> User-Agent: Mutt/1.5.9i Subject: Re: geom mirror X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 26 Mar 2005 15:42:00 -0000 --fwqqG+mf3f7vyBCB Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Sat, Mar 26, 2005 at 01:16:30PM +0000, Josef Karthauser wrote: >=20 > What is the relationship between geom mirror partitions and native ones, > i.e. ad1s1 vs mirror/gm0s1? The disk labels above look spookily > similar, but I didn't set a disklabel on ad1s1 manually. >=20 > With respect to booting do the first stage boot blocks know anything > about gmirror partitions? How is the linkage between native devices and > gmirror devices done at boot time? >=20 One more thing. The reason I can't boot on /dev/ad1s1 is probably because /dev/ad1s1a doesn't appear to be registered (hence the invalid label problem I see at the stage one boot.) # ls /dev/ad1* /dev/ad1 /dev/ad1s1 # ls /dev/mirror gm0s1 gm0s1a gm0s1b gm0s1c gm0s1d gm0s1e gm0s1f gm0s1g gm0s1h jonah# gmirror list Geom name: gm0s1 State: COMPLETE Components: 1 Balance: round-robin Slice: 4096 Flags: NOAUTOSYNC SyncID: 1 ID: 3812009587 Providers: 1. Name: mirror/gm0s1 Mediasize: 122942291968 (114G) Sectorsize: 512 Mode: r6w6e1 Consumers: 1. Name: ad1s1 Mediasize: 122942292480 (114G) Sectorsize: 512 Mode: r6w6e2 State: ACTIVE Priority: 0 Flags: DIRTY, HARDCODED SyncID: 1 ID: 3349174391 Geom name: gm0s1.sync What does DIRTY mean in this context? Is that why ad1s1a isn't appearing in /dev? Joe --=20 Josef Karthauser (joe@tao.org.uk) http://www.josef-k.net/ FreeBSD (cvs meister, admin and hacker) http://www.uk.FreeBSD.org/ Physics Particle Theory (student) http://www.pact.cpes.sussex.ac.uk/ =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D An eclectic mix of fact an= d theory. =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D --fwqqG+mf3f7vyBCB Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.0 (FreeBSD) iEYEARECAAYFAkJFgr4ACgkQXVIcjOaxUBbr9QCg0GZ43uXh/4NKSH4e++ZAJuOz o+kAoOwCfUe7LmiYZExvQa3eBL1ipkRV =rihN -----END PGP SIGNATURE----- --fwqqG+mf3f7vyBCB--