Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 13 Sep 2007 06:55:33 +0200
From:      Pawel Jakub Dawidek <pjd@FreeBSD.org>
To:        David Cecil <david.cecil@nokia.com>
Cc:        ext n j <nino80@gmail.com>, freebsd-geom@freebsd.org
Subject:   Re: Gmirror on a partition of a slice
Message-ID:  <20070913045533.GB8274@garage.freebsd.pl>
In-Reply-To: <46E87D0C.5000300@nokia.com>
References:  <92bcbda50709120843o6af4bd38v8725be3f5b765b0e@mail.gmail.com> <46E87D0C.5000300@nokia.com>

next in thread | previous in thread | raw e-mail | index | archive | help

--uZ3hkaAS1mZxFaxD
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Thu, Sep 13, 2007 at 09:58:04AM +1000, David Cecil wrote:
> Hi,
>=20
> I didn't think it was possible to mirror just a partition (as opposed to=
=20
> a slice).  As far as I know, you can mirror a whole disk or a slice, but=
=20
> not a BSD partition.  Has this changed?  Why don't you just mirror the=20
> slice?

You can mirror any GEOM providers, which includes disks, slices,
partitions, encrypted providers, RAID0/RAID3 devices, ZFS volumes, GEOM
gate devices, and more. Anything you can probe with diskinfo(8) can be
mirrored (and used for other GEOM classes too). It's more than that. You
can even mix providers from different GEOM classes, eg:

lcf:root:~# gmirror status
      Name    Status  Components
mirror/foo  COMPLETE  ad4
                      ad5s1
                      ad6s1a
                      ad7.eli
                      stripe/bar
                      raid3/baz
                      ggate0
                      zvol/tank/vol

That's GEOM, my friend:)

--=20
Pawel Jakub Dawidek                       http://www.wheel.pl
pjd@FreeBSD.org                           http://www.FreeBSD.org
FreeBSD committer                         Am I Evil? Yes, I Am!

--uZ3hkaAS1mZxFaxD
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.4 (FreeBSD)

iD8DBQFG6MLFForvXbEpPzQRAtWmAJ0UiZBMo/fPc3CwCeQPMf5FtbPVHQCfQBc+
sz0s4ZIvsVz18C0d5oHJ1aU=
=kbHi
-----END PGP SIGNATURE-----

--uZ3hkaAS1mZxFaxD--



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