Received: (from majordomo@localhost) by oss.sgi.com (8.11.2/8.11.3) id g0VND1p12302 for linux-xfs-outgoing; Thu, 31 Jan 2002 15:13:01 -0800 Received: from yog-sothoth.sgi.com (eugate.sgi.com [192.48.160.10]) by oss.sgi.com (8.11.2/8.11.3) with SMTP id g0VNCud12278 for ; Thu, 31 Jan 2002 15:12:56 -0800 Received: from zeus-e8.americas.sgi.com (zeus-e8.americas.sgi.com [128.162.8.103]) by yog-sothoth.sgi.com (980305.SGI.8.8.8-aspam-6.2/980304.SGI-aspam-europe) via ESMTP id XAA210093 for ; Thu, 31 Jan 2002 23:12:57 +0100 (CET) mail_from (sandeen@sgi.com) Received: from poppy-e185.americas.sgi.com (poppy-e185.americas.sgi.com [128.162.185.207]) by zeus-e8.americas.sgi.com (SGI-SGI-8.9.3/americas-smart-nospam1.1) with ESMTP id QAA25423; Thu, 31 Jan 2002 16:11:34 -0600 (CST) Received: from stout.americas.sgi.com (stout.americas.sgi.com [128.162.187.5]) by poppy-e185.americas.sgi.com (980427.SGI.8.8.8/SGI-server-1.7) with ESMTP id QAA75184; Thu, 31 Jan 2002 16:11:34 -0600 (CST) Subject: Re: How long should an xfs_freeze take? From: Eric Sandeen To: Chris Pascoe Cc: linux-xfs@oss.sgi.com In-Reply-To: References: Content-Type: text/plain Content-Transfer-Encoding: 7bit X-Mailer: Evolution/1.0 (Preview Release) Date: 31 Jan 2002 16:11:34 -0600 Message-Id: <1012515094.20484.41.camel@stout.americas.sgi.com> Mime-Version: 1.0 Sender: owner-linux-xfs@oss.sgi.com Precedence: bulk Status: O Content-Length: 1109 Lines: 34 On Thu, 2002-01-31 at 16:04, Chris Pascoe wrote: > I can repeat this fairly reliably now - do a meaningless rsync across the > disk (i.e. rsync itself to itself - makes it stat every file on the disk, I > guess), then try an xfs_freeze after the rsync completes: > > rsync -aH /tst1/ /tst1/ > time xfs_freeze -f /tst1 > > It's been hung there for ~10 minutes now, I've repeated this twice.... > rebooting - will try again... This time it doesn't want to do it.. :( > > This time I've done a rsync with real data: > > testbox# time rsync -e ssh -avH --stats root@fs:/home/01/ /tst1/ ; time xfs_freeze -f /tst1 ; time xfs_freeze -u /tst1 > > Number of files: 602545 > Number of files transferred: 292 > Total file size: 62690390294 bytes Ok, so the device you're freezing has about 60G in about 600,000 files? And freeze only takes a very long time if you've poked at each file w/ rsync first? i.e. if you unmount, then remount, xfs_freeze happens quickly? (sorry if I'm being pedantic...) -Eric -- Eric Sandeen XFS for Linux http://oss.sgi.com/projects/xfs sandeen@sgi.com SGI, Inc.