[zfs-discuss] Unable to set global hot spares in OmniOS?

Locane locane at gmail.com
Fri Dec 16 14:21:34 EST 2016


Apparently, using the "-f" (force) flag causes the error, and omitting it
does not.

This should probably be reported somewhere.

On Thu, Dec 15, 2016 at 6:46 PM, Locane <locane at gmail.com> wrote:

> I have a system running OmniOS, where a customer wants some large zpools
> set up.  There are 2 pools with the attached disks, and the intent is to
> share the hot spare drives among them.
>
> FileStoreA has 4 spares set on it, but when I try to use the same spares
> to create FileStoreB, I get the following error:
>
> root at primstore-storx-1z-controllernode:/root# zpool create -f
> "FileStoreB" raidz2 <----SNIP FOR CLARITY----> spare c1t5000C50085ACBC9Bd0
> c1t5000C50085AC3EDBd0 c1t5000C50085ACCE6Fd0 c1t5000C50085AC8863d0
> invalid vdev specification
> the following errors must be manually repaired:
> /dev/dsk/c1t5000C50085ACBC9Bd0s0 is reserved as a hot spare for ZFS pool
> FileStoreA.  Please see zpool(1M).
> /dev/dsk/c1t5000C50085AC3EDBd0s0 is reserved as a hot spare for ZFS pool
> FileStoreA.  Please see zpool(1M).
> /dev/dsk/c1t5000C50085ACCE6Fd0s0 is reserved as a hot spare for ZFS pool
> FileStoreA.  Please see zpool(1M).
> /dev/dsk/c1t5000C50085AC8863d0s0 is reserved as a hot spare for ZFS pool
> FileStoreA.  Please see zpool(1M).
>
> The manual for ZFS and the Oracle documentation both say that I should be
> able to do this, but I can't.  Does anyone have any ideas?
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://list.zfsonlinux.org/pipermail/zfs-discuss/attachments/20161216/4b667d42/attachment.html>


More information about the zfs-discuss mailing list