Yes. Just say this:
# zpool replace mypool disk1 disk2
This will do all the intermediate steps you'd expect: attach disk2
as a mirror of disk1, resilver, detach disk2, and grow the pool
to reflect the larger size of disk1.
Jeff
On Wed, Feb 27, 2008 at 04:48:59PM -0800, Bill Shannon wrote:
Oops -- I transposed 1 and 2 in the last sentence. Corrected version,
and hopefully a bit easier to read:
# zpool replace mypool olddisk newdisk
This will do all the intermediate steps you'd expect: attach newdisk
as a mirror of olddisk, resilver, detach olddisk, and grow the pool
to reflect