Received: (from majordomo@localhost) by oss.sgi.com (8.11.2/8.11.3) id g0VN4ls11920 for linux-xfs-outgoing; Thu, 31 Jan 2002 15:04:47 -0800 Received: from gum.csee.uq.edu.au (gum.csee.uq.edu.au [130.102.66.1]) by oss.sgi.com (8.11.2/8.11.3) with SMTP id g0VN4dd11898 for ; Thu, 31 Jan 2002 15:04:40 -0800 Received: from nut.csee.uq.edu.au (nut.csee.uq.edu.au [130.102.66.13]) by gum.csee.uq.edu.au (8.11.6/8.11.6) with ESMTP id g0VM4XH03590 for ; Fri, 1 Feb 2002 08:04:33 +1000 (EST) Received: from mango.csee.uq.edu.au (mango.csee.uq.edu.au [130.102.66.4]) by nut.csee.uq.edu.au (8.11.6/8.11.6) with ESMTP id g0VM4W401669 for ; Fri, 1 Feb 2002 08:04:32 +1000 (EST) Date: Fri, 1 Feb 2002 08:04:32 +1000 (EST) From: Chris Pascoe X-X-Sender: chrisp@mango.csee.uq.edu.au To: linux-xfs@oss.sgi.com Subject: Re: How long should an xfs_freeze take? Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Scanned-By: MIMEDefang 1.3 (www dot roaringpenguin dot com slash mimedefang) Sender: owner-linux-xfs@oss.sgi.com Precedence: bulk Status: O Content-Length: 1755 Lines: 51 Hi Steve, > > How repeatable is this? > > > > The problem was persistent across reboots - I rebooted to install a > > different LVM version at some stage (move to 1.0.2, from 1.0.1), and it > > occurred five times in a row after that. I just rebooted now to say that it > > still happens - but, alas - it doesn't want to any more. I'll try again at > > some random times throughout the day. 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 Total transferred file size: 1728372390 bytes Literal data: 177119547 bytes Matched data: 1551577350 bytes File list size: 15575582 Total bytes written: 4690480 Total bytes read: 195767044 wrote 4690480 bytes read 195767044 bytes 100808.41 bytes/sec total size is 62690390294 speedup is 312.74 real 33m7.243s user 1m34.200s sys 2m8.250s I'm sitting waiting for the xfs_freeze again - so I can replicate the problem, yes. It takes at least 40 minutes to complete xfs_freeze's after this point (i.e. you can go xfs_freeze -f ; xfs_freeze -u ; xfs_freeze -f ; xfs_freeze -u, and the second freeze still takes forever!), during which time the machine is completely unresponsive. Chris