Hello.

zpool lists my pool as having 2 disks which have identical names.  One
is offline, the other is online.  How do I tell zpool to replace the
offline one?  I want to replace the offline c5t5d0 with c5t2d0 but
when I run the command:

pfexec zpool replace -f space c5t5d0 c5t2d0

I get the error:

cannot replace c5t5d0 with c5t2d0: c5t2d0 is busy

here is the status of my pool:
zpool status -v space
  pool: space
 state: DEGRADED
status: One or more devices has been taken offline by the administrator.
        Sufficient replicas exist for the pool to continue functioning
in a  degraded state.
action: Online the device using 'zpool online' or replace the device
with  'zpool replace'.
 scrub: none requested
config:

        NAME        STATE     READ WRITE CKSUM
        space       DEGRADED     0     0     0
          raidz1-0  DEGRADED    0     0     0
            c5t3d0  ONLINE          0     0     0
            c5t4d0  ONLINE          0     0     0
            c5t5d0  ONLINE          0     0     0
            c5t5d0  OFFLINE         0     0     0

errors: No known data errors

How can I replace the offline disk?

Michelle
_______________________________________________
zfs-discuss mailing list
zfs-discuss@opensolaris.org
http://mail.opensolaris.org/mailman/listinfo/zfs-discuss

Reply via email to