I currently have an annoying issue on my home server.
Every couple days my SSD ZFS pool failed with I/O errors
But the drive is online and when I delete the pool, format the drive and recreate a pool on its healty for another couple of days.
I cant see any I/O errors in the kernel log, the SMART data are also ok and when I stress test the drive before I create a ZFS pool on it, its healthy as well (did a read write test with over 1 TB of data)
Also rm /etc/zfs/zpool.cache didn't helped
So:
1. Where can I look else why ZFS is failing?
2. is there a way to force ZFS to bring the array online?
3. Something else I could try?
My final workaround will be format the drive as btrfs or ext4 but if ZFS could do the job, I would prefer it
Every couple days my SSD ZFS pool failed with I/O errors
Code:
root@vmh1:/dev/disk/by-id# zpool status
pool: rpool
state: ONLINE
scan: scrub repaired 0 in 0h8m with 0 errors on Sun Mar 12 00:32:17 2017
config:
NAME STATE READ WRITE CKSUM
rpool ONLINE 0 0 0
mirror-0 ONLINE 0 0 0
sdc2 ONLINE 0 0 0
sdd2 ONLINE 0 0 0
errors: No known data errors
pool: vmdisks_ssd_1
state: UNAVAIL
status: One or more devices are faulted in response to IO failures.
action: Make sure the affected devices are connected, then run 'zpool clear'.
see: http://zfsonlinux.org/msg/ZFS-8000-HC
scan: scrub repaired 0 in 0h1m with 0 errors on Sun Mar 12 00:25:41 2017
config:
NAME STATE READ WRITE CKSUM
vmdisks_ssd_1 UNAVAIL 0 0 0 insufficient replicas
ata-KINGSTON_SV300S37A120G_50026B723A03FA88 FAULTED 3 0 0 too many errors
root@vmh1:/dev/disk/by-id# ls
ata-KINGSTON_SV300S37A120G_50026B723A03FA88
But the drive is online and when I delete the pool, format the drive and recreate a pool on its healty for another couple of days.
I cant see any I/O errors in the kernel log, the SMART data are also ok and when I stress test the drive before I create a ZFS pool on it, its healthy as well (did a read write test with over 1 TB of data)
Also rm /etc/zfs/zpool.cache didn't helped
So:
1. Where can I look else why ZFS is failing?
2. is there a way to force ZFS to bring the array online?
3. Something else I could try?
My final workaround will be format the drive as btrfs or ext4 but if ZFS could do the job, I would prefer it