Solved zpool replace error

Hi all,

I have a storage that refuses to replace a faulty disk:

Code:
 zpool status
  pool: datastore
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://illumos.org/msg/ZFS-8000-2Q
  scan: scrub canceled on Mon Jul  6 12:11:04 2020
config:

    NAME                     STATE     READ WRITE CKSUM
    datastore                DEGRADED     0     0     0
      raidz2-0               DEGRADED     0     0     0
        da8.eli              ONLINE       0     0     0
        da9.eli              ONLINE       0     0     0
        da10.eli             ONLINE       0     0     0
        da11.eli             ONLINE       0     0     0
        da12.eli             ONLINE       0     0     0
        da13.eli             ONLINE       0     0     0
        8472634863619228999  UNAVAIL      0     0     0  was /dev/da14.eli
        da14.eli             ONLINE       0     0     0
      raidz2-1               ONLINE       0     0     0
        da0.eli              ONLINE       0     0     0
        da1.eli              ONLINE       0     0     0
        da2.eli              ONLINE       0     0     0
        da3.eli              ONLINE       0     0     0
        da4.eli              ONLINE       0     0     0
        da5.eli              ONLINE       0     0     0
        da6.eli              ONLINE       0     0     0
        da7.eli              ONLINE       0     0     0

zpool attach datastore 8472634863619228999 /dev/da15.eli
zpool replace datastore 8472634863619228999 /dev/da15.eli

Produces the following error :

Code:
cannot replace 8472634863619228999 with /dev/da15.eli: new device must be a single disk

Any ideas ?

Thanks!
 
Back
Top