[OpenIndiana-discuss] Replacing an unavailable hd...

John Doe jdmls at yahoo.com
Mon Jun 16 08:18:36 UTC 2014


Hi,

I just got my first failed HD under OI and wanted to be sure I don't crash everything when replacing it...

# zpool status -x
  pool: VOLUME
 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 repaired 0 in 0h0m with 0 errors on Fri Jan 25 14:09:17 2013
config:

        NAME        STATE     READ WRITE CKSUM
        VOLUME      DEGRADED     0     0     0
          raidz2-0  DEGRADED     0     0     0
            c5t0d0  ONLINE       0     0     0
            c5t1d0  ONLINE       0     0     0
            c5t2d0  UNAVAIL     12    20     0  cannot open
            c5t3d0  ONLINE       0     0     0
            c5t4d0  ONLINE       0     0     0
            c5t5d0  ONLINE       0     0     0

Do I just need to physicaly replace the HD and then do a:
  zpool replace VOLUME c5t2d0
or do I need to encapsulate that with some zpool offline/online, "cfgadm -c unconfigure/configure", followed by a "zpool clear"...?

Thx,
JD



More information about the openindiana-discuss mailing list