Date: Fri, 6 Jan 2017 12:12:30 +0200 From: Andriy Gapon <avg@FreeBSD.org> To: freebsd-geom@FreeBSD.org Subject: Re: gmirror and a flaky member Message-ID: <77c40117-35ab-2430-07f8-e1df6b87fe1c@FreeBSD.org> In-Reply-To: <7e4164bd-9804-02d5-5990-bc15354989e9@FreeBSD.org> References: <7e4164bd-9804-02d5-5990-bc15354989e9@FreeBSD.org>
next in thread | previous in thread | raw e-mail | index | archive | help
On 06/01/2017 11:54, Andriy Gapon wrote: > > Can a geom mirror handle a member that gets disconnected and then reappears again? > > What I am seeing right now is that the mirror does not pick up the member when > it reappears. I have to add it back manually. To add more substance, here is what gets logged when the disk disappears: GEOM_MIRROR: Request failed (error=6). ada0p2[READ(offset=2517700608, length=4096)] GEOM_MIRROR: Device swap: provider ada0p2 disconnected. And here's what gets logged when the disk reappears: GEOM_MIRROR: Component ada0p2 (device swap) broken, skipping. GEOM_MIRROR: Cannot add disk ada0p2 to swap (error=22). > Even worse, the commands I have > to execute are: > $ gmirror forget ... > $ gmirror insert ... > > This does not appear to be a graceful way of reactivating the member. > > Whatever other commands I try (activate, rebuild) they fail. > > Maybe there is something I should set in the mirror's configuration. > Any advice? > Thank you! > -- Andriy Gapon
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?77c40117-35ab-2430-07f8-e1df6b87fe1c>