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: defragment keeps running...and running...and running... Date: Mon, 22 Jul 2002 08:55:55 -0400 Sender: tru64-unix-managers-owner@ornl.gov Message-ID: <5.1.0.14.0.20020722084536.02c9be80@andmail1.and.av.com> References: <5.1.0.14.0.20020719162517.02c2a1a0@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 1027342656 28996 127.0.0.1 (22 Jul 2002 12:57:36 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Mon, 22 Jul 2002 12:57:36 +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 17Wckp-0007XZ-00 for ; Mon, 22 Jul 2002 14:57:35 +0200 Original-Received: (qmail 11747 invoked by uid 5); 22 Jul 2002 12:57:44 -0000 Original-Followup-To: poster Precedence: bulk Original-Received: (qmail 11706 invoked from network); 22 Jul 2002 12:57:43 -0000 Original-Received: from unknown (HELO emroute1.cind.ornl.gov) (134.167.3.119) by 0 with SMTP; 22 Jul 2002 12:57:43 -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 <0GZN00E79IO60Z@emroute1.cind.ornl.gov> for tru64-unix-managers@sws1.ctd.ornl.gov (ORCPT tru64-unix-managers@ornl.gov) ; Mon, 22 Jul 2002 08:57:43 -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 <0GZN00G6YINWB2@emroute1.cind.ornl.gov> for tru64-unix-managers@sws1.ctd.ornl.gov (ORCPT tru64-unix-managers@ornl.gov) ; Mon, 22 Jul 2002 08:57:33 -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, 05:55:35 Original-Received: by AVQIMAIL1.paq.av.com with Internet Mail Service (5.5.2653.19) id ; Mon, 22 Jul 2002 05:55:34 -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 PK7551QK; Mon, 22 Jul 2002 08:48:38 -0400 In-Reply-To: <5.1.0.14.0.20020719162517.02c2a1a0@andmail1.and.av.com> 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:1036 X-Report-Spam: http://spam.gmane.org/gmane.os.tru64.managers:1036 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