From owner-freebsd-questions@freebsd.org Fri Apr 28 16:34:34 2017 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 5FB36D541C8 for ; Fri, 28 Apr 2017 16:34:34 +0000 (UTC) (envelope-from trond@fagskolen.gjovik.no) Received: from smtp.fagskolen.gjovik.no (smtp.fagskolen.gjovik.no [IPv6:2001:700:1100:1:200:ff:fe00:b]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "smtp.fagskolen.gjovik.no", Issuer "Fagskolen i Gj??vik" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id C3F9A822 for ; Fri, 28 Apr 2017 16:34:33 +0000 (UTC) (envelope-from trond@fagskolen.gjovik.no) Received: from mail.fig.ol.no (localhost [127.0.0.1]) by mail.fig.ol.no (8.15.2/8.15.2) with ESMTPS id v3SGYTvq066872 (version=TLSv1.2 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO); Fri, 28 Apr 2017 18:34:29 +0200 (CEST) (envelope-from trond@fagskolen.gjovik.no) Received: from localhost (trond@localhost) by mail.fig.ol.no (8.15.2/8.15.2/Submit) with ESMTP id v3SGYSPN066869; Fri, 28 Apr 2017 18:34:28 +0200 (CEST) (envelope-from trond@fagskolen.gjovik.no) X-Authentication-Warning: mail.fig.ol.no: trond owned process doing -bs Date: Fri, 28 Apr 2017 18:34:28 +0200 (CEST) From: =?ISO-8859-1?Q?Trond_Endrest=F8l?= Sender: Trond.Endrestol@fagskolen.gjovik.no To: Ultima cc: FreeBSD Questions Subject: Re: A seperate ZFS question In-Reply-To: Message-ID: References: <20170428155105.563a2ee5192bb8a08f76ca9d@sohara.org> <20170428163227.f68fa81dd05822bf38789ae4@sohara.org> User-Agent: Alpine 2.20 (BSF 67 2015-01-07) Organization: Fagskolen Innlandet OpenPGP: url=http://fig.ol.no/~trond/trond.key MIME-Version: 1.0 X-Spam-Status: No, score=-2.2 required=5.0 tests=ALL_TRUSTED,AWL,BAYES_00 autolearn=ham autolearn_force=no version=3.4.1 X-Spam-Checker-Version: SpamAssassin 3.4.1 (2015-04-28) on mail.fig.ol.no Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8BIT X-Content-Filtered-By: Mailman/MimeDel 2.1.23 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 28 Apr 2017 16:34:34 -0000 On Fri, 28 Apr 2017 12:25-0400, Ultima wrote: > I doubt it, the command has been implemented for awhile now, but is only > for removing hot spares, cache, and log devices. And top-level devices. Just checked with stable/11, r317153. -- +-------------------------------+------------------------------------+ | Vennlig hilsen, | Best regards, | | Trond Endrestøl, | Trond Endrestøl, | | IT-ansvarlig, | System administrator, | | Fagskolen Innlandet, | Gjøvik Technical College, Norway, | | tlf. mob. 952 62 567, | Cellular...: +47 952 62 567, | | sentralbord 61 14 54 00. | Switchboard: +47 61 14 54 00. | +-------------------------------+------------------------------------+ From owner-freebsd-questions@freebsd.org Fri Apr 28 21:19:38 2017 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id DF523D55576 for ; Fri, 28 Apr 2017 21:19:38 +0000 (UTC) (envelope-from paul@ifdnrg.com) Received: from outbound.ifdnrg.com (outbound2.ifdnrg.com [193.200.98.38]) by mx1.freebsd.org (Postfix) with ESMTP id 89EA3182F for ; Fri, 28 Apr 2017 21:19:37 +0000 (UTC) (envelope-from paul@ifdnrg.com) Received: from [192.168.1.13] (38.156-30-62.static.virginmediabusiness.co.uk [62.30.156.38]) (authenticated bits=0) by outbound.ifdnrg.com (8.15.2/8.15.2) with ESMTPSA id v3SLJR3D033046 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128 verify=NO) for ; Fri, 28 Apr 2017 22:19:30 +0100 (BST) (envelope-from paul@ifdnrg.com) X-Authentication-Warning: outbound.ifdnrg.com: Host 38.156-30-62.static.virginmediabusiness.co.uk [62.30.156.38] claimed to be [192.168.1.13] Subject: Re: A seperate ZFS question To: freebsd-questions@freebsd.org References: <20170428155105.563a2ee5192bb8a08f76ca9d@sohara.org> From: Paul Macdonald Message-ID: <480833b2-d630-a703-ecd0-3281ed49a738@ifdnrg.com> Date: Fri, 28 Apr 2017 22:19:33 +0100 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:45.0) Gecko/20100101 Thunderbird/45.8.0 MIME-Version: 1.0 In-Reply-To: <20170428155105.563a2ee5192bb8a08f76ca9d@sohara.org> Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 28 Apr 2017 21:19:39 -0000 On 28/04/2017 15:51, Steve O'Hara-Smith wrote: > On Fri, 28 Apr 2017 15:52:59 +0200 (CEST) > Trond Endrestøl 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 reaches its capacity to fix this) thanks to all for the comments/guidance Paul.