Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 23 Sep 2014 06:29:37 -0700 (PDT)
From:      Beeblebrox <zaphod@berentweb.com>
To:        freebsd-questions@freebsd.org
Subject:   Gpart: Adding mirror to existing zpool
Message-ID:  <1411478977772-5951380.post@n5.nabble.com>

next in thread | raw e-mail | index | archive | help
Hi.
I have added another HDD to my system and I want to mirror my existing zpool
named mydata on HDD1. I assume that both of the GPT partitions on either HDD
housing mydata should be the same size, but I am a bit lost as to how to run
gpart for this.

# gpart add -a 4k -s <what?> -i 3 ada2

Setting size parameter to output from "gpart show ada*1*p3", will not make
both of these partitions properly synced IMHO. What would be the solution
here?

I would like to set both GPT partitions to *exactly* the same (4k alligned)
size. ada1 is 4k alligned.

Regards.




-----
FreeBSD-11-current_amd64_root-on-zfs_RadeonKMS
--
View this message in context: http://freebsd.1045724.n5.nabble.com/Gpart-Adding-mirror-to-existing-zpool-tp5951380.html
Sent from the freebsd-questions mailing list archive at Nabble.com.



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