Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 6 Nov 2018 21:54:32 -0500
From:      Alejandro Imass <aimass@yabarana.com>
To:        FreeBSD Questions <freebsd-questions@freebsd.org>
Subject:   Re: ZFS re attaching failed device to pool
Message-ID:  <CAHieY7S8iLrfhsGk=n4h9wHLuVc0i=q6oi40Rkd7zKQn1JNO=g@mail.gmail.com>
In-Reply-To: <20181106191418.GB16406@neutralgood.org>
References:  <CAHieY7RP9hjZ8TDqz8PFNoeo2gVY5%2BA2icA288mmvh__e1j5XA@mail.gmail.com> <CAHieY7R%2BCNNzPQwCGJW8ugy266EXXBZmF1EPs2gvacJ3=56eiA@mail.gmail.com> <4C7379FD-8646-4246-9CD0-AC3B281B32C9@lists.vlassakakis.de> <CAHieY7QXk7OH=Py9H%2BDpF5utztjCLypWzot-y8TKab%2B0zjAnCg@mail.gmail.com> <20181106184229.cbc0a77021e9f5b5506b230b@sohara.org> <20181106191418.GB16406@neutralgood.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, Nov 6, 2018 at 2:14 PM Kevin P. Neal <kpn@neutralgood.org> wrote:

> I do suggest a backup to some other disk that you then take offline.  I
> don't know what will happen if you have disk trouble while a removal is
> in process. That code, if I'm not insane, is very new.
>
>
>
Thank you all for taking the time to respond.

So what is the the correct approach here? Would this suggestion by Kevin
Neal have worked for re-attaching a good disk that had been ousted for a
faulty cable?

If so, what is the procedure for updating the handbook so that other people
that encounter this particular situation can recover more easily?

<quote>
For a simple mirror, if you can handle the risk, you can detach the
unavailable disk and then reattach it. Once the mirror has been dropped
down to a single disk (ie, not a mirror anymore) then you can _attach_ the
disk that was part of the mirror before. Just make sure you "attach" it,
don't use any other verbs.
</quote>

At this point I will just backup, reconstruct the array and restore.

Thanks again!

-- 

Alex



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAHieY7S8iLrfhsGk=n4h9wHLuVc0i=q6oi40Rkd7zKQn1JNO=g>