From owner-freebsd-hackers@FreeBSD.ORG Wed Nov 20 19:48:24 2013 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 177ED6A3 for ; Wed, 20 Nov 2013 19:48:24 +0000 (UTC) Received: from mx0.gid.co.uk (mx0.gid.co.uk [194.32.164.250]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id B7A1B248E for ; Wed, 20 Nov 2013 19:48:23 +0000 (UTC) Received: from [194.32.164.24] (80-46-130-69.static.dsl.as9105.com [80.46.130.69]) by mx0.gid.co.uk (8.14.2/8.14.2) with ESMTP id rAKJZ5ib005129; Wed, 20 Nov 2013 19:35:06 GMT (envelope-from rb@gid.co.uk) Content-Type: text/plain; charset=windows-1252 Mime-Version: 1.0 (Mac OS X Mail 7.0 \(1822\)) Subject: Re: ZFS pool cheating From: Bob Bishop In-Reply-To: <029f01cee610$4567f870$d037e950$@org> Date: Wed, 20 Nov 2013 19:33:21 +0000 Content-Transfer-Encoding: quoted-printable Message-Id: <31C2CB4A-F792-4088-96D9-77F1C991D6F7@gid.co.uk> References: <029f01cee610$4567f870$d037e950$@org> To: jan@dusatko.org X-Mailer: Apple Mail (2.1822) Cc: FreeBSD Hackers X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.16 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 20 Nov 2013 19:48:24 -0000 Hi, On 20 Nov 2013, at 16:47, Jan Du=9A=E1tko 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 d1 d3 zpool attach 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