Date: Thu, 25 Nov 2004 23:45:47 +0100 From: Pawel Jakub Dawidek <pjd@FreeBSD.org> To: Jo?o Carlos Mendes =?iso-8859-2?Q?Lu=EDs?= <jonny@jonny.eng.br> Cc: freebsd-hackers@freebsd.org Subject: Re: gmirror bugs, how many? Message-ID: <20041125224547.GB7232@darkness.comp.waw.pl> In-Reply-To: <41A4FD60.4050501@jonny.eng.br> References: <41A4FD60.4050501@jonny.eng.br>
next in thread | previous in thread | raw e-mail | index | archive | help
--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--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20041125224547.GB7232>