Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 20 Nov 2013 19:33:21 +0000
From:      Bob Bishop <rb@gid.co.uk>
To:        jan@dusatko.org
Cc:        FreeBSD Hackers <freebsd-hackers@freebsd.org>
Subject:   Re: ZFS pool cheating
Message-ID:  <31C2CB4A-F792-4088-96D9-77F1C991D6F7@gid.co.uk>
In-Reply-To: <029f01cee610$4567f870$d037e950$@org>
References:  <029f01cee610$4567f870$d037e950$@org>

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

On 20 Nov 2013, at 16:47, Jan Du=9A=E1tko <jan@dusatko.org> wrote:

> Dear,
> Do you someone know method, how can be pool converted from =
concatenating to
> regular mirror? By mistake I replaced failed disk in pool using add =
not
> replace, which caused me to change pool configuration.
> I looking method allow me to have pool online during whole replacement
> procedure.

If you can connect two extra disks, you can make a concatenated mirror. =
If you can do that without a reboot you can do the whole procedure =
online.

With existing disks d1,d2 and new disks d3 at least as big as d1, d4 at =
least as big as d2:

zpool attach <pool> d1 d3
zpool attach <pool> d2 d4

Otherwise I think you are in for some downtime.

> Regards
>=20
> Jan
>=20
>=20
> _______________________________________________
> freebsd-hackers@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
> To unsubscribe, send any mail to =
"freebsd-hackers-unsubscribe@freebsd.org"
>=20

--
Bob Bishop
rb@gid.co.uk







Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?31C2CB4A-F792-4088-96D9-77F1C991D6F7>