From owner-freebsd-questions@FreeBSD.ORG Mon Aug 29 16:48:48 2005 Return-Path: X-Original-To: questions@freebsd.org Delivered-To: freebsd-questions@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 0640F16A41F for ; Mon, 29 Aug 2005 16:48:48 +0000 (GMT) (envelope-from nalists@scls.lib.wi.us) Received: from mail.scls.lib.wi.us (mail.scls.lib.wi.us [198.150.40.25]) by mx1.FreeBSD.org (Postfix) with ESMTP id A028643D45 for ; Mon, 29 Aug 2005 16:48:47 +0000 (GMT) (envelope-from nalists@scls.lib.wi.us) Received: from [172.26.2.238] ([172.26.2.238]) by mail.scls.lib.wi.us (8.12.9p2/8.12.9) with ESMTP id j7TGmkG1060443; Mon, 29 Aug 2005 11:48:46 -0500 (CDT) (envelope-from nalists@scls.lib.wi.us) Message-ID: <43133BA5.2010608@scls.lib.wi.us> Date: Mon, 29 Aug 2005 11:45:25 -0500 From: Greg Barniskis User-Agent: Mozilla Thunderbird 1.0.6 (Windows/20050716) X-Accept-Language: en-us, en MIME-Version: 1.0 To: questions@freebsd.org References: <20050828234043.H22315@maren.thelosingend.net> <20050829161506.E2522@maren.thelosingend.net> <43131C85.1070100@meijome.net> <20050829170053.M3014@maren.thelosingend.net> In-Reply-To: <20050829170053.M3014@maren.thelosingend.net> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: svein-freebsd-questions@theloosingend.net, Norberto Meijome Subject: Re: rsync and moving files [Re: backup w/ snapshots] X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 29 Aug 2005 16:48:48 -0000 Svein Halvor Halvorsen wrote: > But: If I move the file from /foo/test to /bar/test on my main computer, > rsync will create a BRAND NEW FILE in /bar (and delete the file in /foo, > since I used the --delete option). Now this NEW file will have a new > inode, and cover new sectors on disk. The snapshot will then tak > considerable more diskspace. If I move a large directory tree this way, > this will occupy huge amounts of diskspace. Eh? Bad assumptions about snapshots, I think. If a snapshot occupied even a tenth of the space of the data that it represented, we would quickly fill all our disks and the snapshot technology would be almost as painful as useful. A snapshot is essentially only an index of occupied disk space, not a copy of the actual data, and a snapshot is therefore much, much, much, much smaller than the data files that have changed. Read the relevant man pages and handbook sections again, and test your assumptions by measuring the actual change in snapshot size. I don't think your perceived problem really exists. -- Greg Barniskis, Computer Systems Integrator South Central Library System (SCLS) Library Interchange Network (LINK) , (608) 266-6348