[OpenIndiana-discuss] Duplicate devices in zpool, degraded

Jason Matthews jason at broken.net
Tue Jan 9 15:22:12 UTC 2018


I would delete the cache file, reboot, and then re-import the volume. 

rm /etc/zfs/zfs.cache
reboot


J. 

Sent from my iPhone

> On Jan 8, 2018, at 5:45 PM, John D Groenveld <groenveld at acm.org> wrote:
> 
> 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
> 
> _______________________________________________
> openindiana-discuss mailing list
> openindiana-discuss at openindiana.org
> https://openindiana.org/mailman/listinfo/openindiana-discuss
> 




More information about the openindiana-discuss mailing list