From owner-freebsd-hackers@FreeBSD.ORG Mon Jan 8 04:02:31 2007 Return-Path: X-Original-To: freebsd-hackers@freebsd.org Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 3E8F816A403 for ; Mon, 8 Jan 2007 04:02:31 +0000 (UTC) (envelope-from perryh@pluto.rain.com) Received: from agora.rdrop.com (agora.rdrop.com [199.26.172.34]) by mx1.freebsd.org (Postfix) with ESMTP id 08DD713C46B for ; Mon, 8 Jan 2007 04:02:30 +0000 (UTC) (envelope-from perryh@pluto.rain.com) Received: from agora.rdrop.com (66@localhost [127.0.0.1]) by agora.rdrop.com (8.13.1/8.12.7) with ESMTP id l0842MFh025602 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT); Sun, 7 Jan 2007 20:02:22 -0800 (PST) (envelope-from perryh@pluto.rain.com) Received: (from uucp@localhost) by agora.rdrop.com (8.13.1/8.12.9/Submit) with UUCP id l0842MqS025601; Sun, 7 Jan 2007 20:02:22 -0800 (PST) Received: from fbsd61 ([192.168.200.61]) by pluto.rain.com (4.1/SMI-4.1-pluto-M2060407) id AA12281; Sun, 7 Jan 07 19:59:53 PST Date: Sun, 07 Jan 2007 20:02:40 -0800 From: perryh@pluto.rain.com To: dgilbert@dclg.ca Message-Id: <45a1c260./gHVPL2TJkCotGTS%perryh@pluto.rain.com> References: <17825.44456.556954.545497@canoe.dclg.ca> In-Reply-To: <17825.44456.556954.545497@canoe.dclg.ca> User-Agent: nail 11.25 7/29/05 Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Cc: freebsd-hackers@freebsd.org Subject: Re: dump reads more than restore writes? X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 08 Jan 2007 04:02:31 -0000 > Is dump reading substantially more than restore is writing? Quite possibly, esp. if the source disk is nowhere near full and/or most of the files being handled are small. dump reads every inode on the disk, including those which are unallocated, and probably reads entire data blocks -- or even entire FS blocks -- even when only part of the block contains useful data. Restore writes only what it has to.