From owner-freebsd-current@FreeBSD.ORG Tue May 19 10:36:10 2009 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id DA055106566B for ; Tue, 19 May 2009 10:36:10 +0000 (UTC) (envelope-from mail25@bzerk.org) Received: from ei.bzerk.org (tunnel490.ipv6.xs4all.nl [IPv6:2001:888:10:1ea::2]) by mx1.freebsd.org (Postfix) with ESMTP id 61B5C8FC1A for ; Tue, 19 May 2009 10:36:10 +0000 (UTC) (envelope-from mail25@bzerk.org) Received: from ei.bzerk.org (BOFH@localhost [127.0.0.1]) by ei.bzerk.org (8.14.2/8.14.2) with ESMTP id n4JAa0SP016010; Tue, 19 May 2009 12:36:00 +0200 (CEST) (envelope-from mail25@bzerk.org) Received: (from bulk@localhost) by ei.bzerk.org (8.14.2/8.14.2/Submit) id n4JAa0wu016009; Tue, 19 May 2009 12:36:00 +0200 (CEST) (envelope-from mail25@bzerk.org) Date: Tue, 19 May 2009 12:35:59 +0200 From: Ruben de Groot To: Paul Wootton Message-ID: <20090519103559.GA15608@ei.bzerk.org> Mail-Followup-To: Ruben de Groot , Paul Wootton , Max Laier , freebsd-current@freebsd.org References: <4A1123C5.3070507@fletchermoorland.co.uk> <4A122C23.40603@freebsd.org> <200905190637.03323.max@love2party.net> <4A128822.9030709@fletchermoorland.co.uk> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <4A128822.9030709@fletchermoorland.co.uk> User-Agent: Mutt/1.4.2.3i X-Spam-Status: No, score=-4.4 required=5.0 tests=ALL_TRUSTED,AWL,BAYES_00 autolearn=ham version=3.2.5 X-Spam-Checker-Version: SpamAssassin 3.2.5 (2008-06-10) on ei.bzerk.org X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.0.1 (ei.bzerk.org [127.0.0.1]); Tue, 19 May 2009 12:36:03 +0200 (CEST) Cc: Max Laier , freebsd-current@freebsd.org Subject: Re: discrepancies in used space after cpio X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 19 May 2009 10:36:14 -0000 On Tue, May 19, 2009 at 11:21:22AM +0100, Paul Wootton typed: > > > Yes /DemoPool is a raidz pool that is going to replace my single disk > pool. Dmitry was right about sparse files > demophon# pwd > /var/tmp/kdecache-paul/kpc > demophon# du -hA . > 1.2G . > demophon# du -h . > 8.9M . > > Is there a there a better way instead of using cpio for moving an entire > filing system from a single disk zfs pool to a raidz zfs pool? > Or does making a sparse file in to a none sparse file just consume more > disk space and no other side affects zfs send/recv ? Ruben