From owner-freebsd-fs@freebsd.org Fri Nov 27 15:31:11 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 3223EA3AEF3 for ; Fri, 27 Nov 2015 15:31:11 +0000 (UTC) (envelope-from k@free.de) Received: from smtp.free.de (smtp.free.de [91.204.6.103]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 79A381D72 for ; Fri, 27 Nov 2015 15:31:09 +0000 (UTC) (envelope-from k@free.de) Received: (qmail 92666 invoked from network); 27 Nov 2015 16:24:25 +0100 Received: from smtp.free.de (HELO [91.204.7.14]) (k@free.de@[91.204.4.103]) (envelope-sender ) by smtp.free.de (qmail-ldap-1.03) with AES128-SHA encrypted SMTP for ; 27 Nov 2015 16:24:25 +0100 To: freebsd-fs@freebsd.org From: Kai Gallasch Subject: High fragmentation on zpool log X-Enigmail-Draft-Status: N1210 Organization: FREE! Message-ID: <565875A7.6060004@free.de> Date: Fri, 27 Nov 2015 16:24:23 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.3.0 MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="R6g0d5tPOrX8t4sWAxN2vJF140WrSWUD0" 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:31:11 -0000 This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --R6g0d5tPOrX8t4sWAxN2vJF140WrSWUD0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable 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 =3D> 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% --=20 PGP-KeyID =3D 0x70654D7C4FB1F588 --R6g0d5tPOrX8t4sWAxN2vJF140WrSWUD0 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.22 (GNU/Linux) iQIcBAEBCgAGBQJWWHWoAAoJEHBlTXxPsfWIgmEP/j8sWZo3sCXwjdBU7wYbIW+C /weohJEMt779o9ZbPTgWqLbFlVlxSdghzNcsvo8eFZzLH1KeXPRaYPMUvBWpAHSV Ei454xQfMwAVqvVwWHw3peUVB6oR5QrBXHiGnogCgjTF+Vrt5V4XhJCmKNqdc1Kq wrk5HsyFDpHYYAN8Zbl01PkgYiSJ5W4dD1hdKIMmt0NhiT8nJWVOopbxhK/SKmaR NHxWIbab1ZukGxuoLURZ+dk8ojjmKiEJQl7/sjjWk16jVtGts8qYXEgEt2l6ftvm o22LTSBFztx3E49lcxutNfa+pdnqJ6Jzm7O5n08GGcZ4derB/jBUdmP970yI+4Gh T80TooepbS+eUmHlCrBL96sTbYji2KaCE7gVrYXBV9v6s8qxldY9r2rKos2VkaWu UzleRWSgD9k8t2/lh762RGc74iSKbLjOD25ifmPQwbgM68q+RIMPVeZ01OAJVUS6 1K98s2yDxb7vNMT0+mn6T8YkKc+lincOYTBgM+Qq5t/UfnLaYFXEPWIbOnQwKkcZ 0TQjYtlofZsRjG/HAosBv/wLHHgfzUD9Um6QpgGOakHIp2ql+6dssLWZD8/ZWT9T Vdij5elYA1RgtqrNry+2lbT8E3KQoLGz1ChfbmFE13GChgCKXoc8hvYPdOTzgCTf XtAhTItvVhlMF2sS5slb =NbAD -----END PGP SIGNATURE----- --R6g0d5tPOrX8t4sWAxN2vJF140WrSWUD0--