From owner-freebsd-fs@FreeBSD.ORG Sat Nov 3 18:17:43 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 30135BDC for ; Sat, 3 Nov 2012 18:17:43 +0000 (UTC) (envelope-from fox@cyberfoxfire.com) Received: from mail-oa0-f54.google.com (mail-oa0-f54.google.com [209.85.219.54]) by mx1.freebsd.org (Postfix) with ESMTP id DCC418FC08 for ; Sat, 3 Nov 2012 18:17:42 +0000 (UTC) Received: by mail-oa0-f54.google.com with SMTP id n9so5787326oag.13 for ; Sat, 03 Nov 2012 11:17:36 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=message-id:date:from:user-agent:mime-version:to:subject :content-type:content-transfer-encoding:x-gm-message-state; bh=wg6y5uNPMDnzPg+89+Ig91sRd3uCtYfIMl61lzdxwaQ=; b=GAsfo9sVjYDi/b71C1kpJHfr2EymedrVbQOZLFmkP1Tx14LcRgBdVppynaFR++L85r Qsuc6aQZxNyIlvxyAINWRQV9MFXuMnPr/QLg0nTUlfTAY36WTDd+hXU9L5Pz8MvXHvXW /9u5VbaD2tDLwkU6kMKFWotDm54FhYwbN5SL/Ojbhcg8RqQ2r6xTSMoxlTkPgwhraUmO 4c4+wXxz0RVwAHDBm0fKCQeKs7Mp4afGInpkUMd7hrbHLOoZHtO1h4nUaHxf0yNEc+6g +cHYJnY96qyDyNverF3TwzvfwPhNK9QN9G4IcDMxTM1NRxFRGogbq7HTF9XxTZbNRaxW OUXg== Received: by 10.60.169.243 with SMTP id ah19mr4173015oec.127.1351966656370; Sat, 03 Nov 2012 11:17:36 -0700 (PDT) Received: from [10.99.99.9] ([67.11.63.242]) by mx.google.com with ESMTPS id hc1sm12648483obc.7.2012.11.03.11.17.34 (version=SSLv3 cipher=OTHER); Sat, 03 Nov 2012 11:17:35 -0700 (PDT) Message-ID: <50955FB1.2070800@cyberfoxfire.com> Date: Sat, 03 Nov 2012 13:17:21 -0500 From: Fox F User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:16.0) Gecko/20121026 Thunderbird/16.0.2 MIME-Version: 1.0 To: freebsd-fs@freebsd.org Subject: Convert standalone zpool to RAID1 with data in place Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Gm-Message-State: ALoCoQlQA5vyrI1zArzh0nxFUOjZ5hengUGAQDNBitP7e+3knVWL5DHOWOJzmebQropC7STrgSz2 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: Sat, 03 Nov 2012 18:17:43 -0000 Hello, My intention is to have a zpool with two drives (1TB and 2TB) striped. I suppose I'd create it as such: zpool create zp_test disk1 disk2 I would then create a zfs filesystem on that zpool and add data to it. Then, I would want to mirror this data on another identical striped vdev. The question is, what is the order of operations for creating the second striped vdev and adding it as a mirror to the first one, and how do I do that in such a way that the data on disk1/2 gets mirrored to the new addition? I hope I am making sense. -F