From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Dan Harrington Newsgroups: gmane.os.tru64.managers Subject: SUMMARY [UPDATE]: defragment keeps running...and running...and running... Date: Mon, 22 Jul 2002 09:04:18 -0400 Sender: tru64-unix-managers-owner@ornl.gov Message-ID: <5.1.0.14.0.20020722085748.01ec1f08@andmail1.and.av.com> NNTP-Posting-Host: localhost.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed X-Trace: main.gmane.org 1027343122 30323 127.0.0.1 (22 Jul 2002 13:05:22 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Mon, 22 Jul 2002 13:05:22 +0000 (UTC) Return-path: Original-Received: from sws1.ctd.ornl.gov ([160.91.20.101]) by main.gmane.org with smtp (Exim 3.33 #1 (Debian)) id 17WcsH-0007sd-00 for ; Mon, 22 Jul 2002 15:05:17 +0200 Original-Received: (qmail 24597 invoked by uid 5); 22 Jul 2002 13:05:26 -0000 Original-Followup-To: poster Precedence: bulk Original-Received: (qmail 24589 invoked from network); 22 Jul 2002 13:05:26 -0000 Original-Received: from unknown (HELO emroute1.cind.ornl.gov) (134.167.3.119) by 0 with SMTP; 22 Jul 2002 13:05:26 -0000 Original-Received: from emroute1.cind.ornl.gov (localhost [127.0.0.1]) by emroute1.cind.ornl.gov (PMDF V6.1-1 #39060) with ESMTP id <0GZN00DMFJ0YAU@emroute1.cind.ornl.gov> for tru64-unix-managers@sws1.ctd.ornl.gov (ORCPT tru64-unix-managers@ornl.gov) ; Mon, 22 Jul 2002 09:05:25 -0400 (EDT) Original-Received: from AVQIMAIL1.paq.av.com (avqimail1.corp.altavista.com [209.73.174.32]) by emroute1.cind.ornl.gov (PMDF V6.1-1 #39060) with ESMTP id <0GZN00FGOJ0S6Q@emroute1.cind.ornl.gov> for tru64-unix-managers@sws1.ctd.ornl.gov (ORCPT tru64-unix-managers@ornl.gov) ; Mon, 22 Jul 2002 09:05:17 -0400 (EDT) Original-Received: from Local loopback [127.0.0.1] by AVQIMAIL1.paq.av.com - SuperScout Email Filter (4.0); Monday, 22 July 2002, 06:03:29 Original-Received: by AVQIMAIL1.paq.av.com with Internet Mail Service (5.5.2653.19) id ; Mon, 22 Jul 2002 06:03:28 -0700 Original-Received: from bosox.av.com (bosox.and.av.com [10.17.4.30]) by andmail1.and.av.com with SMTP (Microsoft Exchange Internet Mail Service Version 5.5.2650.21) id PK7551QM; Mon, 22 Jul 2002 08:56:29 -0400 X-Sender: dharring@andmail1.and.av.com Original-To: tru64-unix-managers@ornl.gov X-Mailer: QUALCOMM Windows Eudora Version 5.1 Xref: main.gmane.org gmane.os.tru64.managers:1037 X-Report-Spam: http://spam.gmane.org/gmane.os.tru64.managers:1037 [UPDATE: I forgot to mention the important part...defragment did finish up on my system, after Pass 9. While the average extents per files w/ extents got down to 1.02 as early as Pass 2, what continued to drop over the course of the entire run was the "Free Space Fragments", from its original value of 158963 (121312 of them <100K) to 9304 (5617 <100K). Dan] The consensus was to chill out and let the tool run its course, with caveats that A) yes, it can take a very long time, and B) lots of file I/O will tend to keep it running longer. I was also advised that one can certainly kill the process (^C or 'kill -TERM ') if you reach the limits of your patience. Thanks for the responses from A. Mahendra Rajah, Rich Keller, Alan Nabeth, Tom Blinn, and Pat O'Brien. Excerpts follow: "I've read that there are circumstances where defragment can take a very long time. Sometimes it can be due to bugs that prevent it from realizing that it can't do better. In other cases it can be due to not having enough free space to create enough contiguous space for that "one last" file movement that would allow it to finish. For a version as old as V4.0F you have to consider both as a possibility." "I have seen pass 43 in day 3.5 in the past., so not to worry. you can control"c" and break, and it will exit. Usually perf is beeter after a run similiar to yours. wish I could run defragment. it crashes my 5.1 pk 5 system in 16 minutes." "It can take a LONG time. Unless there is no activity of any kind in the file system, things can change.. and depending on just what flags you gave, it might keep going. Just control-C out if you are happy with where it's at -- it traps the signal (SIGINT) and exits cleanly." Dan [Original query below...] >How long should one expect a defragment session to run? I started running >it yesterday on an AdvFS domain consisting of 3 volumes (2 of 36GB, 1 of >160GB) on an HSZ70 controller. The system is a member of a TruCluster >(V4.0F, ASE1.6). Before running defragment, I had checked (via the flags >"-n -v") that the average extents per files w/ extents was 7.9 (aggregate >I/O performance was 59%). > >At this point it has been running slightly over 24 hours, and is currently >on Pass 8. Back on Pass 6 the average extents per files w/ extents got >down to 1.0, and aggregate I/O performance was 100%. Why wouldn't it have >exited cleanly at that point? > >Dan