[prev in list] [next in list] [prev in thread] [next in thread] 

List:       linux-xfs
Subject:    Re: How long should an xfs_freeze take?
From:       Eric Sandeen <sandeen () sgi ! com>
Date:       2002-01-31 22:11:34
[Download RAW message or body]

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.


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic