From e6ca193ded880d478cc39e34ef82d4be36e4445d Mon Sep 17 00:00:00 2001 From: George Wilson Date: Fri, 22 May 2009 10:51:13 -0700 Subject: 6803605 should be able to offline log devices 6726045 vdev_deflate_ratio is not set when offlining a log device 6599442 zpool import has faults in the display --- usr/src/lib/libzfs/common/libzfs_pool.c | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'usr/src/lib/libzfs/common/libzfs_pool.c') diff --git a/usr/src/lib/libzfs/common/libzfs_pool.c b/usr/src/lib/libzfs/common/libzfs_pool.c index 2996f834cc..1accfecdbe 100644 --- a/usr/src/lib/libzfs/common/libzfs_pool.c +++ b/usr/src/lib/libzfs/common/libzfs_pool.c @@ -1728,6 +1728,12 @@ zpool_vdev_offline(zpool_handle_t *zhp, const char *path, boolean_t istmp) */ return (zfs_error(hdl, EZFS_NOREPLICAS, msg)); + case EEXIST: + /* + * The log device has unplayed logs + */ + return (zfs_error(hdl, EZFS_UNPLAYED_LOGS, msg)); + default: return (zpool_standard_error(hdl, errno, msg)); } -- cgit v1.2.3