From owner-freebsd-questions@freebsd.org Tue Nov 7 23:42:12 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 8E564E67A26 for ; Tue, 7 Nov 2017 23:42:12 +0000 (UTC) (envelope-from gldisater@gmail.com) Received: from mail-io0-x22f.google.com (mail-io0-x22f.google.com [IPv6:2607:f8b0:4001:c06::22f]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 525D7780CD for ; Tue, 7 Nov 2017 23:42:12 +0000 (UTC) (envelope-from gldisater@gmail.com) Received: by mail-io0-x22f.google.com with SMTP id p186so4008704ioe.12 for ; Tue, 07 Nov 2017 15:42:12 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=subject:to:references:from:message-id:date:user-agent:mime-version :in-reply-to:content-language:content-transfer-encoding; bh=eTUGeZKYMMOdX7/YsEo0GhOmIHzw6sXdLbTdjfXvU5g=; b=OZ1Mv37u9VCKOmEG/o+EesKn/CWjecsLte+rNPpCegsOK86vYRbVRquAO1fpwv1NW7 Hf831T1A5dcAaDbqrF9cCyA79VCJOlIs97Aq+9ryvK0fGbFpIyJwZsRdx1jUXJ86A3GB LKrM0dL8id/UT5pzPiAHo91kSTWkxsV6+gt0RgHzj3hbPeCzg0RyaDU+IGR3yHEGArfR 9ff9WTJ6VH1O2lW7rLlfi9epoSt3cwl5fuv7E20Yi9Jxzdg5snq2z5IiNGW+pSaGyv6J QRxSq/Hx75HNUhAGMA7rvKi7Ccms3JhpySTW0nMrpDMoyUm5LUBW/Ak9csEQXAcLljED EK2A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=eTUGeZKYMMOdX7/YsEo0GhOmIHzw6sXdLbTdjfXvU5g=; b=QeuF/zb6htKb9y7V5oUbfA7awB8Uhpa9K9SZjNtA2LuYwvnq+gg+QXWMOp/PikquF1 CZ0tJV3JLtqQ00ekLoi2Fpz6WZQI04kl5fbZ9VQs8AVwsCTglDywwNop5b9ZSvpQEfb4 qJSGRGAhfncnYLGzRSFAloF1cEGSNJjIAfATfS/nJZSrVCfoVga9aaxDNuHbIDQsrEd7 wEEnQ30ybFMws+6v6I6QZ52DEhh6BkhpTKYdUon8Pvax+83l2OnTB7mfSD3pHv2tcMwE O0DR/GfepkEDuCwCBc8WqG23j4743tfIwDVS1RB+MRRpxl421O9klJ05FGB9M2ye8tfm Ydgg== X-Gm-Message-State: AJaThX7l2j0T08fQr+RI4wSmGFhEni3JQ91juLyyMB6ELlVWLa9mRs6c UN9ynflC8KgfrRwjTQIRdJcn8UVD X-Google-Smtp-Source: AGs4zMaUJQ0nvllxzXI841Gt+VjjFp538K0LZNVspyOmxLjERYnFsE2UD8D5bw+fcuXZdx1D04GbmA== X-Received: by 10.107.184.138 with SMTP id i132mr590259iof.155.1510098131439; Tue, 07 Nov 2017 15:42:11 -0800 (PST) Received: from [192.168.1.5] (dhcp-108-168-18-94.cable.user.start.ca. [108.168.18.94]) by smtp.gmail.com with ESMTPSA id 194sm1533411ito.20.2017.11.07.15.42.10 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 07 Nov 2017 15:42:10 -0800 (PST) Subject: Re: Migrating from raidz2 to mirror To: freebsd-questions@freebsd.org References: <0b2c709d-3c71-67f9-5af8-5062b0cf857f@bluerosetech.com> From: Jeremy Faulkner Message-ID: <9465cd3a-5151-8629-d0aa-5b47994b4eef@gmail.com> Date: Tue, 7 Nov 2017 18:42:10 -0500 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:52.0) Gecko/20100101 Thunderbird/52.4.0 MIME-Version: 1.0 In-Reply-To: <0b2c709d-3c71-67f9-5af8-5062b0cf857f@bluerosetech.com> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-GB Content-Transfer-Encoding: 8bit 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:42:12 -0000 No, you will make a new pool and zfs send the data over. On 2017-11-07 6:30 PM, Mel Pilgrim wrote: > 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? > _______________________________________________ > freebsd-questions@freebsd.org mailing list > https://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to > "freebsd-questions-unsubscribe@freebsd.org"