ZFS: Failed pool causes system to hang

Quartz quartz at sneakertech.com
Tue Apr 9 16:19:31 UTC 2013


> Sorry, but you've not tested this. Your root is hanging off a
> different controller to the others, but it is still using the same
> ahci/cam stack. Is ahci/cam getting wedged, causing your root to get
> wedged - irrespective of running on a different controller - or is ZFS
> causing a deadlock.


If I simulate failures by yanking the sata cable to various drives in 
the pool, I can disconnect any two (raidz2) at random and everything 
hums along just fine. Status tells me the pool is degraded and if I 
reconnect them I can resilver and whatnot with no problems. However if I 
have three drives yanked simultaneously is when everything goes to shit.

I don't know the ahci/cam stack from a hole in the wall, but it seems to 
me that if it can gracefully handle two drives dropping out and coming 
back randomly, it ought to be able to handle three. I suppose it's 
possible that zfs itself is not the root cause of the problem, but one 
way or another there's some kind of interaction here, as I only 
experience an issue when the pool is no longer solvent.

______________________________________
it has a certain smooth-brained appeal


More information about the freebsd-fs mailing list