Can't replace drive

Status
Not open for further replies.

lohmag

Dabbler
Joined
Dec 2, 2013
Messages
38
One drive in pool gone, I shut it off and want to replace it with new one but when I query command
Code:
zpool replace VOL1  33737003071264847578 gptid/345a08ce-8fcf-11e3-804a-00259092d588

System hangs and don't respond until reboot. Can you help me with this?
Code:
zpool status
  pool: VOL1
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'.
  scan: scrub repaired 0 in 74h43m with 0 errors on Wed Jan 15 02:43:54 2014
config:
 
        NAME                                            STATE    READ WRITE CKSUM
        VOL1                                            DEGRADED    0    0    0
          raidz2-0                                      DEGRADED    0    0    0
            3737003071264847578                        OFFLINE      0    0    0  was /dev/gptid/12648d45-5cc4-11e3-a517-00259092d588
            gptid/13a24a1b-5cc4-11e3-a517-00259092d588  ONLINE      0    0    0
            gptid/14dbd626-5cc4-11e3-a517-00259092d588  ONLINE      0    0    0
            gptid/1613ea0c-5cc4-11e3-a517-00259092d588  ONLINE      0    0    0
            gptid/1755765f-5cc4-11e3-a517-00259092d588  ONLINE      0    0    0
            gptid/189c38ca-5cc4-11e3-a517-00259092d588  ONLINE      0    0    0
            gptid/19e3567c-5cc4-11e3-a517-00259092d588  ONLINE      0    0    0
            gptid/1b2a4640-5cc4-11e3-a517-00259092d588  ONLINE      0    0    0
            gptid/1c7cf642-5cc4-11e3-a517-00259092d588  ONLINE      0    0    0
            gptid/00414f17-5ccd-11e3-a517-00259092d588  ONLINE      0    0    0
 
errors: No known data errors
 

cyberjock

Inactive Account
Joined
Mar 25, 2012
Messages
19,526
Any reason you aren't doing disk replacement per the GUI? What you are doing seems to not be the recommended way to replace disks....

I don't remember the manual telling you to do zpool replace from the CLI...
 

lohmag

Dabbler
Joined
Dec 2, 2013
Messages
38
Any reason you aren't doing disk replacement per the GUI? What you are doing seems to not be the recommended way to replace disks....

I don't remember the manual telling you to do zpool replace from the CLI...
Its the same in gui.
 

cyberjock

Inactive Account
Joined
Mar 25, 2012
Messages
19,526
The GUI provides interlocks and whatnot for various functions. It's very well known around here that when you start going to the CLI things can go badly. Unless you can't use the GUI, you should be using the GUI.

Ok. Well, good luck to you sir!
 
Status
Not open for further replies.
Top