From owner-freebsd-fs@FreeBSD.ORG  Fri Mar 30 14:49:22 2012
Return-Path: <owner-freebsd-fs@FreeBSD.ORG>
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 D0E36106566C
	for <freebsd-fs@freebsd.org>; Fri, 30 Mar 2012 14:49:22 +0000 (UTC)
	(envelope-from c.kworr@gmail.com)
Received: from mail-bk0-f54.google.com (mail-bk0-f54.google.com
	[209.85.214.54])
	by mx1.freebsd.org (Postfix) with ESMTP id 5C6288FC18
	for <freebsd-fs@freebsd.org>; Fri, 30 Mar 2012 14:49:22 +0000 (UTC)
Received: by bkcjc3 with SMTP id jc3so770988bkc.13
	for <freebsd-fs@freebsd.org>; Fri, 30 Mar 2012 07:49:21 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113;
	h=message-id:date:from:user-agent:mime-version:to:subject
	:content-type:content-transfer-encoding;
	bh=2nWUtw+3/y9+9bpBzBdmnFiburdbVZ62BBWCUKkRbLQ=;
	b=lZP4FZcNewMtWmjkcKlu+CiC0b4j0Cn8pBtdhxlOmNp7JRggn/0LMl3yDBZO6IEBHb
	KV4Lg6+7CauNTKC/YVYnsHhUXY2clMWTwQwLA/xYyvtQN6xZgWIQQWYNpEfBTHhIA4Ec
	A5Y/kiRv6oHzOvBGrw8i1XNXfNkXDFlUt/41FE7DsV7HPooaYQugftq7BGySNxiloj+1
	E6f0SeJXYWuiRDN+ezauIFuBY/QRL4KAMLh94UVskvHsSLD8OEElKI+Nv5euoA3RbvnB
	3I1sBqfuRKntm/GJIUNdTL5Bq/Pfbw7IQn6xPyE9AoRWG/ngMXzSnt314/q8+A+7WtKE
	0rwg==
Received: by 10.204.145.81 with SMTP id c17mr1147917bkv.39.1333118961413;
	Fri, 30 Mar 2012 07:49:21 -0700 (PDT)
Received: from green.tandem.local (255-125-132-95.pool.ukrtel.net.
	[95.132.125.255])
	by mx.google.com with ESMTPS id r14sm21164083bkv.11.2012.03.30.07.49.19
	(version=SSLv3 cipher=OTHER); Fri, 30 Mar 2012 07:49:20 -0700 (PDT)
Message-ID: <4F75C7EC.30606@gmail.com>
Date: Fri, 30 Mar 2012 17:49:16 +0300
From: Volodymyr Kostyrko <c.kworr@gmail.com>
User-Agent: Mozilla/5.0 (X11; FreeBSD amd64;
	rv:11.0) Gecko/20120315 Firefox/11.0 SeaMonkey/2.8
MIME-Version: 1.0
To: freebsd-fs@freebsd.org
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Subject: ZFS v28 and free space leakage
X-BeenThere: freebsd-fs@freebsd.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Filesystems <freebsd-fs.freebsd.org>
List-Unsubscribe: <http://lists.freebsd.org/mailman/listinfo/freebsd-fs>,
	<mailto:freebsd-fs-request@freebsd.org?subject=unsubscribe>
List-Archive: <http://lists.freebsd.org/pipermail/freebsd-fs>
List-Post: <mailto:freebsd-fs@freebsd.org>
List-Help: <mailto:freebsd-fs-request@freebsd.org?subject=help>
List-Subscribe: <http://lists.freebsd.org/mailman/listinfo/freebsd-fs>,
	<mailto:freebsd-fs-request@freebsd.org?subject=subscribe>
X-List-Received-Date: Fri, 30 Mar 2012 14:49:22 -0000

Hi all.

Maybe I'm missing something, but when I delete all data from the disk 
how much space should empty disk occupy?

kohrah1   136G  22,6M   136G     0%  1.00x  ONLINE  -

I.e. I have 22 hidden megs. Scrub doesn't touch them. There were no 
snapshots. Disk was deduped in the past. Server hit core dump several 
times when running bonnie++ over deduped ZFS.

If I create a snapshot and dump it down it would be 50 Kb file.

-- 
Sphinx of black quartz judge my vow.