From owner-freebsd-stable@FreeBSD.ORG Tue Dec 28 22:40:46 2010 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 11451106564A for ; Tue, 28 Dec 2010 22:40:46 +0000 (UTC) (envelope-from fjwcash@gmail.com) Received: from mail-yx0-f182.google.com (mail-yx0-f182.google.com [209.85.213.182]) by mx1.freebsd.org (Postfix) with ESMTP id BD7C38FC17 for ; Tue, 28 Dec 2010 22:40:45 +0000 (UTC) Received: by yxh35 with SMTP id 35so4446513yxh.13 for ; Tue, 28 Dec 2010 14:40:45 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:in-reply-to :references:date:message-id:subject:from:to:cc:content-type :content-transfer-encoding; bh=zefN1kNuBw0XK8FjYlcxhyDCJo1soEz3Pc/KBkV9iaA=; b=dP88skYlUQzO3rQY/sPNw3XeuR/00mVH8fKyFx1uRK1HZA/aaGYBNTMPBSeeVYcpje D9Xt3ZISc1ryp3nJeHO/WUvHqwPW42Nb4UG+ktPklpz4aDZEfqbe1eTEbC8ZokWk15Ow LKuHCnc1eGGrd/L8418VXxBsY5I6qjsuLnZlA= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; b=Rxw3oH0Je+qkrGJQkleqYcgXaN+GS01PS1GfPj8IyKMkmxHeO3zD1+Wf8pFcdyqm5O MNC0vsyAgWn2MWrNwX3XyBrUki7uIdRW53eEdmsoi8Dj2rfDVga2LF/7vFbOsnZUW1rj m95lNdtNDCLGy0daxCPPVORRNSh53g/YVYWaE= MIME-Version: 1.0 Received: by 10.90.72.20 with SMTP id u20mr4743033aga.145.1293576044957; Tue, 28 Dec 2010 14:40:44 -0800 (PST) Received: by 10.90.153.20 with HTTP; Tue, 28 Dec 2010 14:40:44 -0800 (PST) In-Reply-To: References: Date: Tue, 28 Dec 2010 14:40:44 -0800 Message-ID: From: Freddie Cash To: Jean-Yves Avenard Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Cc: freebsd-stable@freebsd.org Subject: Re: New ZFSv28 patchset for 8-STABLE: ARRRGG HELP !! X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 28 Dec 2010 22:40:46 -0000 On Tue, Dec 28, 2010 at 8:58 AM, Jean-Yves Avenard wr= ote: > On 28 December 2010 08:56, Freddie Cash wrote: > >> Is that a typo, or the actual command you used? =C2=A0You have an extra = "s" >> in there. =C2=A0Should be "log" and not "logs". =C2=A0However, I don't t= hink >> that command is correct either. >> >> I believe you want to use the "detach" command, not "remove". >> >> # zpool detach pool label/zil > > well, I tried the detach command: > > server4# zpool detach pool ada1s1 > cannot detach ada1s1: only applicable to mirror and replacing vdevs > > server4# zpool remove pool ada1s1 > server4# > > so you need to use remove, and adding log (or cache) makes no > difference whatsoever.. > Interesting, thanks for the confirmation. I don't have any ZFS systems using log devices, so can only go by what's in the docs. May want to make a note that the man page (at least for ZFSv15 in FreeBSD 8.1) includes several sections that use "zpool detach" when talking about log devices. If that's still in the man page for ZFSv28, it'll need to be cleaned up. --=20 Freddie Cash fjwcash@gmail.com