Joined: 24 Jul 2002
|Posted: Fri Oct 03, 2014 4:12 am Post subject: ZFS doesn't recognize missing disk
|I'm hoping someone can provide a little explanation about and guidance on this. I'm new to ZFS and an currently testing/evaluating a RAID-Z2 pool for a new home server I'm building. I've been very happy with it so far, but before I officially declare it good to go I want to verify that I can successfully recover from a failed disk.
So, I figure the most direct route would be to simply pull a disk and see how it responds. The result isn't what I expected. The system is still working, and I can still access my data (as I'd expect for a RAID-Z2), but when I check the status I get this:
|#zpool status -v
scan: scrub repaired 0 in 0h2m with 0 errors on Tue Sep 30 23:09:32 2014
NAME STATE READ WRITE CKSUM
data ONLINE 0 0 0
raidz2-0 ONLINE 0 0 0
ata-WDC_WD60EFRX-68MYMN1_WD-WX11D4449388 ONLINE 0 0 0
ata-WDC_WD60EFRX-68MYMN1_WD-WX11D741APC4 ONLINE 0 0 0
ata-WDC_WD60EFRX-68MYMN1_WD-WX11D741AN90 ONLINE 0 0 0
ata-WDC_WD60EFRX-68MYMN1_WD-WX11D741ALEH ONLINE 0 0 0
errors: No known data errors
I have the disk with ID WX11D741APC4 sitting on my desk right now, yet ZFS seems to think everything available and working just fine. That's a little troublesome.
Anyone know why it's behaving like this? I'd really love a good explanation. Additionally, anyone know how to force ZFS to actually recognize that the disk is bad? I've verified that /dev/disk/by-id/ata-WDC_WD60EFRX-68MYMN1_WD-WX11D741APC4 (/dev/sdc) is indeed gone, so I really don't know how it can not realize that an entire disk has disappeared.
Any info/advice is appreciated. Thanks.