From owner-freebsd-fs@FreeBSD.ORG Fri Jan 18 14:57:43 2013 Return-Path: Delivered-To: freebsd-fs@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 195AFA6B for ; Fri, 18 Jan 2013 14:57:43 +0000 (UTC) (envelope-from ronald-freebsd8@klop.yi.org) Received: from smarthost1.greenhost.nl (smarthost1.greenhost.nl [195.190.28.78]) by mx1.freebsd.org (Postfix) with ESMTP id C9FB2DF0 for ; Fri, 18 Jan 2013 14:57:42 +0000 (UTC) Received: from smtp.greenhost.nl ([213.108.104.138]) by smarthost1.greenhost.nl with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.69) (envelope-from ) id 1TwDNy-0004Lu-Tr for freebsd-fs@freebsd.org; Fri, 18 Jan 2013 15:57:40 +0100 Received: from [81.21.138.17] (helo=ronaldradial.versatec.local) by smtp.greenhost.nl with esmtpsa (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.72) (envelope-from ) id 1TwDNz-00017M-1v for freebsd-fs@freebsd.org; Fri, 18 Jan 2013 15:57:39 +0100 Content-Type: text/plain; charset=us-ascii; format=flowed; delsp=yes To: freebsd-fs@freebsd.org Subject: Re: Enable UNMAP in ZFS References: Date: Fri, 18 Jan 2013 15:57:37 +0100 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit From: "Ronald Klop" Message-ID: In-Reply-To: User-Agent: Opera Mail/12.12 (Win32) X-Virus-Scanned: by clamav at smarthost1.samage.net X-Spam-Level: / X-Spam-Score: -0.0 X-Spam-Status: No, score=-0.0 required=5.0 tests=BAYES_40 autolearn=disabled version=3.3.1 X-Scan-Signature: c74461a82029b6293650421ecb57b64a X-BeenThere: freebsd-fs@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Filesystems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 18 Jan 2013 14:57:43 -0000 On Fri, 18 Jan 2013 15:23:03 +0100, Tom Evans wrote: > On Fri, Jan 18, 2013 at 1:07 PM, Dani wrote: >> Hi all, >> >> I have installed FreeBSD 9.1 and have created a ZFS pool with SAS disks. >> How can I enable UNMAP on SSDs devices used as cache and log devices? >> >> Thanks you. Regards. > > UNMAP, I don't know. FreeBSD ZFS has support for TRIM in 10-CURRENT. > > Oracle support UNMAP in Solaris 11.1, but judging from this, it's not > that useful: > > http://docs.oracle.com/cd/E26502_01/html/E28978/gmibl.html > > Cheers > > Tom Isn't UNMAP the SCSI name for TRIM? Ronald.