Bug 153753 - [zfs] ZFS v15 - grammatical error when attempting to use existing cache device
Summary: [zfs] ZFS v15 - grammatical error when attempting to use existing cache device
Status: Closed Overcome By Events
Alias: None
Product: Base System
Classification: Unclassified
Component: kern (show other bugs)
Version: 8.2-PRERELEASE
Hardware: Any Any
: Normal Affects Only Me
Assignee: freebsd-bugs (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-01-07 08:20 UTC by Jeremy Chadwick
Modified: 2020-07-11 20:36 UTC (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jeremy Chadwick 2011-01-07 08:20:07 UTC
	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'

Fix: 

The word "unknown" should probably be "active", or better yet,
	removed altogether.
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'
Comment 1 Mark Linimon freebsd_committer freebsd_triage 2011-01-07 22:10:55 UTC
Responsible Changed
From-To: freebsd-bugs->freebsd-fs

Over to maintainer(s).
Comment 2 Eitan Adler freebsd_committer freebsd_triage 2017-12-31 08:00:19 UTC
For bugs matching the following criteria:

Status: In Progress Changed: (is less than) 2014-06-01

Reset to default assignee and clear in-progress tags.

Mail being skipped
Comment 3 Allan Jude freebsd_committer freebsd_triage 2020-07-11 20:36:31 UTC
Should be dealt with upstream