Gmirror on a partition of a slice

Pawel Jakub Dawidek pjd at FreeBSD.org
Wed Sep 12 21:57:05 PDT 2007


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

-- 
Pawel Jakub Dawidek                       http://www.wheel.pl
pjd at FreeBSD.org                           http://www.FreeBSD.org
FreeBSD committer                         Am I Evil? Yes, I Am!
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-geom/attachments/20070913/fd7cdf7b/attachment.pgp


More information about the freebsd-geom mailing list