diff options
author | Steven Hartland <smh@FreeBSD.org> | 2014-07-14 14:33:03 +0000 |
---|---|---|
committer | Steven Hartland <smh@FreeBSD.org> | 2014-07-14 14:33:03 +0000 |
commit | d143a6f70011e37d62201fe02dc16e2e45680245 (patch) | |
tree | 1fcb1044a4d3b7c28f6c0f058f03e43db0deb06a /cddl/contrib/opensolaris/cmd/zpool/zpool_main.c | |
parent | b32cce1f82e08079bf3ca649e143cb9a15a4b1e8 (diff) | |
download | src-d143a6f70011e37d62201fe02dc16e2e45680245.tar.gz src-d143a6f70011e37d62201fe02dc16e2e45680245.zip |
Don't report non-native block-size pools under zpool status -x
zpool status -x is used to identify pools that are exhibiting
errors or are otherwise unavailable, therefore non-native
block-size pools shouldn't be reported.
Also update man page to clarify other additional conditions
which won't cause a pool to be displayed under zpool status -x.
Sponsored by: Multiplay
Notes
Notes:
svn path=/head/; revision=268621
Diffstat (limited to 'cddl/contrib/opensolaris/cmd/zpool/zpool_main.c')
-rw-r--r-- | cddl/contrib/opensolaris/cmd/zpool/zpool_main.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/cddl/contrib/opensolaris/cmd/zpool/zpool_main.c b/cddl/contrib/opensolaris/cmd/zpool/zpool_main.c index 7f27bb089267..28fdd80c233d 100644 --- a/cddl/contrib/opensolaris/cmd/zpool/zpool_main.c +++ b/cddl/contrib/opensolaris/cmd/zpool/zpool_main.c @@ -4101,6 +4101,7 @@ status_callback(zpool_handle_t *zhp, void *data) if (cbp->cb_explain && (reason == ZPOOL_STATUS_OK || reason == ZPOOL_STATUS_VERSION_OLDER || + reason == ZPOOL_STATUS_NON_NATIVE_ASHIFT || reason == ZPOOL_STATUS_FEAT_DISABLED)) { if (!cbp->cb_allpools) { (void) printf(gettext("pool '%s' is healthy\n"), |