From owner-freebsd-fs@freebsd.org Tue Jul 14 12:56:45 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 2BADC99994D for ; Tue, 14 Jul 2015 12:56:45 +0000 (UTC) (envelope-from kraduk@gmail.com) Received: from mail-wg0-x229.google.com (mail-wg0-x229.google.com [IPv6:2a00:1450:400c:c00::229]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id BA4F5229 for ; Tue, 14 Jul 2015 12:56:44 +0000 (UTC) (envelope-from kraduk@gmail.com) Received: by wgxm20 with SMTP id m20so8090169wgx.3 for ; Tue, 14 Jul 2015 05:56:43 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=bk+0OwK+FAoD/Q81SBbHct3+5EFRTUIr022LW9cefik=; b=L1D7VdqycqmNgYz+PIY1dxwvrHXymfGNVjof23nVujTNKz4S/ZVsWXzf0ocXfWPrmK xYmZL0urDFOEnJdMC3FmeZF54frn4tDg/95A7Sg6BckvLA8CmVc0KkScROupKy7KFVKn KbvAiBC/bXx9uet5zvnlCChB8tzRcAF7GvYTnuHWs/E5i6OVGXBilUP2lc9eYvcX52mu hCJEDLAAL0djRVCQJCG7G0booqIpkDobYl6a9ALnnZz10nQO/mS1ZjbqTdq4vVd5JtYY rImAI2kCku9YlyFX/90xYHwYKKXT9doO5mBTVYHdffI93h3MN71tkkKdvOl5PN1xXDtQ 5HUg== MIME-Version: 1.0 X-Received: by 10.180.97.7 with SMTP id dw7mr33630385wib.74.1436878602942; Tue, 14 Jul 2015 05:56:42 -0700 (PDT) Received: by 10.180.73.5 with HTTP; Tue, 14 Jul 2015 05:56:42 -0700 (PDT) In-Reply-To: <20150714100023.GC96394@over-yonder.net> References: <55A4DB1D.7000404@netlabs.org> <20150714100023.GC96394@over-yonder.net> Date: Tue, 14 Jul 2015 13:56:42 +0100 Message-ID: Subject: Re: ZFS volume does not seem to free space for deleted files From: krad To: "Matthew D. Fuller" Cc: accounts-ag , FreeBSD FS Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.20 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: Tue, 14 Jul 2015 12:56:45 -0000 also if compression was enabled and it was mainly mails you deleted dont expect ot get the space savings you think you might get as the compression ratios would be good. Lets not even start on dedup... On 14 July 2015 at 11:00, Matthew D. Fuller wrote: > On Tue, Jul 14, 2015 at 11:49:17AM +0200 I heard the voice of > accounts-ag, and lo! it spake thus: > > > > So according to my calculation it is using less than 20GB of space > > for snapshots. Which does not make much sense to me as I clearly do > > expect the deleted files to show up somewhere (I did it on > > 2015-07-13). So how can the big difference to USED be explained > > which reports 116G in total? > > I'm pretty sure you can't just add up those USED's and get a number > suggesting how much space deleting them all will free up. AIUI, the > USED number for a snapshot means how much that one alone is using; > e.g., how much space would be freed by deleting just that one. So any > blocks referenced by 2 or more wouldn't show up in those numbers. A > bunch of files that have been sitting around a long time would be a > good candidate for existing in most (/all) of them, so you won't see > them in per-snapshot USED until you delete all but 1. > > > -- > Matthew Fuller (MF4839) | fullermd@over-yonder.net > Systems/Network Administrator | http://www.over-yonder.net/~fullermd/ > On the Internet, nobody can hear you scream. > _______________________________________________ > freebsd-fs@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-fs > To unsubscribe, send any mail to "freebsd-fs-unsubscribe@freebsd.org" >