From owner-freebsd-questions@FreeBSD.ORG Wed Sep 3 07:01:23 2003 Return-Path: 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 9C4A416A4BF for ; Wed, 3 Sep 2003 07:01:23 -0700 (PDT) Received: from adicia.telenet-ops.be (adicia.telenet-ops.be [195.130.132.56]) by mx1.FreeBSD.org (Postfix) with ESMTP id D84FB43FBD for ; Wed, 3 Sep 2003 07:01:22 -0700 (PDT) (envelope-from n.b@myrealbox.com) Received: from localhost (localhost.localdomain [127.0.0.1]) by adicia.telenet-ops.be (Postfix) with SMTP id 4CDA1381D2; Wed, 3 Sep 2003 16:01:21 +0200 (MEST) Received: from cronos.home.vsb (d5153CAA6.kabel.telenet.be [81.83.202.166]) by adicia.telenet-ops.be (Postfix) with ESMTP id 8F11637EF2; Wed, 3 Sep 2003 16:01:20 +0200 (MEST) From: Guy Van Sanden To: Malcolm Kay In-Reply-To: <200309030129.27754.malcolm.kay@internode.on.net> References: <1062511023.4165.5.camel@cronos.home.vsb> <200309030129.27754.malcolm.kay@internode.on.net> Content-Type: text/plain Message-Id: <1062597680.9167.25.camel@cronos.home.vsb> Mime-Version: 1.0 X-Mailer: Ximian Evolution 1.4.4-1tex Date: Wed, 03 Sep 2003 16:01:20 +0200 Content-Transfer-Encoding: 7bit cc: freebsd-questions@freebsd.org Subject: Re: rsync problem X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 03 Sep 2003 14:01:23 -0000 Thank you Malcolm I'll try this one... On Tue, 2003-09-02 at 17:59, Malcolm Kay wrote: > On Tue, 2 Sep 2003 23:27, Guy Van Sanden wrote: > > Hello > > > > I'm using rsync to sort of mirror two 40GB disks (once a day). > > All partitions work as expected, but root is weird (and as you can see > > below, I sort of made it too small). > > > > I use this command: > > /usr/local/bin/rsync -ax --delete / /mirror/rootfs > > > > But this is what I'm getting: > > df -m > > Filesystem 1M-blocks Used Avail Capacity Mounted on > > /dev/ad0s1a 154 71 70 51% / > > /dev/ad1s1a 154 138 4 97% /mirror/rootfs > > > > So, there's a 67 MB difference between both. > > I started out wite a cleanly formatted mirror (UFS2) > > > > My system is FreeBSD 5.0 RELEASE-p11 > > > > Thanks for any help > > > > Guy > > I expect rsync does not recognise hard linked files as such and makes > separate images of each directory link. Looking through /stand on my 4.8 > system I see that this would create about 60Mb extra. > > You might do better with dump and restore: > # cd /miiror/rootfs > # dump -0 -a -f - / | restore -r -f - > > Malcolm > > > > > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org"