From: "Tomasz Gąska" <tomasz.gaska@kompakt.com.pl>
Subject: Re: AdvFS BMT problems
Date: Tue, 19 Dec 2000 20:24:28 +0100 [thread overview]
Message-ID: <3A3FB5EB.EBF4C2CB@kompakt.com.pl> (raw)
In-Reply-To: 191220001141327720%harris@zk3.dec.com
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.
prev parent reply other threads:[~2000-12-19 19:24 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2000-12-18 21:56 AdvFS BMT problems Tomasz Gąska
2000-12-19 12:59 ` David Brancolini
2000-12-19 13:09 ` Tomasz Gąska
[not found] ` <191220001141327720%harris@zk3.dec.com>
2000-12-19 19:24 ` Tomasz Gąska [this message]
read-only archive
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox