From owner-freebsd-fs@freebsd.org Fri Nov 27 15:58:40 2015 Return-Path: Delivered-To: freebsd-fs@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 643D5A39813 for ; Fri, 27 Nov 2015 15:58:40 +0000 (UTC) (envelope-from jg@internetx.com) Received: from mx1.internetx.com (mx1.internetx.com [62.116.129.39]) by mx1.freebsd.org (Postfix) with ESMTP id 2814D1D23 for ; Fri, 27 Nov 2015 15:58:39 +0000 (UTC) (envelope-from jg@internetx.com) Received: from localhost (localhost [127.0.0.1]) by mx1.internetx.com (Postfix) with ESMTP id B021E1472002; Fri, 27 Nov 2015 16:49:24 +0100 (CET) X-Virus-Scanned: InterNetX GmbH amavisd-new at ix-mailer.internetx.de Received: from mx1.internetx.com ([62.116.129.39]) by localhost (ix-mailer.internetx.de [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id p8KG+UVccNCS; Fri, 27 Nov 2015 16:49:22 +0100 (CET) Received: from [192.168.100.26] (pizza.internetx.de [62.116.129.3]) (using TLSv1 with cipher DHE-RSA-AES128-SHA (128/128 bits)) (No client certificate requested) by mx1.internetx.com (Postfix) with ESMTPSA id 71DA34C4C59E; Fri, 27 Nov 2015 16:49:22 +0100 (CET) Subject: Re: High fragmentation on zpool log References: <565875A7.6060004@free.de> To: Kai Gallasch , freebsd-fs@freebsd.org Reply-To: jg@internetx.com From: InterNetX - Juergen Gotteswinter Message-ID: <56587B83.9020506@internetx.com> Date: Fri, 27 Nov 2015 16:49:23 +0100 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:38.0) Gecko/20100101 Thunderbird/38.3.0 MIME-Version: 1.0 In-Reply-To: <565875A7.6060004@free.de> Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-fs@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: Filesystems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 27 Nov 2015 15:58:40 -0000 Your SSDS are not really attached as Zil ? Am 27.11.2015 um 16:24 schrieb Kai Gallasch: > > Hi. > > Today I had a look at the zpool of a server (FreeBSD 10.2, GENERIC > kernel, 100d uptime, 96GB RAM) I recently installed. > > The pool has eight SAS drives in a raid 10 setup (concatenated mirror > pairs) and uses a cache and a mirrored log. > > The log and cache both are on a pair of Intel SSDs. > > # gpart show -l da9 > => 34 195371501 da9 GPT (93G) > 34 6 - free - (3.0K) > 40 16777216 1 log-BTTV5234003K100FGN (8.0G) > 16777256 178594272 2 cache-BTTV5234003K100FGN (85G) > 195371528 7 - free - (3.5K) > > > Is 85% fragmentation of the log device something to worry about? > > Why does zpool list show so unrealistic values for FREE and CAP? > Is this normal? > > Atached: Some output of zpool list. > > Regards, > Kai. > > > (zpool list -v output, ommited columns: EXPANDSZ.,DEDUP, > HEALTH, ALTROOT) > > NAME SIZE ALLOC FREE FRAG CAP > rpool 7.25T 440G 6.82T 4% 5% > mirror 1.81T 110G 1.71T 4% 5% > gpt/rpool-WMC160D0SVZE - - - - - > gpt/rpool-WMC160D8MJPD - - - - - > mirror 1.81T 110G 1.70T 4% 5% > gpt/rpool-WMC160D9DLL2 - - - - - > gpt/rpool-WMC160D23CWA - - - - - > mirror 1.81T 110G 1.71T 4% 5% > gpt/rpool-WMC160D94930 - - - - - > gpt/rpool-WMC160D9V5LW - - - - - > mirror 1.81T 110G 1.71T 4% 5% > gpt/rpool-WMC160D9ZV0S - - - - - > gpt/rpool-WMC160D5HFT6 - - - - - > mirror 7.94G 43.2M 7.90G 85% 0% > gpt/log-BTTV523401U4100FGN - - - - - > gpt/log-BTTV5234003K100FGN - - - - - > cache - - - - - > gpt/cache-BTTV5234003K100FGN 85.2G 142G 16.0E 0% 166% > gpt/cache-BTTV523401U4100FGN 85.2G 172G 16.0E 0% 202% > > >