From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "Dr. Hans Ekkehard Plesser" Newsgroups: gmane.os.tru64.managers Subject: SUMMARY: AdvFS: "Large BMT extentCnt", "BMT pageCnt is decreasing"? Date: Tue, 04 Jul 2006 10:34:50 +0200 Organization: Norwegian University of Life Sciences Message-ID: <200607041034.50656.hans.ekkehard.plesser@umb.no> References: <200512021022.47527.hans.ekkehard.plesser@umb.no> Reply-To: hans.ekkehard.plesser@umb.no NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable X-Trace: sea.gmane.org 1152002124 11497 80.91.229.2 (4 Jul 2006 08:35:24 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 4 Jul 2006 08:35:24 +0000 (UTC) Original-X-From: tru64-unix-managers-owner-gotm-tru64-unix-managers=m.gmane.org@sws1.ctd.ornl.gov Tue Jul 04 10:35:21 2006 Return-path: Envelope-to: gotm-tru64-unix-managers@gmane.org Original-Received: from sws1.ornl.gov ([160.91.1.101]) by ciao.gmane.org with smtp (Exim 4.43) id 1FxgNN-00039A-4A for gotm-tru64-unix-managers@gmane.org; Tue, 04 Jul 2006 10:35:21 +0200 Original-Received: (qmail 28799 invoked by uid 49509); 4 Jul 2006 08:35:02 -0000 Original-Sender: tru64-unix-managers-owner@ornl.gov Original-Followup-To: poster Precedence: bulk Original-Received: (qmail 28789 invoked by uid 49501); 4 Jul 2006 08:35:01 -0000 Original-Received: from 160.91.4.110 by sws1 (envelope-from , uid 49491) with qmail-scanner-1.25 (clamdscan: 0.83/743. spamassassin: 3.0.2. Clear:RC:0(160.91.4.110):SA:0(-2.4/5.0):. Processed in 2.972152 secs); 04 Jul 2006 08:35:01 -0000 X-Spam-Status: No, hits=-2.4 required=5.0 Original-Received: from emroute3.ornl.gov (160.91.4.110) by sws1.ornl.gov with SMTP; 4 Jul 2006 08:34:58 -0000 Original-Received: from emroute3.ornl.gov (localhost [127.0.0.1]) by emroute3.ornl.gov (PMDF V6.2-1x9 #31038) with ESMTP id <0J1V005P8EIAN6@emroute3.ornl.gov> for tru64-unix-managers@sws1.ctd.ornl.gov (ORCPT tru64-unix-managers@ornl.gov) ; Tue, 04 Jul 2006 04:34:58 -0400 (EDT) Original-Received: from VIRUSCAN-DAEMON.emroute3.ornl.gov by emroute3.ornl.gov (PMDF V6.2-1x9 #31038) id <0J1V00B02EI5J0@emroute3.ornl.gov> for tru64-unix-managers@sws1.ctd.ornl.gov (ORCPT tru64-unix-managers@ornl.gov) ; Tue, 04 Jul 2006 04:34:57 -0400 (EDT) Original-Received: from post.umb.no (bukk.umb.no [128.39.176.2]) by emroute3.ornl.gov (PMDF V6.2-1x9 #31038) with ESMTP id <0J1V00A4PEI4X8@emroute3.ornl.gov> for tru64-unix-managers@sws1.ctd.ornl.gov (ORCPT tru64-unix-managers@ornl.gov) ; Tue, 04 Jul 2006 04:34:53 -0400 (EDT) Original-Received: from localhost (localhost [127.0.0.1]) by umb.no (Postfix) with ESMTP id D34F1EB16A for ; Tue, 04 Jul 2006 10:34:53 +0200 (CEST) Original-Received: from post.umb.no ([127.0.0.1]) by localhost (post [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 28813-02 for ; Tue, 04 Jul 2006 10:34:53 +0200 (CEST) Original-Received: from imt-plesser-lp.umb.no (imt-plesser-lp.umb.no [128.39.239.34]) by post.umb.no (Postfix) with ESMTP id ACC79EB14F for ; Tue, 04 Jul 2006 10:34:53 +0200 (CEST) In-reply-to: <200512021022.47527.hans.ekkehard.plesser@umb.no> Original-To: tru64-unix-managers@ornl.gov X-Envelope-from: hans.ekkehard.plesser@umb.no Content-disposition: inline User-Agent: KMail/1.8.2 X-Spam-Virus: No X-Spam-Checker-Version: SpamAssassin 3.1.3 (2006-06-01) on email.ornl.gov X-Spam-Level: X-Qmail-Scanner-MOVED-X-Spam-Status: No, score=-0.6 required=5.0 tests=BAYES_00,FORGED_RCVD_HELO, SARE_MILLIONSOF autolearn=no version=3.1.3 X-Virus-Scanned: by amavisd-new-20030616-p9 (Debian) at post.umb.no Xref: news.gmane.org gmane.os.tru64.managers:8945 Archived-At: Dear Managers! =46inally, a most belated summary on a question I posed last December. The= =20 answers came in swiftly as usual, but testing them required several 100GB o= f=20 extra disk space, so I did not get around to it before now. And I did not=20 want to post a summary before testing myself. My problem as that sys_check reported "Large BMT extentCnt" and "BMT pageCn= t=20 is decreasing" on some of my AdvFS domains. =A0Advice from Rob Leadbetter a= nd=20 Thomas Sjolshagen was as follows: =2D Avoid having too many small files. =2D Defragment your disk regularly, or have vfast defragment it in the=20 background continuously. =2D If you can afford the extra diskspace, turn off the frag-file option. You can check frag file size with # cd /mountpoint/.tags # ls -l 1 =2D To "cure" a domain that has huge frag files or BMT problems, get extra = disks=20 that can hold all your data and then either # vdump -0f - /oldmountpoint | vrestore -xf - -D /newmountpoint or (preferred) go through an addvol/rmvol cycle (dsk4c is my regular disk,= =20 dsk16c a temporary disk): /usr/sbin/addvol /dev/disk/dsk16c scratch_domain=20 /usr/sbin/rmvol /dev/disk/dsk4c scratch_domain =A0 /usr/sbin/addvol /dev/disk/dsk4c scratch_domain=20 /usr/sbin/rmvol /dev/disk/dsk16c scratch_domain=20 The first two lines moved all data to dsk16, the second moved it all back t= o=20 dsk4. Use showfdnm to check progress. =A0This worked perfectly for me. I ke= pt=20 users off the machine while doing this. Best regards, Hans E Plesser On Friday 02 December 2005 10:22, Dr. Hans Ekkehard Plesser wrote: > Hi! > > I am running V5.1B-3 with all current ERPs installed on a GS1280. I am > using AdvFS. All file domains were created with Version 4 AdvFS data > structures. > > sys_check v139 reports a "Large BMT extentCnt (861)" on one of my domains, > "BMT pageCnt is decreasing" on another. For details, see below. > > I have tried verify -f and defragment on the domain with 861 extents, but > that has not changed the number of extents. I found earlier postings > refering to Tru64 V4.0 that suggested recreating the domain with -p and -x > options to mkfdmn (or addvolume), but documentation states that these > options are not applicable for domains with Version 4 AdvFS data > structures. > > I would therefore ask for you advice: > > - Are the messages anything to worry about in terms of performance or data > integrity? > > - If so, how can I reduce the number of extents? Should I use the > addvol/rmvol/addvol/rmvol cycle suggested in other postings to rebuild my > domain in a "clean" fashion? Will addvol then size the BMT properly > automagially? > > - Any other suggestions (I guess using single 400GB partitions isn't > optimal for AdvFS, nor having users creating millions of 10-byte files > ...)? > > Thanks a lot in advance! > Hans E Plesser > > Details: > > sys_check v139 reports a large BMT extentCnt (861) on one of my domains. > nvbmtpg reports: > > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D > DOMAIN "nlh_domain" VDI 1 (/dev/rdisk/dsk3c) lbn 48 BMT page 0 > -------------------------------------------------------------------------- > There are 235266 pages in the BMT on this volume. > The BMT uses 861 extents (out of 897) in 29 mcells. > > Assuming that any BMT pages with 28 free cells are entirely empty (see > http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=3D71= 6675 >), I find that some 153000 pages in the BMT are empty. showfile -x reveals > that all but the first three extents have 128 pages and 2048 blocks. > > The domain contains three filesets with altogether some 150000 directories > with about 2 million files. The data is stored on a single volume (an ADG > RAID with 407GB capacity). > > On another domain, sys_check complains that the "BMT pageCnt is > decreasing". Here nvbmtpg reports: > > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D > DOMAIN "scratch_domain" VDI 1 (/dev/rdisk/dsk4c) lbn 48 BMT page 0 > -------------------------------------------------------------------------- > There are 46851 pages in the BMT on this volume. > The BMT uses 141 extents (out of 673) in 22 mcells. > > Only som 481 pages appear to be empty. showfile -x shows that most exten= ts > have just between 1 and 8 pages. This domain contains a single fileset > with about 1 million files. Data is stored on a single volume (RAID0 with > 271GB capacity). =2D-=20 Dr. Hans Ekkehard Plesser Associate Professor Dept. of Mathematical Sciences and Technology Norwegian University of Life Sciences Phone +47 6496 5467 =46ax +47 6496 5401 Email hans.ekkehard.plesser@umb.no Home http://arken.umb.no/~plesser