From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII X-Google-Thread: fa528,3adcdab132494c4e X-Google-Attributes: gidfa528,public X-Google-ArrivalTime: 2000-12-19 11:24:55 PST Path: supernews.google.com!sn-xit-02!supernews.com!isdnet!newsfeeds.belnet.be!news.belnet.be!news.task.gda.pl!newsfeed.formus.pl!news.nask.pl!not-for-mail From: Tomasz =?iso-8859-2?Q?G=B1ska?= Newsgroups: comp.unix.tru64 Subject: Re: AdvFS BMT problems Date: Tue, 19 Dec 2000 20:24:28 +0100 Organization: Kom-Pakt PIW Sp. z o.o. Message-ID: <3A3FB5EB.EBF4C2CB@kompakt.com.pl> References: <3A3E8819.9E268A91@kompakt.com.pl> <191220001141327720%harris@zk3.dec.com> NNTP-Posting-Host: finis.kompakt.com.pl Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-2 Content-Transfer-Encoding: 8bit X-Trace: pippin.nask.waw.pl 977253912 16229 195.164.48.227 (19 Dec 2000 19:25:12 GMT) X-Complaints-To: usenet@nask.pl NNTP-Posting-Date: Tue, 19 Dec 2000 19:25:12 +0000 (UTC) X-Mailer: Mozilla 4.73 [en] (X11; U; Linux 2.2.16-3 i686) X-Accept-Language: pl, en Xref: supernews.google.com comp.unix.tru64:1255 Bob Harris wrote: Firstly, thanks for posting. It really give me another point of view. > [[ This message was both posted and mailed: see > the "To," "Cc," and "Newsgroups" headers for details. ]] > > It is my guess that the BMT extent map is full. On a v4.0* system the > BMT is limited to approx 600+ extent map entries (fixed in v5.*, if you > create a new domain). The BMT can not be defragmented, so the > defragment utility can not help. > > If you run the sys_check utility, it will tell you if your BMT is too > fragmented. > > or you can try the following command: > > /usr/sbin/showfile -x /DATA_DOMAIN_MOUNT_POINT/.tags/M-6 > > where you supply the correct path information for > DATA_DOMAIN_MOUNT_POINT. > > This should show you all the extents used by the BMT for the volume > /dev/re0h. If the count is anywhere in the area of 600-700, then your > BMT has become too fragmented to allow additional expanision on a v4.* > system using the v4.* on-disk format. Command showfile shows me that I have only 274 extents of BMT (it is rather far to 600+), but method of allocating new extents is curious. At the begining it allocates about 15000 pages and than number of pages rapidly falling down from extent to extent. At last about 100 last extents have only 1 page per extent?! Some documentation (System Configuration and Tuning perhaps) says, if number of pages is going down that mean BMT is becoming fragmented. But if number of extents is limited to circa 600 then aprox 200 more extentrs (even 1 page long) should be allocted. Why it isn't? For compare: In my another system (quiet similar configuration) showfile shows that what I suppose- all extents are 128 pages long... till to about last 30 extents?! Last 30 are very different: some have few (5-15) pages, and some over 1000. I suppose that it shows nothing good to me :-(. X There are 2 options X X 1) vdump/vrestore into a newly created domain. Features in the v4.0f X AdvFS file system will work to keep the BMT contiguous (feel free to X check on the BMT fragmentation using the showfile -x command as the X vrestore is going on if you like). X X 2) If you have the Advanced Utilities license, then use addvol/rmvol as X a way to migrate the files onto a new volume on-line. Assuming you X have another volume that is at least as large as the current volume, X you first do an addvol of the spare volume to the data_domain. Then X rmvol /dev/re0h data_domain. This will force AdvFS to migrate all the X files on /dev/re0h to the spare volume. This is done on-line, however, X it will put a significent I/O load on the file system, so a period of X time when the system is not too busy would most likely make your users X happier. X X When the rmvol is finished you can just leave the files on the spare X volume if you wish, or if you really need the files on /dev/re0h, then X repeat the procedure, by doing an addvol /dev/re0h data_domain followed X by a rmvol of the spare volume that currently has all the files. The X files will then be moved back onto /dev/re0h into a nice clean X environment. X X When you get around to upgrading to a v5.* version of Tru64 UNIX, if X you wish to avoid this situation again, you will have to perform a X vdump/vrestore from the existing domains to newly created domains in X the v5.* environment. This is because we needed to create a new X on-disk format to solve the BMT problems and it is _NOT_ possible to X use the addvol/rmvol trick. Only the vdump/vrestore method works for X this migration. Sorry. Fortunetly I have advfs-utilties license, and also I have another volume with rarely used data. I try to move it on tape and use addvol/rmvol - This method gives me opportunity to divide this operations between more than one night. It makes me much happier :-). > Good luck. Thx. It is always needed in a computer world ;-) Best Regards Tomasz G�ska PS. If You want to see showfile outputs I can post it to You. PS2. Sorry for pushing more quotes than text, but my news serwer lost Your post somewhere in deep Internet.