Zpool Replace Returns "invalid vdev specification; the following errors must be manually repaired" (Doc ID 1005473.1)

Last updated on AUGUST 23, 2017

Applies to:

Solaris Operating System - Version 10 6/06 U2 and later
All Platforms

Symptoms

When replacing a device under zfs control, you may experience the error below, even when using the force (-f) option.

# zpool status viper
pool: viper
state: DEGRADED
status: One or more devices could not be opened. Sufficient replicas exist for
the pool to continue functioning in a degraded state.
action: Attach the missing device and online it using 'zpool online'.
see: http://www.sun.com/msg/ZFS-8000-D3
scrub: none requested
config:

NAME      STATE            READ WRITE CKSUM
viper     DEGRADED          0     0     0
mirror    DEGRADED          0     0     0
c3t53d0s1 ONLINE            0     0     0
c3t54d0s1 UNAVAIL           0    66     0        cannot open

errors: No known data errors

 

# zpool replace -f viper c3t54d0s1
invalid vdev specification
the following errors must be manually repaired:
/dev/dsk/c3t54d0s1 is part of active ZFS pool viper. Please see zpool(1M).

Cause

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms