From owner-freebsd-fs@FreeBSD.ORG Mon Nov 5 17:53:13 2012 Return-Path: Delivered-To: freebsd-fs@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 32582BAD for ; Mon, 5 Nov 2012 17:53:13 +0000 (UTC) (envelope-from prvs=1656497edf=killing@multiplay.co.uk) Received: from mail1.multiplay.co.uk (mail1.multiplay.co.uk [85.236.96.23]) by mx1.freebsd.org (Postfix) with ESMTP id B50578FC17 for ; Mon, 5 Nov 2012 17:53:12 +0000 (UTC) Received: from r2d2 ([188.220.16.49]) by mail1.multiplay.co.uk (mail1.multiplay.co.uk [85.236.96.23]) (MDaemon PRO v10.0.4) with ESMTP id md50000961333.msg for ; Mon, 05 Nov 2012 17:53:11 +0000 X-Spam-Processed: mail1.multiplay.co.uk, Mon, 05 Nov 2012 17:53:11 +0000 (not processed: message from valid local sender) X-MDRemoteIP: 188.220.16.49 X-Return-Path: prvs=1656497edf=killing@multiplay.co.uk X-Envelope-From: killing@multiplay.co.uk X-MDaemon-Deliver-To: freebsd-fs@freebsd.org Message-ID: From: "Steven Hartland" To: "Fox F" , "Freddie Cash" References: <50955FB1.2070800@cyberfoxfire.com> <5097FB86.9050008@cyberfoxfire.com> Subject: Re: Convert standalone zpool to RAID1 with data in place Date: Mon, 5 Nov 2012 17:53:07 -0000 MIME-Version: 1.0 Content-Type: text/plain; format=flowed; charset="iso-8859-1"; reply-type=response Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2900.5931 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.6157 Cc: freebsd-fs@freebsd.org X-BeenThere: freebsd-fs@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Filesystems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 05 Nov 2012 17:53:13 -0000 ----- Original Message ----- From: "Fox F" > I did forget one point to have clarified. > > Forget the striping. Let's just assume two disks, 1 and 2. > > I only have disk1 on hand. So I create a zpool/zfs with it. > > # zpool create mypool disk1 > # zfs create mypool/repository > > Then some data is put on the zfs. Now, I want to convert mypool to a > mirror with disk2, while keeping the data on disk1 intact. Is there a > way to do that? Yes off hand you want "zpool attach mypool disk1 disk2" more details in "man zpool" Regards Steve ================================================ This e.mail is private and confidential between Multiplay (UK) Ltd. and the person or entity to whom it is addressed. In the event of misdirection, the recipient is prohibited from using, copying, printing or otherwise disseminating it or any information contained in it. In the event of misdirection, illegible or incomplete transmission please telephone +44 845 868 1337 or return the E.mail to postmaster@multiplay.co.uk.