From owner-freebsd-bugs@FreeBSD.ORG Fri Jan 7 08:20:08 2011 Return-Path: Delivered-To: freebsd-bugs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 2739010656AA for ; Fri, 7 Jan 2011 08:20:08 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 011DC8FC1D for ; Fri, 7 Jan 2011 08:20:08 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.4/8.14.4) with ESMTP id p078K7hL096463 for ; Fri, 7 Jan 2011 08:20:07 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.4/8.14.4/Submit) id p078K7Lu096462; Fri, 7 Jan 2011 08:20:07 GMT (envelope-from gnats) Resent-Date: Fri, 7 Jan 2011 08:20:07 GMT Resent-Message-Id: <201101070820.p078K7Lu096462@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Jeremy Chadwick Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 77A10106564A for ; Fri, 7 Jan 2011 08:17:22 +0000 (UTC) (envelope-from jdc@koitsu.dyndns.org) Received: from qmta12.emeryville.ca.mail.comcast.net (qmta12.emeryville.ca.mail.comcast.net [76.96.27.227]) by mx1.freebsd.org (Postfix) with ESMTP id 62B218FC0C for ; Fri, 7 Jan 2011 08:17:22 +0000 (UTC) Received: from omta22.emeryville.ca.mail.comcast.net ([76.96.30.89]) by qmta12.emeryville.ca.mail.comcast.net with comcast id sY3e1f0031vN32cACY4BU4; Fri, 07 Jan 2011 08:04:11 +0000 Received: from koitsu.dyndns.org ([98.248.34.134]) by omta22.emeryville.ca.mail.comcast.net with comcast id sY4A1f0052tehsa8iY4A4F; Fri, 07 Jan 2011 08:04:11 +0000 Received: by icarus.home.lan (Postfix, from userid 1000) id 5D4CD9B422; Fri, 7 Jan 2011 00:04:10 -0800 (PST) Message-Id: <20110107080410.5D4CD9B422@icarus.home.lan> Date: Fri, 7 Jan 2011 00:04:10 -0800 (PST) From: Jeremy Chadwick To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Cc: Subject: kern/153753: ZFS v15 - grammatical error when attempting to use existing cache device X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Jeremy Chadwick List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 07 Jan 2011 08:20:08 -0000 >Number: 153753 >Category: kern >Synopsis: ZFS v15 - grammatical error when attempting to use existing cache device >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Fri Jan 07 08:20:07 UTC 2011 >Closed-Date: >Last-Modified: >Originator: Jeremy Chadwick >Release: FreeBSD 8.2-PRERELEASE amd64 >Organization: >Environment: System: FreeBSD icarus.home.lan 8.2-PRERELEASE FreeBSD 8.2-PRERELEASE #0: Sat Nov 27 12:54:04 PST 2010 root@icarus.home.lan:/usr/obj/usr/src/sys/X7SBA_RELENG_8_amd64 amd64 >Description: When attempting to use an already-in-use cache device in another pool, the error message makes little sense (specifically the use of the word "unknown" below): invalid vdev specification use '-f' to override the following errors: /some/disk is part of unknown pool 'data' >How-To-Repeat: # zpool create data ada1 cache da0 # zpool create backups ada2 # zpool status pool: backups state: ONLINE scrub: none requested config: NAME STATE READ WRITE CKSUM backups ONLINE 0 0 0 ada2 ONLINE 0 0 0 errors: No known data errors pool: data state: ONLINE scrub: none requested config: NAME STATE READ WRITE CKSUM data ONLINE 0 0 0 ada1 ONLINE 0 0 0 cache da0 ONLINE 0 0 0 errors: No known data errors # zpool add backups cache da0 invalid vdev specification use '-f' to override the following errors: /dev/da0 is part of unknown pool 'data' >Fix: The word "unknown" should probably be "active", or better yet, removed altogether. >Release-Note: >Audit-Trail: >Unformatted: