From owner-freebsd-stable@FreeBSD.ORG Wed Jun 5 22:57:07 2013 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id 54E84E7 for ; Wed, 5 Jun 2013 22:57:07 +0000 (UTC) (envelope-from marck@rinet.ru) Received: from woozle.rinet.ru (woozle.rinet.ru [195.54.192.68]) by mx1.freebsd.org (Postfix) with ESMTP id BF68118AF for ; Wed, 5 Jun 2013 22:57:06 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by woozle.rinet.ru (8.14.5/8.14.5) with ESMTP id r55Mv5fe038845; Thu, 6 Jun 2013 02:57:05 +0400 (MSK) (envelope-from marck@rinet.ru) Date: Thu, 6 Jun 2013 02:57:05 +0400 (MSK) From: Dmitry Morozovsky To: Steven Hartland Subject: Re: TRIM support through ciss In-Reply-To: <22BEEC35F8964CACB8E625DA3068A12F@multiplay.co.uk> Message-ID: References: <22BEEC35F8964CACB8E625DA3068A12F@multiplay.co.uk> User-Agent: Alpine 2.00 (BSF 1167 2008-08-23) X-NCC-RegID: ru.rinet X-OpenPGP-Key-ID: 6B691B03 MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.4.3 (woozle.rinet.ru [0.0.0.0]); Thu, 06 Jun 2013 02:57:05 +0400 (MSK) Cc: freebsd-stable@freebsd.org X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 05 Jun 2013 22:57:07 -0000 On Wed, 5 Jun 2013, Steven Hartland wrote: > For ZFS you really don't want to use a HW RAID, its much better > to just give ZFS the raw disks as you gain nice features like > self healing :) I know this well, and use it for a dozen servers with regular SATA ("enterprrize-grade" though, like WD RE4s) extensively; however, ciss does not provide an easy way to expose disks -- only via RAID0 per disk > I've never used ciss, but if you can configure the disks as > JBOD it may mean it can then support a delete method. > > In addition for TRIM to work all data disks in a pool need to > support a delete method. L2ARC disks are treated seperately. well, to be a bit more precise: SSDs are split to have mirrored ZIL and splitted L2ARC, and SASes are mirrored in pairs: root@briareus:/usr/src# zpool status pool: br state: ONLINE scan: scrub repaired 0 in 0h0m with 0 errors on Fri Apr 26 15:29:32 2013 config: NAME STATE READ WRITE CKSUM br ONLINE 0 0 0 mirror-0 ONLINE 0 0 0 gpt/br0 ONLINE 0 0 0 gpt/br4 ONLINE 0 0 0 mirror-1 ONLINE 0 0 0 gpt/br1 ONLINE 0 0 0 gpt/br5 ONLINE 0 0 0 mirror-2 ONLINE 0 0 0 gpt/br6 ONLINE 0 0 0 gpt/br2 ONLINE 0 0 0 mirror-3 ONLINE 0 0 0 gpt/br3 ONLINE 0 0 0 gpt/br7 ONLINE 0 0 0 logs mirror-4 ONLINE 0 0 0 gpt/br-zil0 ONLINE 0 0 0 gpt/br-zil1 ONLINE 0 0 0 cache gpt/br-cache0 ONLINE 0 0 0 gpt/br-cache1 ONLINE 0 0 0 errors: No known data errors All I need is TRIM support for ZIL and L2ARC... -- Sincerely, D.Marck [DM5020, MCK-RIPE, DM3-RIPN] [ FreeBSD committer: marck@FreeBSD.org ] ------------------------------------------------------------------------ *** Dmitry Morozovsky --- D.Marck --- Wild Woozle --- marck@rinet.ru *** ------------------------------------------------------------------------