Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 27 Jan 2005 14:47:50 +0100
From:      Christian Hiris <4711@chello.at>
To:        freebsd-questions@freebsd.org
Cc:        Andrew Lewis <al@xms.co.za>
Subject:   Re: Setting up RAID1 with gmirror
Message-ID:  <200501271448.06866.4711@chello.at>
In-Reply-To: <20050127150501.1b80c59e@linux.site>
References:  <20050127150501.1b80c59e@linux.site>

next in thread | previous in thread | raw e-mail | index | archive | help
--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--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200501271448.06866.4711>