From owner-freebsd-fs@FreeBSD.ORG Thu Aug 11 16:38:38 2011 Return-Path: Delivered-To: freebsd-fs@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 24DDC106566B for ; Thu, 11 Aug 2011 16:38:38 +0000 (UTC) (envelope-from amvandemore@gmail.com) Received: from mail-fx0-f54.google.com (mail-fx0-f54.google.com [209.85.161.54]) by mx1.freebsd.org (Postfix) with ESMTP id ACFE18FC17 for ; Thu, 11 Aug 2011 16:38:37 +0000 (UTC) Received: by fxe4 with SMTP id 4so2390346fxe.13 for ; Thu, 11 Aug 2011 09:38:36 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=9ImXTMNuR8G39wqfKxrBS8eByrBw6xiaWwNvzjHVTl8=; b=YNx4/51jmQh0ZiNEwbqV3ujN9f5HszKxSyVGgQFbFKSQqvNHQ7Q9LrDXR8ZkI99K3n fc6UgDFWaeo8sa7vXXX4Yt71iHLKYr7YBZ1O24qWBRxQoeahl9Ea0v5XLJWawrSpg8fe JJbfmU2po6WwoRt2BT4G1qBFK2xaDlyVIEtxM= MIME-Version: 1.0 Received: by 10.223.10.143 with SMTP id p15mr12972531fap.12.1313079035002; Thu, 11 Aug 2011 09:10:35 -0700 (PDT) Received: by 10.223.120.72 with HTTP; Thu, 11 Aug 2011 09:10:34 -0700 (PDT) In-Reply-To: <20110811160314.GA25076@cons.org> References: <20110811160314.GA25076@cons.org> Date: Thu, 11 Aug 2011 11:10:34 -0500 Message-ID: From: Adam Vande More To: Martin Cracauer Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: freebsd-fs@freebsd.org Subject: Re: ZFS zpool mirror drive replacement confusion X-BeenThere: freebsd-fs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Filesystems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 11 Aug 2011 16:38:38 -0000 On Thu, Aug 11, 2011 at 11:03 AM, Martin Cracauer wrote: > NAME STATE READ WRITE CKSUM > cbackup3 DEGRADED 0 0 0 > mirror DEGRADED 0 0 0 > ad6 ONLINE 0 0 0 > ad10 REMOVED 0 0 0 > ad2 ONLINE 0 0 11 > > Unfortunately I didn't keep note of the specific command that I used. > > Two questions: > > - Does somebody know offhand what I did and what I should have done > instead to get ad2 into the mirror? > What you did is add a disk to the zpool, not the mirror. > - Would there have been a way to remove ad2 from this set? > I'm not sure of a way to remove the vdev other than to recreate from scratch but perhaps the new features of zpool v28 allow for some forgiveness here. -- Adam Vande More