From owner-freebsd-hackers@FreeBSD.ORG Thu Nov 25 22:45:50 2004 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 2F4D616A4CE for ; Thu, 25 Nov 2004 22:45:50 +0000 (GMT) Received: from darkness.comp.waw.pl (darkness.comp.waw.pl [195.117.238.136]) by mx1.FreeBSD.org (Postfix) with ESMTP id C0F2A43D5C for ; Thu, 25 Nov 2004 22:45:49 +0000 (GMT) (envelope-from pjd@darkness.comp.waw.pl) Received: by darkness.comp.waw.pl (Postfix, from userid 1009) id 65600ACAEE; Thu, 25 Nov 2004 23:45:47 +0100 (CET) Date: Thu, 25 Nov 2004 23:45:47 +0100 From: Pawel Jakub Dawidek To: Jo?o Carlos Mendes =?iso-8859-2?Q?Lu=EDs?= Message-ID: <20041125224547.GB7232@darkness.comp.waw.pl> References: <41A4FD60.4050501@jonny.eng.br> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="q/d9vTEvvdeKbPNw" Content-Disposition: inline In-Reply-To: <41A4FD60.4050501@jonny.eng.br> User-Agent: Mutt/1.4.2i X-PGP-Key-URL: http://people.freebsd.org/~pjd/pjd.asc X-OS: FreeBSD 5.2.1-RC2 i386 cc: freebsd-hackers@freebsd.org Subject: Re: gmirror bugs, how many? X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 25 Nov 2004 22:45:50 -0000 --q/d9vTEvvdeKbPNw Content-Type: text/plain; charset=iso-8859-2 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Wed, Nov 24, 2004 at 07:30:08PM -0200, Jo?o Carlos Mendes Lu=EDs wrote: +> First, I partioned (fdisk) for a full FreeBSD system, with=20 +> sysinstall, which got me this: [...] +> Then I tried to compose a single disk gmirror with the whole ad1 dis= k: [...] First mistake - wrong order. Create a mirror, than partition a mirror provider. +> Now, lets reboot. I could not unload geom_mirror, since it was=20 +> preloaded during boot, is this expected? The device could not be=20 +> unloaded, but the volume disapeared (gmirror list, ls /dev/mirror).=20 If there is no mirror configured, you should be able to unload it. +> Ok, now let's try something diferent. Let's suppose that I only=20 +> want one slice mirrored. Maybe the other slices could be standalone, or= =20 +> striped, this is not important now. Let's just say I do want to mirror= =20 +> ad1s1, instead of the whole ad1. [...] +> But the consumer name is still ad1, and not ad1s1. Hey, let's check: Read manual page. Gmirror uses the last provider's sector for metadata. If two or more providers share the same last sector (as in your case), use '-h' option. +> Is there any gmirror hacker around to fix these? There is nothing to fix. --=20 Pawel Jakub Dawidek http://www.FreeBSD.org pjd@FreeBSD.org http://garage.freebsd.pl FreeBSD committer Am I Evil? Yes, I Am! --q/d9vTEvvdeKbPNw Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (FreeBSD) iD8DBQFBpmCbForvXbEpPzQRAjJfAKCsLp9Aha7n3WHdmTSBhpKW2gqwkgCgzad7 Ww6I+rmgYbluWByq4eLPJJ8= =ZiYv -----END PGP SIGNATURE----- --q/d9vTEvvdeKbPNw--