Cant replace faulty drive :(

Status
Not open for further replies.

jim82

Dabbler
Joined
Jul 5, 2011
Messages
44
delete please

Hi all,

I'm trying to replace a faulty drive in my RAIDZ2, but this is what happens when I follow the documentation for Freenas:

Code:
[root@nas01] ~# zpool replace share da4p2
invalid vdev specification
use '-f' to override the following errors:
/dev/da4p2 is part of active pool 'share'


Code:
[root@nas01] ~# zpool status -v
  pool: share
 state: ONLINE
 scrub: none requested
config:

        NAME                                            STATE     READ WRITE CKSUM
        share                                           ONLINE       0     0     0
          raidz2                                        ONLINE       0     0     0
            gptid/cc2724b3-a997-11e0-ad7a-001b2171e463  ONLINE       0     0     0
            gptid/cd2eeeed-a997-11e0-ad7a-001b2171e463  ONLINE       0     0     0
            gptid/ce269368-a997-11e0-ad7a-001b2171e463  ONLINE       0     0     0
            gptid/cf27ac01-a997-11e0-ad7a-001b2171e463  ONLINE       0     0     0
            gptid/d02783a6-a997-11e0-ad7a-001b2171e463  ONLINE       0     0     0
            gptid/d12d28e9-a997-11e0-ad7a-001b2171e463  ONLINE       0     0     0
            gptid/d238351c-a997-11e0-ad7a-001b2171e463  ONLINE       0     0     0
            gptid/d33c3838-a997-11e0-ad7a-001b2171e463  ONLINE       0     0     0
          raidz2                                        ONLINE       0     0     0
            gptid/fb5838a5-a997-11e0-ad7a-001b2171e463  ONLINE       0     0     0
            gptid/fc688fdc-a997-11e0-ad7a-001b2171e463  ONLINE       0     0     0
            gptid/fd6716e1-a997-11e0-ad7a-001b2171e463  ONLINE       0     0     0
            gptid/fe5c49ea-a997-11e0-ad7a-001b2171e463  ONLINE       0     0     0
            da4p2                                       ONLINE       0     0     0
            gptid/005fc3d5-a998-11e0-ad7a-001b2171e463  ONLINE       0     0     0
            gptid/01588140-a998-11e0-ad7a-001b2171e463  ONLINE       0     0     0
            gptid/0262eb74-a998-11e0-ad7a-001b2171e463  ONLINE       0     0     0

errors: No known data errors


Even though its a brand new drive I put in.

I've tried almost everything

Exporting
Importing
Detaching the drive
Offlining the drive
etc
etc

But none of it seems to work, what to do?

/Jim
 

ProtoSD

MVP
Joined
Jul 1, 2011
Messages
3,348
zpool replace share da4p2

Try it again, but this time just use the da4 without the p2. It needs the device name, without the partition. da4p1 is the 'forced' striped swap that was created with version 8.0 and is an option now, but only if you choose it before creating your pool.
 

jim82

Dabbler
Joined
Jul 5, 2011
Messages
44
Thanks for your reply protosd, but if I don't specify partition it claims that the drive is not a part of the pool.
 

jim82

Dabbler
Joined
Jul 5, 2011
Messages
44
Never mind this, just delete. Moving over to something else, even WHS2011 seems better than FN ATM :(
 
Status
Not open for further replies.
Top