Page 1 of 1

Drive replacment advice needed, please.

Posted: 14 Aug 2014 13:21
by stanv
Hi,

I mistakenly did a zpool remove instead of a zpool replace. How should I properly progress to adding back a new replacement drive to replace the failed/removed ada2 drive?

nas4free: ~ # zpool status
pool: pool1
state: DEGRADED
status: One or more devices has been removed 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: resilvered 14.1G in 0h21m with 0 errors on Thu Aug 7 09:26:59 2014
config:

NAME STATE READ WRITE CKSUM
pool1 DEGRADED 0 0 0
raidz2-0 DEGRADED 0 0 0
ada0.nop ONLINE 0 0 0
972325586551966592 REMOVED 0 0 0 was /dev/ada2.nop
ada1.nop ONLINE 0 0 0
ada3.nop ONLINE 0 0 0
ada4.nop ONLINE 0 0 0
cache
ada5 ONLINE 0 0 0

errors: No known data errors

Any help will be greatly appreciated!

Thanks,

Stan

Re: Drive replacment advice needed, please.

Posted: 14 Aug 2014 17:41
by sleid
zpool replace pool1 972325586551966592 ada2.nop

or

zpool replace pool1 972325586551966592 ada2

possibly if necessary

zpool online -e ada2.nop or zpool online -e ada2

SOLVED Re: Drive replacment advice needed, please.

Posted: 05 Sep 2014 01:47
by stanv
This worked for me:
ada2 = bad drive
ada6 = replacement drive

# zpool replace pool1 ad2 ad6