Skip site navigation (1)Skip section navigation (2)
Date:      Fri,  7 Jan 2011 00:04:10 -0800 (PST)
From:      Jeremy Chadwick <freebsd@jdc.parodius.com>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   kern/153753: ZFS v15 - grammatical error when attempting to use existing cache device
Message-ID:  <20110107080410.5D4CD9B422@icarus.home.lan>
Resent-Message-ID: <201101070820.p078K7Lu096462@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help


>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:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20110107080410.5D4CD9B422>