kern/153753: ZFS v15 - grammatical error when attempting to use existing cache device

Jeremy Chadwick freebsd at jdc.parodius.com
Fri Jan 7 08:20:08 UTC 2011


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


More information about the freebsd-bugs mailing list