Date: Thu, 07 Jun 2018 20:16:05 +0000 From: bugzilla-noreply@freebsd.org To: bugs@FreeBSD.org Subject: [Bug 228817] ZFS zpool create -n does not show cache devices Message-ID: <bug-228817-227@https.bugs.freebsd.org/bugzilla/>
next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D228817 Bug ID: 228817 Summary: ZFS zpool create -n does not show cache devices Product: Base System Version: CURRENT Hardware: amd64 OS: Any Status: New Severity: Affects Many People Priority: --- Component: bin Assignee: bugs@FreeBSD.org Reporter: bcr@FreeBSD.org zpool create -n shows log devices in the dry-run output, but not cache devi= ces. Steps to reproduce: # truncate -s 1g disk1 # truncate -s 1g disk2 This output is correct: # zpool create -n apool `pwd`/disk1 log `pwd`/disk2 would create 'apool' with the following layout: apool /home/bcr/disk1 logs /home/bcr/disk2 The same command with cache instead of log produces output that is missing = the cache device. # zpool create -n apool `pwd`/disk1 cache `pwd`/disk2 would create 'apool' with the following layout: apool /home/bcr/disk1 The behavior is the same with physical devices, too. Tested on FreeBSD 11.1= and on 12-CURRENT-r334665. --=20 You are receiving this mail because: You are the assignee for the bug.=
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-228817-227>