From owner-freebsd-fs@FreeBSD.ORG Wed Nov 15 21:39:44 2006 Return-Path: X-Original-To: freebsd-fs@freebsd.org Delivered-To: freebsd-fs@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id DC06916A412 for ; Wed, 15 Nov 2006 21:39:44 +0000 (UTC) (envelope-from fbsd-fs@mawer.org) Received: from customer-domains.icp-qv1-irony13.iinet.net.au (customer-domains.icp-qv1-irony13.iinet.net.au [203.59.1.163]) by mx1.FreeBSD.org (Postfix) with ESMTP id A3AC643D60 for ; Wed, 15 Nov 2006 21:39:43 +0000 (GMT) (envelope-from fbsd-fs@mawer.org) Received: from 203-206-173-235.perm.iinet.net.au (HELO [127.0.0.1]) ([203.206.173.235]) by customer-domains.icp-qv1-irony13.iinet.net.au with ESMTP; 16 Nov 2006 05:39:41 +0800 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AgAAALEWW0XLzq3r/2dsb2JhbAAN X-IronPort-AV: i="4.09,425,1157299200"; d="scan'208"; a="20589598:sNHT24939648" Message-ID: <455B88C9.2080000@mawer.org> Date: Thu, 16 Nov 2006 08:38:17 +1100 From: Antony Mawer User-Agent: Thunderbird 1.5.0.8 (Windows/20061025) MIME-Version: 1.0 To: Ensel Sharon References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-fs@freebsd.org Subject: Re: quota command and rsync snapshots... X-BeenThere: freebsd-fs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Filesystems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 15 Nov 2006 21:39:44 -0000 On 16/11/2006 8:23 AM, Ensel Sharon wrote: ... > Remember, only day.0 is "real" - the others are `cp -al` copies, > consisting almost totally of hard links back to day.0. > > So I really don't know what is going on. quota says 1.5 mil. files, I > have 5 million total "files", each dir does not exceed 140 GB. > > Does this mean that there is (197 minus 140) GB of churn per day, and that > there must be (1.5 mil. minus 1.25 mil.) churn of file turnover per day > ? Or something like that ? That is the only thing i can think of ... The easiest way to check your snapshots are working properly is to check the hard linked files using ls -li. Find some files you know will be the same between two snapshots, and perform an ls -li against them. Then compare the inode numbers of the two to see if they are identical or not. For instance: > $ /bin/ls -li 2006-11-14_Tue/etc/pkgtools.conf 2006-11-13_Mon/etc/pkgtools.conf > 19312769 -rw-r----- 15 backup backup 2242 May 30 20:32 2006-11-13_Mon/etc/pkgtools.conf > 19312769 -rw-r----- 15 backup backup 2242 May 30 20:32 2006-11-14_Tue/etc/pkgtools.conf So in this case, the inode for both files is the same, and I know that file hasn't changed between those two snapshots, so the snapshots are operating correctly. --Antony