zpool raidz2 stopped working after failure of one drive

Marek Salwerowicz marek.salwerowicz at misal.pl
Sun Nov 20 20:03:38 UTC 2016


W dniu 2016-11-20 o 16:02, Gary Palmer pisze:
>
>> However, I am concerned by the fact that one drive's failure has blocked
>> completely zpool.
>> Is it normal normal behaviour for zpools ?
>
> What is the setting in
>
> zpool get failmode <poolname>
>
> By default it is "wait", which I suspect is what caused your issues.
> See the man page for zpool for more.

Indeed, it's wait.
However, I was trying to reproduce the problem in a VM by removing SATA 
disk on the fly from raidz2 (while pool was under I/O by bonnie++ ), and 
it worked correctly - drive state is "REMOVED" in "zpool status" command.

But the pool works correctly.


Taking into account this PR, I am wondering if it might be a hardware issue:
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=191348


> zfsd in 11.0 and later is the current path to hot spare management
> in FreeBSD.  FreeBSD 10.x does not have the ability to automatically use
> hot spares to replace failing drives.

Thanks - I will try it out.

Cheers

Marek


-- 
Marek Salwerowicz
MISAL-SYSTEM
tel. + 48 222 198891



More information about the freebsd-fs mailing list