Adding second drive to ZFS mirror - FreeBSD, atacontrol, gptid and documentation

Adam Vande More amvandemore at gmail.com
Wed Apr 9 01:25:48 UTC 2014


On Tue, Apr 8, 2014 at 2:04 PM, Frank Leonhardt <freebsd-doc at fjl.co.uk>wrote:

> Background: I ordered two identical drives with a view to installing
> FreeBSD 10 on a ZFS mirror. One drive was DOA so I sent it back and pressed
> on. It was replaced with an identical drive. Now I come to creating a
> mirrored ZFS root post-install.
>
> The new drive is there and appears in the gptid directory (I think). I
> have:
>
> # ls -l /dev/gptid
> crw-r-----  1 root  operator  0x5d Mar 20 11:24 b20a8b87-9419-11e3-9063-
> 001fc6b111fc
> crw-r-----  1 root  operator  0x61 Mar 18 16:50 b251371d-9419-11e3-9063-
> 001fc6b111fc
>
> I'm a little hazy about how I tie this up. I definitely have /dev/ad4p?
> and /dev/ad6 when I look.
>
> But this get's weird. atacontrol is missing - we're supposed to use
> camcontrol now, right? Okay, it's implied as being there in the release
> notes, but there's no man page for it and camcontrol produces:
>

What do you mean there is no man page for it?  All you've done is show the
size of your disk.  Since you're trying to mirror partitions don't you
think you should give us the mappings to those devices and their respective
sizes?



-- 
Adam


More information about the freebsd-questions mailing list