Re add remove drive to ZFS Pool

Itobin

Dabbler
Joined
Jan 29, 2019
Messages
19
Hi,

i received an alert that one of the drives was removed from a VDEV, in my case /dev/da7

zpool status shows

pool: iscsi-storage
state: DEGRADED
status: One or more devices has experienced an unrecoverable error. An
attempt was made to correct the error. Applications are unaffected.
action: Determine if the device needs to be replaced, and clear the errors
using 'zpool clear' or replace the device with 'zpool replace'.
see: https://openzfs.github.io/openzfs-docs/msg/ZFS-8000-9P
scan: scrub repaired 0B in 04:35:47 with 0 errors on Sun Feb 14 12:35:49 2021
config:

NAME STATE READ WRITE CKSUM
iscsi-storage DEGRADED 0 0 0
mirror-0 ONLINE 0 0 0
gptid/34a15667-24cc-11e9-8026-3c4a92dfecee ONLINE 0 0 0
gptid/354b4b70-24cc-11e9-8026-3c4a92dfecee ONLINE 0 0 0
mirror-1 ONLINE 0 0 0
gptid/360e0dc2-24cc-11e9-8026-3c4a92dfecee ONLINE 0 0 0
gptid/36cb9f10-24cc-11e9-8026-3c4a92dfecee ONLINE 0 0 0
mirror-2 ONLINE 0 0 0
gptid/378636fd-24cc-11e9-8026-3c4a92dfecee ONLINE 0 0 0
gptid/38462cef-24cc-11e9-8026-3c4a92dfecee ONLINE 0 0 0
mirror-3 DEGRADED 0 0 0
gptid/390439f4-24cc-11e9-8026-3c4a92dfecee ONLINE 0 0 0
gptid/39b20c2a-24cc-11e9-8026-3c4a92dfecee REMOVED 0 0 51.4K
mirror-4 ONLINE 0 0 0
gptid/3a6f04ae-24cc-11e9-8026-3c4a92dfecee ONLINE 0 0 0
gptid/3b22a757-24cc-11e9-8026-3c4a92dfecee ONLINE 0 0 0

errors: No known data errors

I have ran tests on da7 using smatctl and there are no errors reported at all, so first I would like to readd this back into the vdev. The server is in a data centre so its not easy to go and pull it out and back in, is there a way i can reactivate the disk?

thanks in advance.
 

ChrisRJ

Wizard
Joined
Oct 23, 2020
Messages
1,919
Are you aware of the fact that a positive result of SMART test does not at all say that everything is ok with the disk? When ZFS tells me that there is a problem (by means of having removed the drive) I personally take this very seriously. The fact that your server is in a data center seems to indicate a certain level of criticality. If that is the case, it would be all the more reason to rush and get a new disk (properly burned-in, of course) in.

My $0.02
 

Redcoat

MVP
Joined
Feb 18, 2014
Messages
2,925
In addition to @ChrisRJ 's cautionary note, chksum errors may be caused by cable-related issues (which would require hands-on work to diagnose/find/fix).
 

Itobin

Dabbler
Joined
Jan 29, 2019
Messages
19
the drives are actually in caddies and been running fine for well over a year.

I agree the drive should be replaced, but i didnt know if this was a mis report, hense why i was going to try and re add the drive.

I will still order a one anyway, it was more to see if it is actually faulty.
 
Top