From owner-freebsd-questions@freebsd.org Sun Jun 12 20:56:20 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 3E368AF0B9A for ; Sun, 12 Jun 2016 20:56:20 +0000 (UTC) (envelope-from yuri@rawbw.com) Received: from shell1.rawbw.com (shell1.rawbw.com [198.144.192.42]) by mx1.freebsd.org (Postfix) with ESMTP id 2323A2171 for ; Sun, 12 Jun 2016 20:56:20 +0000 (UTC) (envelope-from yuri@rawbw.com) Received: from yuri.doctorlan.com (c-24-5-143-190.hsd1.ca.comcast.net [24.5.143.190]) (authenticated bits=0) by shell1.rawbw.com (8.15.1/8.15.1) with ESMTPSA id u5CKuJbQ029123 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128 verify=NO) for ; Sun, 12 Jun 2016 13:56:19 -0700 (PDT) (envelope-from yuri@rawbw.com) X-Authentication-Warning: shell1.rawbw.com: Host c-24-5-143-190.hsd1.ca.comcast.net [24.5.143.190] claimed to be yuri.doctorlan.com To: FreeBSD Questions From: Yuri Subject: ZFS: Is 'zpool add' really irreversible? Message-ID: Date: Sun, 12 Jun 2016 13:56:18 -0700 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:45.0) Gecko/20100101 Thunderbird/45.1.0 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit 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: Sun, 12 Jun 2016 20:56:20 -0000 I added a device to the ZFS pool with 'zpool add' command, and now while trying to remove it I am getting: > # zpool remove xpool ada1 > cannot remove ada1: only inactive hot spares, cache, top-level, or log devices can be removed Some messages from 2008 suggest that this can't be undone, and "work is being done to add this capability". So is it still irreversible, or maybe FreeBSD just has an version of ZFS? This is very surprising that something as simple as that can't be undone. I admit I don't know much about ZFS, only use it one one disk. FreeBSD 10.3 Yuri