[OpenIndiana-discuss] Duplicate devices in zpool, degraded

David Koski david at kosmosisland.com
Sat Jan 6 06:16:14 UTC 2018


# 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).

David
david at kosmosisland.com

On 11/01/2017 11:39 AM, John D Groenveld wrote:
>> The boot drive had uncorrectable errors but still not faulted.  I put
>> the mirrored drive into the boot drive position (c2t1d0s0 into slot of
>> c2t0d0s0) and put a new drive in place of the drive that was moved into
>> the boot position, then booted the machine and resilvered.  However, the
>> boot drive has a strange status where it appears twice in the zpool
>> status, once faulted and once not:
>>
>> # zpool status -x
>>    pool: syspool
>>   state: DEGRADED
>> status: One or more devices could not be used because the label is
>> missing or
>>          invalid.  Sufficient replicas exist for the pool to continue
>>          functioning in a degraded state.
>> action: Replace the device using 'zpool replace'.
>>     see: http://www.sun.com/msg/ZFS-8000-4J
>>   scan: scrub repaired 0 in 0h3m with 0 errors on Tue Oct 31 21:59:25 2017
>> config:
>>
>>          NAME          STATE     READ WRITE CKSUM
>>          syspool       DEGRADED     0     0     0
>>            mirror-0    DEGRADED     0     0     0
>>              c2t0d0s0  FAULTED      0     0     0  corrupted data
>>              c2t0d0s0  ONLINE       0     0     0
>>              c2t1d0s0  ONLINE       0     0     0
>>
>> errors: No known data errors
> What happens when you "zpool replace syspool c2t0d0s0 c2t0d0s0"?
>
> 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