From owner-freebsd-stable@FreeBSD.ORG Mon Dec 27 23:51:09 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 2DDD91065670 for ; Mon, 27 Dec 2010 23:51:09 +0000 (UTC) (envelope-from jyavenard@gmail.com) Received: from mail-iy0-f182.google.com (mail-iy0-f182.google.com [209.85.210.182]) by mx1.freebsd.org (Postfix) with ESMTP id E764A8FC12 for ; Mon, 27 Dec 2010 23:51:08 +0000 (UTC) Received: by iyb26 with SMTP id 26so8069714iyb.13 for ; Mon, 27 Dec 2010 15:51:08 -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=rFYQQPg5u1l5SMg7UUsYgRTdur9sG3SjxVpomXoMb2U=; b=w+vdOMTZeI3aMByklD/wARWeVy3b4PX3DzZiYaUuIw5kd7OsZhzuJ87lHcSNELo2v6 gvdb3YeTClWoxYVSg14JJ+3J0KVUXPsXUngK4h/ohV/O/RBTXwaVeMJfoHigqG5jBZqd 6tz/WtpsesV7Q0u3IIYGTDWR58FSGjn3XC7gw= 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=rWKJZR7SXlTr99HRNPQxpWYNixHy9IIIxEVTgBCOzMHh7Js/U5hv/fWsRblllsyiCJ qY4QP2FL+EBEnVmzUAQVM0T2C9oOOdzMoJ/UO5RbIDSrIUmcbMNZD252qLUHSMVzf542 lLj5UtBATkjkNoCVjXQs4Ko3kO8oe1mRl7qYc= MIME-Version: 1.0 Received: by 10.42.167.131 with SMTP id s3mr12871002icy.260.1293493868308; Mon, 27 Dec 2010 15:51:08 -0800 (PST) Received: by 10.42.220.70 with HTTP; Mon, 27 Dec 2010 15:51:08 -0800 (PST) In-Reply-To: References: Date: Tue, 28 Dec 2010 10:51:08 +1100 Message-ID: From: Jean-Yves Avenard To: Freddie Cash Content-Type: text/plain; charset=ISO-8859-1 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: Mon, 27 Dec 2010 23:51:09 -0000 Hi On Tuesday, 28 December 2010, Freddie Cash wrote: > On Sun, Dec 26, 2010 at 4:43 PM, Jean-Yves Avenard = wrote: >> On 27 December 2010 09:55, Jean-Yves Avenard wrote= : >>> Hi there. >>> >>> I used stable-8-zfsv28-20101223-nopython.patch.xz from >>> http://people.freebsd.org/~mm/patches/zfs/v28/ >> >> I did the following: >> >> # zpool status >> =A0pool: pool >> =A0state: ONLINE >> =A0scan: none requested >> config: >> >> =A0 =A0 =A0 =A0NAME =A0 =A0 =A0 =A0 =A0 =A0STATE =A0 =A0 READ WRITE CKSU= M >> =A0 =A0 =A0 =A0pool =A0 =A0 =A0 =A0 =A0 =A0ONLINE =A0 =A0 =A0 0 =A0 =A0 = 0 =A0 =A0 0 >> =A0 =A0 =A0 =A0 =A0raidz1-0 =A0 =A0 =A0ONLINE =A0 =A0 =A0 0 =A0 =A0 0 = =A0 =A0 0 >> =A0 =A0 =A0 =A0 =A0 =A0ada2 =A0 =A0 =A0 =A0ONLINE =A0 =A0 =A0 0 =A0 =A0 = 0 =A0 =A0 0 >> =A0 =A0 =A0 =A0 =A0 =A0ada3 =A0 =A0 =A0 =A0ONLINE =A0 =A0 =A0 0 =A0 =A0 = 0 =A0 =A0 0 >> =A0 =A0 =A0 =A0 =A0 =A0ada4 =A0 =A0 =A0 =A0ONLINE =A0 =A0 =A0 0 =A0 =A0 = 0 =A0 =A0 0 >> =A0 =A0 =A0 =A0 =A0 =A0ada5 =A0 =A0 =A0 =A0ONLINE =A0 =A0 =A0 0 =A0 =A0 = 0 =A0 =A0 0 >> =A0 =A0 =A0 =A0 =A0 =A0ada6 =A0 =A0 =A0 =A0ONLINE =A0 =A0 =A0 0 =A0 =A0 = 0 =A0 =A0 0 >> =A0 =A0 =A0 =A0 =A0 =A0ada7 =A0 =A0 =A0 =A0ONLINE =A0 =A0 =A0 0 =A0 =A0 = 0 =A0 =A0 0 >> =A0 =A0 =A0 =A0cache >> =A0 =A0 =A0 =A0 =A0label/zcache =A0ONLINE =A0 =A0 =A0 0 =A0 =A0 0 =A0 = =A0 0 >> >> errors: No known data errors >> >> so far so good >> >> [root@server4 /pool/home/jeanyves_avenard]# zpool add pool log >> /dev/label/zil [root@server4 /pool/home/jeanyves_avenard]# zpool >> status >> =A0pool: pool >> =A0state: ONLINE >> =A0scan: none requested >> config: >> >> =A0 =A0 =A0 =A0NAME =A0 =A0 =A0 =A0 =A0 =A0STATE =A0 =A0 READ WRITE CKSU= M >> =A0 =A0 =A0 =A0pool =A0 =A0 =A0 =A0 =A0 =A0ONLINE =A0 =A0 =A0 0 =A0 =A0 = 0 =A0 =A0 0 >> =A0 =A0 =A0 =A0 =A0raidz1-0 =A0 =A0 =A0ONLINE =A0 =A0 =A0 0 =A0 =A0 0 = =A0 =A0 0 >> =A0 =A0 =A0 =A0 =A0 =A0ada2 =A0 =A0 =A0 =A0ONLINE =A0 =A0 =A0 0 =A0 =A0 = 0 =A0 =A0 0 >> =A0 =A0 =A0 =A0 =A0 =A0ada3 =A0 =A0 =A0 =A0ONLINE =A0 =A0 =A0 0 =A0 =A0 = 0 =A0 =A0 0 >> =A0 =A0 =A0 =A0 =A0 =A0ada4 =A0 =A0 =A0 =A0ONLINE =A0 =A0 =A0 0 =A0 =A0 = 0 =A0 =A0 0 >> =A0 =A0 =A0 =A0 =A0 =A0ada5 =A0 =A0 =A0 =A0ONLINE =A0 =A0 =A0 0 =A0 =A0 = 0 =A0 =A0 0 >> =A0 =A0 =A0 =A0 =A0 =A0ada6 =A0 =A0 =A0 =A0ONLINE =A0 =A0 =A0 0 =A0 =A0 = 0 =A0 =A0 0 >> =A0 =A0 =A0 =A0 =A0 =A0ada7 =A0 =A0 =A0 =A0ONLINE =A0 =A0 =A0 0 =A0 =A0 = 0 =A0 =A0 0 >> =A0 =A0 =A0 =A0logs >> =A0 =A0 =A0 =A0 =A0label/zil =A0 =A0 ONLINE =A0 =A0 =A0 0 =A0 =A0 0 =A0 = =A0 0 >> =A0 =A0 =A0 =A0cache >> =A0 =A0 =A0 =A0 =A0label/zcache =A0ONLINE =A0 =A0 =A0 0 =A0 =A0 0 =A0 = =A0 0 >> >> errors: No known data errors >> >> so far so good: >> >> # zpool remove pool logs label/zil >> cannot remove logs: no such device in pool > > Is that a typo, or the actual command you used? =A0You have an extra "s" > in there. =A0Should be "log" and not "logs". =A0However, I don't think > that command is correct either. > > I believe you want to use the "detach" command, not "remove". > # zpool detach pool label/zil > > -- > Freddie Cash > fjwcash@gmail.com > It was a typo, it should have been log (according to sun's doc). As it was showing "logs" in the status I typed this. According to sun, it zpool remove pool cache/log A typo should have never resulted in what happened, showing an error for sure; but zpool hanging and kernel panic?