From 0a3d2673de4958094b5c178efd7bd991bcd84f3f Mon Sep 17 00:00:00 2001 From: George Melikov Date: Thu, 26 Jan 2017 23:47:40 +0300 Subject: [PATCH] OpenZFS 5142 - libzfs support raidz root pool (loader project) Authored by: Toomas Soome Reviewed by: - George Wilson Reviewed by: - Yuri Pankov Reviewed by: - Andrew Stormont Reviewed by: - Albert Lee Approved by: - Robert Mustacchi Reviewed-by: Brian Behlendorf Reviewed-by: Giuseppe Di Natale Ported-by: George Melikov OpenZFS-issue: https://www.illumos.org/issues/5142 OpenZFS-commit: https://github.com/openzfs/openzfs/commit/d5f26ad Closes #5663 --- lib/libzfs/libzfs_pool.c | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/libzfs/libzfs_pool.c b/lib/libzfs/libzfs_pool.c index ace2205a8..76ada47d6 100644 --- a/lib/libzfs/libzfs_pool.c +++ b/lib/libzfs/libzfs_pool.c @@ -2310,6 +2310,7 @@ vdev_get_physpaths(nvlist_t *nv, char *physpath, size_t phypath_size, return (ret); } } else if (strcmp(type, VDEV_TYPE_MIRROR) == 0 || + strcmp(type, VDEV_TYPE_RAIDZ) == 0 || strcmp(type, VDEV_TYPE_REPLACING) == 0 || (is_spare = (strcmp(type, VDEV_TYPE_SPARE) == 0))) { nvlist_t **child;