From owner-freebsd-current@FreeBSD.ORG Thu Nov 12 20:54:45 2009 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id BB4A61065694; Thu, 12 Nov 2009 20:54:45 +0000 (UTC) (envelope-from artemb@gmail.com) Received: from mail-iw0-f190.google.com (mail-iw0-f190.google.com [209.85.223.190]) by mx1.freebsd.org (Postfix) with ESMTP id 692928FC16; Thu, 12 Nov 2009 20:54:45 +0000 (UTC) Received: by iwn28 with SMTP id 28so2116093iwn.3 for ; Thu, 12 Nov 2009 12:54:44 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:sender:received:in-reply-to :references:date:x-google-sender-auth:message-id:subject:from:to:cc :content-type:content-transfer-encoding; bh=xSYDMcCtiRbHPtNq3LjGHhyOD+Vgh4M61Fzi2Z93ZyY=; b=sOkJvaj3iivUXzvkrwQdmtZRU90tXm1T2JHaTWcjVB11BJQ58asqFRBN5cX+Uxc6jc OpOk8TydEiokxSpWlwyposJ7cNBJ9T04AK/L7mE5lmJDJmRW3ts24NPyzQFT7DWEnuOy WT1djalPRplaycC5agYfs/TuLanMgE5b6jWoI= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:cc:content-type :content-transfer-encoding; b=LoylAFmbMxdXU/HOKicQRjlTGYkgsrqP6DFfTGG2OIw839W4Zd77Bcos9sF+T012kU x6zcOlKO1RACIHG6pk1PrCfXi88hLsfdfBTwdrfbQIcVAYsFiuipcHFrNI2aCv17kSNd NOZG24fCx/v/k+EIaZJtL6fiE2ywOFgBsTw00= MIME-Version: 1.0 Sender: artemb@gmail.com Received: by 10.231.25.29 with SMTP id x29mr3258963ibb.31.1258059284682; Thu, 12 Nov 2009 12:54:44 -0800 (PST) In-Reply-To: <86my2ro51s.fsf@ds4.des.no> References: <11167f520911111050j36dd94far667c81e6f5c18e69@mail.gmail.com> <20091111204903.GI89052@dan.emsphone.com> <11167f520911111326v13bb442bt36e853afbecdf834@mail.gmail.com> <9bbcef730911111352t12188bdajbca71bcf35a5beb5@mail.gmail.com> <11167f520911121044l74744c30u5a4d9ca008ab863c@mail.gmail.com> <11167f520911121101o403751ddmb544dfaf1c61bf1e@mail.gmail.com> <86my2ro51s.fsf@ds4.des.no> Date: Thu, 12 Nov 2009 12:54:44 -0800 X-Google-Sender-Auth: e6661cb9f3d8d003 Message-ID: From: Artem Belevich To: =?ISO-8859-1?Q?Dag=2DErling_Sm=F8rgrav?= Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Cc: Rick Macklem , Dan Nelson , Scott Ullrich , freebsd-current@freebsd.org, Ivan Voras , "Sam Fourman Jr." Subject: Re: Help ZFS FreeBSD 8.0 RC2 Write performance issue X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 12 Nov 2009 20:54:45 -0000 2009/11/12 Dag-Erling Sm=F8rgrav : > The zpool(1M) manpage seems to disagree: > > =A0 =A0 =A0 Log =A0devices =A0can =A0be added, replaced, attached, detach= ed, and imported > =A0 =A0 =A0 and exported as part of the larger pool. Solaris' man page has somewhat different wording -- it indicates that only part of mirrored log device can be removed. See http://docs.sun.com/app/docs/doc/819-2240/zpool-1m In any case the reality is that you can not remove log vdev from the pool: $ zpool status z1 pool: z1 state: ONLINE scrub: none requested config: NAME STATE READ WRITE CKSUM z1 ONLINE 0 0 0 mirror ONLINE 0 0 0 ada3p3 ONLINE 0 0 0 ada2p3 ONLINE 0 0 0 logs ONLINE 0 0 0 gpt/zil ONLINE 0 0 0 cache gpt/l2arc ONLINE 0 0 0 errors: No known data errors $ zpool remove z1 gpt/zil Password: cannot remove gpt/zil: only inactive hot spares or cache devices can be rem= oved --Artem