From owner-freebsd-questions@freebsd.org Tue Nov 7 23:30:47 2017 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 463E0E67602 for ; Tue, 7 Nov 2017 23:30:47 +0000 (UTC) (envelope-from list_freebsd@bluerosetech.com) Received: from echo.brtsvcs.net (echo.brtsvcs.net [IPv6:2607:f740:c::4ae]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 356A776D5A for ; Tue, 7 Nov 2017 23:30:47 +0000 (UTC) (envelope-from list_freebsd@bluerosetech.com) Received: from chombo.houseloki.net (unknown [IPv6:2601:1c2:1400:8d31:21c:c0ff:fe7f:96ee]) by echo.brtsvcs.net (Postfix) with ESMTPS id BB2EA38F44 for ; Tue, 7 Nov 2017 15:30:46 -0800 (PST) Received: from [IPv6:2601:1c2:1400:8d31:5c85:1f0:ab8:37b] (unknown [IPv6:2601:1c2:1400:8d31:5c85:1f0:ab8:37b]) by chombo.houseloki.net (Postfix) with ESMTPSA id 2320243E for ; Tue, 7 Nov 2017 15:30:46 -0800 (PST) To: "freebsd-questions@FreeBSD.org" From: Mel Pilgrim Subject: Migrating from raidz2 to mirror Message-ID: <0b2c709d-3c71-67f9-5af8-5062b0cf857f@bluerosetech.com> Date: Tue, 7 Nov 2017 15:30:46 -0800 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:52.0) Gecko/20100101 Thunderbird/52.4.0 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 07 Nov 2017 23:30:47 -0000 I currently have this raidz2 configuration: NAME STATE READ WRITE CKSUM tank ONLINE 0 0 0 raidz2-0 ONLINE 0 0 0 gpt/zfsd0 ONLINE 0 0 0 gpt/zfsd1 ONLINE 0 0 0 gpt/zfsd2 ONLINE 0 0 0 gpt/zfsd3 ONLINE 0 0 0 I want to switch to a mirror configuration on new disks. My first thought was to add the disks to tank as mirrors of the existing raidz2 plex and use resilvering to transfer everything without downtime. The man page section for the zpool attach command says the existing device "cannot be a part of raidz configuration", but I'm not sure what "part of" means here. Does that mean only that I can't attach a mirror to any of the individual members of the raidz2 plex (the gpt/zfsd* shown above) or does that include the "raidz2-0" vdev? In other words, is it possible to attach a single disk as a mirror of raidz2-0?