I'm  testing a large ZFS pool at the minute and am documenting the process for replacing a failed drive before our environment moves into production.I've built the ZFS volume 'diskpool', which is 3 nested vdevs of 20 x 8TB drives.Everything is working fine.To simulate a disk failure, I've disconnected one of the 8tb drives.I'm a little worried, because with the drive disconnected, If i run 'zpool status', I'm still showing 'ONLINE' as the state against all of my disks. The disk controller that all of the devices are connected to has reporting mechanisms in place, and that immediately alerted me to say a disk has either failed or been removed, but ZFS doesn't seem any the wiser. Can someone shed some light on why it would still report a 'failed' disk as 'ONLINE'?
Checking for a failed drive in a ZFS pool
filesystems;raid;disk;zfs
The ZFS implementation you use doesn't poll its underlying devices unless there is some activity going on.Removing a disk from a pool that is not accessed will then remain unnoticed until you access it.