From owner-freebsd-fs@FreeBSD.ORG Mon Aug 27 22:08:39 2012 Return-Path: Delivered-To: freebsd-fs@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 25B551065670; Mon, 27 Aug 2012 22:08:39 +0000 (UTC) (envelope-from gjb@FreeBSD.org) Received: from onyx.glenbarber.us (onyx.glenbarber.us [IPv6:2607:fc50:1000:c200::face]) by mx1.freebsd.org (Postfix) with ESMTP id E7BC48FC16; Mon, 27 Aug 2012 22:08:38 +0000 (UTC) Received: from glenbarber.us (unknown [IPv6:2001:470:8:1205:2:2:0:100]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) (Authenticated sender: gjb) by onyx.glenbarber.us (Postfix) with ESMTPSA id 6CF2B23F645; Mon, 27 Aug 2012 18:08:37 -0400 (EDT) Date: Mon, 27 Aug 2012 18:08:33 -0400 From: Glen Barber To: antonin tessier Message-ID: <20120827220833.GK1435@glenbarber.us> References: MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="sLx0z+5FKKtIVDwd" Content-Disposition: inline In-Reply-To: X-Operating-System: FreeBSD 10.0-CURRENT amd64 User-Agent: Mutt/1.5.21 (2010-09-15) Cc: freebsd-fs@freebsd.org Subject: Re: ZFS compression doesn't work X-BeenThere: freebsd-fs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Filesystems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 27 Aug 2012 22:08:39 -0000 --sLx0z+5FKKtIVDwd Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Mon, Aug 27, 2012 at 11:51:06PM +0200, antonin tessier wrote: >=20 > Hello, >=20 >=20 > I am trying to understand and use ZFS features. My issue is that > compression doesn't work, indeed I have a pool and a filesystem > named "home" and "home/compressed". > #zfs list >=20 > NAME USED AVAIL REFER MOUNTPOINT > home 7.33G 180G 32K home > home/compressed 7.33G 180G 7.33G /home/compressed >=20 > despite I did: > # zfs set compression=3Dgzip home/compressed >=20 > I don't understand where it is wrong. >=20 Did you set this at time the pool was created? If you set this after the pool already contained data, existing data is not compressed. Glen --sLx0z+5FKKtIVDwd Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.19 (FreeBSD) iQEcBAEBCAAGBQJQO+/hAAoJEFJPDDeguUaj6KgH/0Aw+XpRedu/p2qpikhwjAOQ 8FSFlpRO6ZSRRHRUZXkZl8sp6L0xoyzEWsf4jIh8U5ChhgRIBJRMtl4zjTr2xJsY k2zYBmQBtBg78RK/5guhgABni7CwAaCg4Oi0h/MZbZ/5wTLR89uJK1jgr8Vl5vjB RIhj0e+J1uHmLBKljp/06Fu2topphoNMpiUuQxe4TawxzZlZNwtWtFL4hOCwa14V mZe6YPG+8uf8gDKf1nIh7/z60J+KoBJclJ/SFJXG0Pejw9rlipa/GPT0cpqeGYTi LmRy26cgIGXq66uYiSUxMFJq2B/FDj4g4gpBwgN+ntZWNAQJoZNVuqdYw3TaPpE= =J2E9 -----END PGP SIGNATURE----- --sLx0z+5FKKtIVDwd--