Re: zfs: non-redundant zpool suspended till hard boot on any transient error

From: Ronald Klop <ronald-lists_at_klop.ws>
Date: Thu, 27 Feb 2025 13:51:01 UTC
See man zpoolprops and look for failmode.
Default is “wait”.

Does that help?

Regards,
Ronald.

Van: Dmitry Morozovsky <woozle@woozle.net>
Datum: 27 februari 2025 09:33
Aan: freebsd-fs@freebsd.org
CC: mm@freebsd.org
Onderwerp: zfs: non-redundant zpool suspended till hard boot on any transient error

> 
> 
> Colleagues,
> 
> regarding situations like
> https://forums.freebsd.org/threads/external-drive-zfs-power-loss-insufficient-replicas-pool-suspended-cannot-online-dev-da0-pool-i-o-is-currently-suspended.94141/
> (non redundant zpool on external drive)
> 
> as noted, even subsecond disconnect on otherwise idle pool leads to instant and 
> irreversible pool suspension.  hard reset (as kernel hangs on I/O requests on 
> suspended pool forever) is the only way to recover
> 
> also, found this patch, but can't evaluate it myself: 
> https://github.com/openzfs/zfs/pull/11082
> 
> any thoughts?  thanks in advance!
> 
> -- 
> Sincerely,
> D.Marck                                                          [MCK-RIPE]
> [ FreeBSD committer:                                    marck@FreeBSD.org ]
> ---------------------------------------------------------------------------
> *** Dmitry Morozovsky --- D.Marck --- Wild Woozle --- woozle@woozle.net ***
> ---------------------------------------------------------------------------
> 
> 
> 
> 
>