From owner-freebsd-questions@FreeBSD.ORG Thu Jan 27 13:48:10 2005 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 2935416A4CE for ; Thu, 27 Jan 2005 13:48:10 +0000 (GMT) Received: from chello084114137224.1.15.vie.surfer.at (chello084114137224.1.15.vie.surfer.at [84.114.137.224]) by mx1.FreeBSD.org (Postfix) with SMTP id 832F343D67 for ; Thu, 27 Jan 2005 13:48:08 +0000 (GMT) (envelope-from 4711@chello.at) Received: (qmail 66483 invoked from network); 27 Jan 2005 13:48:07 -0000 Received: from matrix010.matrix.net (HELO localhost) (192.168.123.10) by ns.matrix.net with SMTP; 27 Jan 2005 13:48:07 -0000 From: Christian Hiris <4711@chello.at> To: freebsd-questions@freebsd.org Date: Thu, 27 Jan 2005 14:47:50 +0100 User-Agent: KMail/1.7.2 References: <20050127150501.1b80c59e@linux.site> In-Reply-To: <20050127150501.1b80c59e@linux.site> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="nextPart1216813.hV36p5VA8B"; protocol="application/pgp-signature"; micalg=pgp-sha1 Content-Transfer-Encoding: 7bit Message-Id: <200501271448.06866.4711@chello.at> cc: Andrew Lewis Subject: Re: Setting up RAID1 with gmirror X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 27 Jan 2005 13:48:10 -0000 --nextPart1216813.hV36p5VA8B Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline On Thursday 27 January 2005 14:05:14, Andrew Lewis wrote: [...] > > -bash-2.05b# gmirror insert gm0 /dev/ad0 > Provider ad0 too small. > > ^- Oops. This tells you that the mediasize of your disk ad0 is smaller than the=20 mediasize of your mirror on ad2. In simple words, disk ad0 seems to be=20 smaller than disk ad2 (ie. a mirror with a capacity of 160GB can't be=20 mirrored to a disk with only 120GB). I would try to set up a second mirror (ie. /mirror/gm1) on your smaller dis= k=20 (ad0). Then dump/restore data from /mirror/gm0s1a (ad2) to the /mirror/gm1s= 1a=20 (ad0) and edit fstab on /mirror/gm1s1a. After that reboot into /mirror/gm1s= 1a=20 and destroy the mirror on the bigger disk (ad2) and insert /dev/ad2=20 into /mirror/gm1. Cheers, ch =2D-=20 Christian Hiris <4711@chello.at> | OpenPGP KeyID 0x3BCA53BE=20 OpenPGP-Key at hkp://wwwkeys.eu.pgp.net and http://pgp.mit.edu --nextPart1216813.hV36p5VA8B Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.0 (FreeBSD) iD8DBQBB+PEW09WjGjvKU74RAjfNAJ9c7RhoFkmctQ+Obpau4wEPapHiggCaA/Bb 3mvvbg4kGUHg37NiBxnUnL0= =eFju -----END PGP SIGNATURE----- --nextPart1216813.hV36p5VA8B--