Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 28 Apr 2017 17:53:20 -0400
From:      Ultima <ultima1252@gmail.com>
To:        Paul Macdonald <paul@ifdnrg.com>
Cc:        FreeBSD Mailing List <freebsd-questions@freebsd.org>
Subject:   Re: A seperate ZFS question
Message-ID:  <CANJ8om5HUH68JQyVDS4d8bEHvAHQ12SFrisScLFG4m3UUp-wcQ@mail.gmail.com>
In-Reply-To: <480833b2-d630-a703-ecd0-3281ed49a738@ifdnrg.com>
References:  <adb1b78d-2e03-d561-dac2-7c5da9a53a1c@ifdnrg.com> <alpine.BSF.2.20.1704281532300.10691@mail.fig.ol.no> <20170428155105.563a2ee5192bb8a08f76ca9d@sohara.org> <480833b2-d630-a703-ecd0-3281ed49a738@ifdnrg.com>

Next in thread | Previous in thread | Raw E-Mail | Index | Archive | Help
You have a fairly small pool, I highest suggest fixing the issue instead of
ignoring it. This kind of issue makes bad days worse when ignored. =3D[

If no spare drives are available, it maybe best to detach one of the mirror
devices, create a new pool with the single drive, move the data to it,
there have replies with good zfs send | zfs receive suggestions. After that
is complete, destroy the old pool and attach/add (with -n first) destroyed
pool's drives to your needs.

You are still in a minimal damage/recovery opportunity, and I would most
definitely suggest use it as a learning experience instead of putting it
off.


Whatever you decide, I wish you the best

Ultima

On Fri, Apr 28, 2017 at 5:19 PM, Paul Macdonald <paul@ifdnrg.com> wrote:

>
>
> On 28/04/2017 15:51, Steve O'Hara-Smith wrote:
>
>> On Fri, 28 Apr 2017 15:52:59 +0200 (CEST)
>> Trond Endrest=C3=B8l <Trond.Endrestol@fagskolen.gjovik.no> wrote:
>>
>> On Fri, 28 Apr 2017 14:14+0100, Paul Macdonald wrote:
>>>
>>> I fat fingered adding a cache drive and was unable to remove the SSD
>>>> cache drive (ada2)
>>>>
>>> First, you have gpt/zfs0 and ada1p3 in a mirrored configuration. Next,
>>> you have ada2 striped (RAID 0) to the first pair of mirrors. This is a
>>> very weird "RAID 1 + 0" combo. Guess what will happen when you lose
>>> ada2!
>>>
>>> Maybe you should describe what you wanted to happen in the first
>>> place.
>>>
>>         He did, ada2 is supposed to be a cache drive, now it's a stripe.
>>
>> I suggest you make good backups of this pool, destroy it, recreate it
>>> properly, and restore the missing data.
>>>
>>         Agreed, you can't undo adding a stripe.
>>
>>
> all this so far i knew,
>
> It's an entirely unwanted config, and i'll likely just migrate either the
> data or the jails to another box, but  i'd hoped to understand what the
> config  meant under ZFS:
>
> As i understand from comments,  i have effectively created a mis-sized
> RAID0 (stripe) between a SATA mirror set and a single SSD,
>
> i'm now very glad i didn't just unplug the SSD drive and instead added a
> 2nd SSD  for the actual cache
>
> So i guess i have until the SSD fails (or presumably until the SSD reache=
s
> its capacity to fix this)
>
> thanks to all for the comments/guidance
>
> Paul.
>
>
> _______________________________________________
> freebsd-questions@freebsd.org mailing list
> https://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "freebsd-questions-unsubscribe
> @freebsd.org"



Want to link to this message? Use this URL: <http://docs.FreeBSD.org/cgi/mid.cgi?CANJ8om5HUH68JQyVDS4d8bEHvAHQ12SFrisScLFG4m3UUp-wcQ>