Date: Sat, 26 Mar 2005 15:41:51 +0000 From: Josef Karthauser <joe@FreeBSD.org> To: stable@freebsd.org Subject: Re: geom mirror Message-ID: <20050326154151.GF83888@genius.tao.org.uk> In-Reply-To: <20050326131630.GD83888@genius.tao.org.uk> References: <20050326124835.GA60924@genius.tao.org.uk> <20050326131630.GD83888@genius.tao.org.uk>
next in thread | previous in thread | raw e-mail | index | archive | help
--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--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20050326154151.GF83888>