Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 29 May 2016 22:41:07 -0700
From:      esamorokov <esamorokov@gmail.com>
To:        BlackCat <blackcatzilla@gmail.com>
Cc:        freebsd-fs@freebsd.org
Subject:   Re: ZFS - RAIDZ1 Recovery (Evgeny Sam)
Message-ID:  <574BD273.5040401@gmail.com>
In-Reply-To: <CAD-rSecbFjSwV0kYCKEWL%2Bu0i26m%2B6-Rtej0Xyzpc_JswG8HvA@mail.gmail.com>
References:  <CABDVK=6-zxo-HyG6LwmVAaouO5ZoiSuAhAYoszX9FMoK2qb_Qw@mail.gmail.com> <CAD-rSedwn9GJ1MMBmfcMXPZ7yvpkC9FkAo4_Zgmwi%2BT39CnM0g@mail.gmail.com> <CABDVK=77zb7g=GtCpv0nUe6nBwf2GWWPHpEu1KGfC49SU4kiiA@mail.gmail.com> <CAD-rSecgU6KsXzPkLYSz1r9KsBoXHwybjNTyXimRF2UDFOLTbA@mail.gmail.com> <CABDVK=4RFv3nqyg2DEWQppM%2Bn%2BmL66v5yMKW45r89d3Y=4=W-w@mail.gmail.com> <CAD-rSecbFjSwV0kYCKEWL%2Bu0i26m%2B6-Rtej0Xyzpc_JswG8HvA@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
BlackCat,
     I think this table should make it a little bit clear, i hope :)


	*State #1* 	*State #2* 	*State #3* 	*State #4*
*ada1 (ada1p2)* 	OK 	OK 	DISCONNECTED 	CONNECTED (OLD POOL)
*ada2 (ada2p2)* 	OK 	OK 	OK 	OK (new Pool)
*ada3 (ada3p2)* 	OK 	FAILED 	REPLACED 	CONNECTED FAILED DRIVE (OLD POOL)
*ZH_VOL (pool)* 	OK 	DEGRADED 	DESTROYED 	RECREATED


Thank you,
Evgeny.

On 05/29/2016 11:31 AM, BlackCat wrote:
> Evgeny,
>
> I still can not figure, what happened to ada2 drive. You say that the
> broken drive is ada3 and you attempt to replace it. But then something
> went wrong, you attempted to recover the pool but without success.
> After that you attach original ada3 drive back to machine and write
> your initial post to this mailing list?
>
> Log, which you attached to your initial post, shows that you attempted
> to remove _ada2_ from the pool, then you create new pool with the same
> name and add _ada2p2_ to it. zfs added _ada2p2_ to new pool without
> any warnings. Then you try to add _ada1p2_ to the new pool and zfs
> rejects to do that since it suspects that _ada1p2_ already belongs to
> other pool.
>
> The dump of labels from your message shows that:
>   * _adad1p2 is partially Ok (labels at the end of partition are missed)
>   * _ada2p2 is Ok, but belongs to new pool
>   * _ada3p2_ is Ok: all labels exists and belongs to old pool
>
> I am really puzzled what happened with each of your drives.
>




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?574BD273.5040401>