I have a raidz2 ZFS pool and my 2 disks started to give I/O error and after that zfs marked them as faulted. click for dmesg log
I removed the disks and I ran some test on them. Smartctl says;
DISK 1 "click for full log= SMART Health Status: DATA CHANNEL IMPENDING FAILURE DATA ERROR RATE TOO HIGH [asc=5d, ascq=32]
DISK 2 "click for full log= SMART Health Status: HARDWARE IMPENDING FAILURE GENERAL HARD DRIVE FAILURE [asc=5d, ascq=10]
I created a new pool from the "DISK 1" and I started a fio test but i did not see any I/O error on the disk. I did not encounter any error like the previous one.. The disk working normal. Also I created a pool with 4 disk and Disk Utilization was normal too.
I tried this test for 4 days and I have not encountered an error. The disk working like the others right now.
fio --randrepeat=0 --ioengine=libaio --name=test --filename=/disktest/fiofile \ --bs=1024k --iodepth=64 --size=5T --readwrite=readwrite --rwmixread=60 --numjobs=20
I have few questions;
1- Why the disk do not give error anymore?
2- If the disk working normal then why it caused I/O error on first pool?
3- What is the best way understanding a hard-drive faulted or not?
4- How we can reset the hard-drive error counters?
5- The disk is garbage or not?
The disk attached from; Controller -> LSI3008HBA -> 2x SAS-cable -> "SC946ED-R2KJBOD" 2xExpander -> Multipath SAS disks.