From owner-freebsd-fs@FreeBSD.ORG Thu Sep 20 15:46:32 2012 Return-Path: Delivered-To: freebsd-fs@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 0E355106566B for ; Thu, 20 Sep 2012 15:46:32 +0000 (UTC) (envelope-from jusher71@yahoo.com) Received: from nm4-vm4.bullet.mail.ne1.yahoo.com (nm4-vm4.bullet.mail.ne1.yahoo.com [98.138.91.164]) by mx1.freebsd.org (Postfix) with SMTP id 950FA8FC08 for ; Thu, 20 Sep 2012 15:46:31 +0000 (UTC) Received: from [98.138.90.48] by nm4.bullet.mail.ne1.yahoo.com with NNFMP; 20 Sep 2012 15:46:25 -0000 Received: from [98.138.89.195] by tm1.bullet.mail.ne1.yahoo.com with NNFMP; 20 Sep 2012 15:46:25 -0000 Received: from [127.0.0.1] by omp1053.mail.ne1.yahoo.com with NNFMP; 20 Sep 2012 15:46:25 -0000 X-Yahoo-Newman-Property: ymail-3 X-Yahoo-Newman-Id: 119621.67281.bm@omp1053.mail.ne1.yahoo.com Received: (qmail 57976 invoked by uid 60001); 20 Sep 2012 15:46:25 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s1024; t=1348155984; bh=5kX3eAU4bvIPixEHIyg4smH6GjdnHIl184cuG1m+qa0=; h=X-YMail-OSG:Received:X-Mailer:Message-ID:Date:From:Subject:To:MIME-Version:Content-Type; b=uYEA5j5aGQAaU5s9ep8YUGXmzolowM6g4n9OAfU2Mxy8GxYJ4xeDGytIhkiKIwh7ihafxB2hD+WAeruwVJ/N3vE8liS6jfWT/BGFeHodFMmwu5ZPDPS2o81o07/br2wpoex/GyKgauSr49acbph5hgUpVjGWZftPzqAINTwGVDs= DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=X-YMail-OSG:Received:X-Mailer:Message-ID:Date:From:Subject:To:MIME-Version:Content-Type; b=2SisoEr0efAwa97x0ds0zzp8vtv4NXja2sLoS7ZYP5W14ReuzhFKSZBsva7HGVBm3tBR/WXj++UJPkXH8q6tCTfI/fiCfaRXTTED2Da36cD+OasENpKkj9xqySb0XLdC8tUZuoTksfKQ3X816ey3wA6njIazZ8+Wxx01+Tm74Qk=; X-YMail-OSG: 6APzz3UVM1mLWy2PESfRgMMeb7L9DhL7aDSUtjnc9_drP.7 F9gYQWIqQi3Qoqw.P678FRIdjUxg0.ckdOPGnwOvt_HJuPfCaYJ9.73Q_S40 taEjQVAcTSC.rQUdvipUvZJQoIlD5BRiogBcCgXAD7LeHp0rIYJSpEvCGa_E R.KhrM6HAe2c0Y2qsQKlcF13LBTrwK4AIGAWqYhm2tCao6pRC_GS4mHMo3h4 TyjFiaIemp6ib_VMvEVfvyFX1SICSGR1J0lEhMuJc0EW.bBzh219EMbgE2SL imeNLEwjBSX3Q2jjvWBUcoNk0BzFX1ujxL9F5uPjwqU9oM_UTWF_pf_AT8mx w0oOoWy29N8EMQvW.7.BMkgYdf8YZ6PPEkYv8oF_tM7l.b7TkWQc32haoGD7 xNwKFhY4XCEelMw-- Received: from [12.202.173.2] by web121204.mail.ne1.yahoo.com via HTTP; Thu, 20 Sep 2012 08:46:24 PDT X-Mailer: YahooMailClassic/15.0.8 YahooMailWebService/0.8.121.416 Message-ID: <1348155984.52722.YahooMailClassic@web121204.mail.ne1.yahoo.com> Date: Thu, 20 Sep 2012 08:46:24 -0700 (PDT) From: Jason Usher To: freebsd-fs@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Subject: ZFS stats output - used, compressed, deduped, etc. 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: Thu, 20 Sep 2012 15:46:32 -0000 Hi, I have a ZFS filesystem with compression turned on. Does the "used" property show me the actual data size, or the compressed data size ? If it shows me the compressed size, where can I see the actual data size ? I also wonder about checking status of dedupe - I created my pool without dedupe, and continue to NOT enable dedupe - from zpool history, we see: zpool create -f -O atime=off -O setuid=off -O exec=off -m /mnt/pool pool raidz3 da0 da1 da2 da3 da4 da5 da6 da7 da8 da9 da10 da11 Later, I enabled dedup for just a single filesystem on this pool: zfs set dedup=on pool/dataset and now, I see in 'zpool list' a value for dedupratio: pool dedupratio 1.65x - Why do I see a value here ? Isn't dedupe still OFF for the pool as a whole ? I do NOT want to enable dedupe for the entire pool. Also, why do I not see any dedupe stats for the individual filesystem ? I see compressratio, and I see dedup=on, but I don't see any dedupratio for the filesystem itself... Did turning on dedupe for a single filesystem turn it on for the entire pool ?