From owner-freebsd-questions@freebsd.org Thu Jun 16 16:10:26 2016 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 0DBA1A73F4B for ; Thu, 16 Jun 2016 16:10:26 +0000 (UTC) (envelope-from matthew.ahrens@delphix.com) Received: from mail-it0-x233.google.com (mail-it0-x233.google.com [IPv6:2607:f8b0:4001:c0b::233]) (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 D98B01E26 for ; Thu, 16 Jun 2016 16:10:25 +0000 (UTC) (envelope-from matthew.ahrens@delphix.com) Received: by mail-it0-x233.google.com with SMTP id h190so48976415ith.1 for ; Thu, 16 Jun 2016 09:10:25 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=delphix.com; s=google; h=mime-version:from:date:message-id:subject:to; bh=MsopEnsiHiwfrOOTZUHDvWxKduSe6MeH7dQDkQW4qlk=; b=bDImkbkb5ERtaWwEP1uTEcWr4scLWV0ryyDfb3IwHYYc/GBe/qJn2R6Tsdxl/xPhss hFxpCDeVupgnhLgXRgp3g2jmR2PNj5ouxiMaX67FsvKl9BIljDEX/OGuD/rhUwScWvMC t954EhhzcAhtY/FpKu5WA8yQFRM5Fk3qdgk1A= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=MsopEnsiHiwfrOOTZUHDvWxKduSe6MeH7dQDkQW4qlk=; b=RBy0EwVkwPr3/Kn5utx9c4+Bih5a0WstQmM2azmXOnQumdhOb/BlwtTl3hVft664G1 XuCwN1jD3+6x42/cw49Gl2lIBritsUne7a5Gg79OyG8O+X1cUdA8n1La0mSgUyGISTHf 7SpSHVntm+j3mNM7WHFKWLbD4m6ROezaamGZ4I+6pRGDFlqQuHJtIPZ7mqyskXQwFfKH WySPG6PE5F2xnLtEQBlwsT7Ykj2cY1a62AtrV1olhD4GmZTJgAyLp3dD3DMGqoHOn8w7 dhYC6B+xH4NJ0EO79Qqv03muZd699jpOriWWU2TMnA79yVZHd7Bi5QW0b5bgYqsSD3VP ECaQ== X-Gm-Message-State: ALyK8tIkF7p+Ij1VyghDLJeoz7uNYfYyx5XwLUHPdJi90Mgod+Kf8DVBrxG+ytnGWFf2cJdxGBVHS9/dkb2I6YsH X-Received: by 10.36.50.10 with SMTP id j10mr9420406ita.27.1466093424940; Thu, 16 Jun 2016 09:10:24 -0700 (PDT) MIME-Version: 1.0 Received: by 10.36.103.140 with HTTP; Thu, 16 Jun 2016 09:10:24 -0700 (PDT) From: Matthew Ahrens Date: Thu, 16 Jun 2016 12:10:24 -0400 Message-ID: Subject: Re: ZFS: Is 'zpool add' really irreversible? To: freebsd-questions@freebsd.org Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.22 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 16 Jun 2016 16:10:26 -0000 *Matthew Seaman Wrote:* > Suffice it to say though that there is already fix for those 'Oh No! I > really didn't mean to type "zfs add" there' moments in the upstream > OpenZFS repo > That's unfortunately not the case. Device removal has been implemented in Delphix but not yet upstreamed to OpenZFS / illumos. We hope to upstream it in the next 6 months. > You get a grace period within which you can undo that sort of > mistake. > With device removal, there is no pre-set "grace period"; you can remove a device even long after it has been added (though of course it might have more data stored on it which will take longer to move). --matt