From owner-freebsd-geom@FreeBSD.ORG Thu Jan 9 10:06:56 2014 Return-Path: Delivered-To: freebsd-geom@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id DEA996B8 for ; Thu, 9 Jan 2014 10:06:56 +0000 (UTC) Received: from elsa.codelab.cz (elsa.codelab.cz [94.124.105.4]) (using TLSv1 with cipher ADH-CAMELLIA256-SHA (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 93360125E for ; Thu, 9 Jan 2014 10:06:56 +0000 (UTC) Received: from elsa.codelab.cz (localhost [127.0.0.1]) by elsa.codelab.cz (Postfix) with ESMTP id 2C0E328422; Thu, 9 Jan 2014 11:06:54 +0100 (CET) Received: from [192.168.1.2] (ip-89-177-49-222.net.upcbroadband.cz [89.177.49.222]) (using TLSv1 with cipher DHE-RSA-CAMELLIA256-SHA (256/256 bits)) (No client certificate requested) by elsa.codelab.cz (Postfix) with ESMTPSA id 2776A28427; Thu, 9 Jan 2014 11:06:53 +0100 (CET) Message-ID: <52CE74BC.9000606@quip.cz> Date: Thu, 09 Jan 2014 11:06:52 +0100 From: Miroslav Lachman <000.fbsd@quip.cz> User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.9.1.19) Gecko/20110420 Lightning/1.0b1 SeaMonkey/2.0.14 MIME-Version: 1.0 To: Jia-Shiun Li Subject: Re: Is TRIM working with gmirror? References: <52A90049.7050001@quip.cz> <18C59233568D3A475FF0D843@study64.tdx.co.uk> <52CB2915.7060602@quip.cz> <7FBCC53840FA45928B9F527EA235B632@multiplay.co.uk> <52CB4C9E.3020904@quip.cz> <41F7CA403B574953B72B6CF4D1DDE71D@multiplay.co.uk> <52CBEE9E.2090800@quip.cz> <353E7C512D234EDE84863C872D7856DE@multiplay.co.uk> <52CD67F7.2060608@quip.cz> <9EFFBE4E8F3D4B9EA73C028247D15BD6@multiplay.co.uk> <52CDCB7A.20608@quip.cz> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: Steven Hartland , Karl Pielorz , freebsd-geom@freebsd.org X-BeenThere: freebsd-geom@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: GEOM-specific discussions and implementations List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 09 Jan 2014 10:06:56 -0000 Jia-Shiun Li wrote: > On Thu, Jan 9, 2014 at 6:04 AM, Miroslav Lachman<000.fbsd@quip.cz> wrote: >> Steven Hartland wrote: >> It is production server, so I can't play with it and try 10.x, but we are >> running some other servers on 9.2, so if 9.2 gmirror has support for TRIM, I >> can upgrade this server to 9.2. > > According to release notes, gmirror TRIM is supported since 9.1R. > > I did a little test on 9.2R livecd environment with commands you > stated in previous mail. Both amd64& i386 work. 2 md devices were > used as backend device, but it should not differ since gmirror reports > 'candelete' attribute regardless of backend capability. > > The above seem to conflict with your result on 9.2 test machines. > Could you confirm that? Maybe there's something missing. The machine with SSD disks and TRIM on gmirror is running FreeBSD 8.4, not 9.2. It is strange anyway, because 8.4R is 6 month newer than 9.1R and has many improvements over 9.1R (for example ZFS feature flags). So if 9.1R has support for TRIM in gmirror, it can be expected in 8.4 too. Thank you for detailed explanation. I will try upgrade to 9.2 soon. Miroslav Lachman