Page 1 of 1

Offline disk ZFS

Posted: 03 Jul 2014 00:37
by nfenech
Hi all,

I have a disk that went off-line, and degraded the pool. (raidZ1)
It's now online, but reporting weird:

Code: Select all

 pool: tank
 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 14h29m with 0 errors on Sun Jun  1 12:48:27 2014
config:

	NAME                     STATE     READ WRITE CKSUM
	tank                     DEGRADED     0     0     0
	  raidz1-0               DEGRADED     0     0     0
	    ada0.nop             ONLINE       0     0     0
	    ada1.nop             ONLINE       0     0     0
	    ada2.nop             ONLINE       0     0     0
	    2030263122759201710  OFFLINE      0     0     0  was /dev/ada3.nop
	    ada4.nop             ONLINE       0     0     0

errors: No known data errors
I offline the disk, so i could on-line the disk so it would pick it up and either re-build or fix the pool.

I tried to "Replace" although it's complaining that it's already apart of the pool?
Tried with the -f but it wouldn't let me.

Any ideas?
How can i force the disk back into the pool?
Or should i just buy a new disk?

Re: Offline disk ZFS

Posted: 03 Jul 2014 06:58
by crowi
Or should i just buy a new disk?
Can you post the SMART values of the disk?

Re: Offline disk ZFS

Posted: 04 Jul 2014 05:48
by nfenech
I looked at the SMART values and it looks like it was failing.
I've brought a new drive and replaced it, and it's rebuilding now (50% done, 20h left)
Hopefully everything goes fine.
I will post if there is any issues.

Thanks.