[OpenIndiana-discuss] Duplicate devices in zpool, degraded

John D Groenveld groenveld at acm.org
Tue Jan 9 01:45:02 UTC 2018


In message <b44bdf46-1ba0-5c2d-0523-7a4a8f3a4533 at kosmosisland.com>, David Koski
 writes:
># zpool replace syspool c2t0d0s0 c2t0d0s0
>invalid vdev specification
>use '-f' to override the following errors:
>/dev/dsk/c2t0d0s0 is part of active ZFS pool syspool. Please see zpool(1M).

<URL:http://illumos.org/man/1m/zpool>
zpool(1M)
    zpool replace [-f] pool device [new_device]
             Replaces old_device with new_device.  This is equivalent to
             attaching new_device, waiting for it to resilver, and then
             detaching old_device.

             The size of new_device must be greater than or equal to the
             minimum size of all the devices in a mirror or raidz
             configuration.

             new_device is required if the pool is not redundant.  If
             new_device is not specified, it defaults to old_device.  This
             form of replacement is useful after an existing disk has failed
             and has been physically replaced.  In this case, the new disk may
             have the same /dev/dsk path as the old device, even though it is
             actually a different disk.  ZFS recognizes this.

             -f      Forces use of new_device, even if its appears to be in
                     use.  Not all devices can be overridden in this manner.

John
groenveld at acm.org



More information about the openindiana-discuss mailing list