Usenet comp.unix.tru64 (2000-2013)
 help / color / mirror / Atom feed
* AdvFS BMT problems
@ 2000-12-18 21:56 Tomasz Gąska
  2000-12-19 12:59 ` David Brancolini
       [not found] ` <191220001141327720%harris@zk3.dec.com>
  0 siblings, 2 replies; 4+ messages in thread
From: Tomasz Gąska @ 2000-12-18 21:56 UTC (permalink / raw)


Hi!

    Can anybody help me with that problem.

    I have advfs domain with one fileset. All other things below:

DS20# showfdmn data_domain

               Id              Date Created  LogPgs  Domain Name
380375a5.000b9d36  Tue Oct 12 19:53:41 1999     512  data_domain

  Vol   512-Blks        Free  % Used  Cmode  Rblks  Wblks  Vol Name
   1L   27470118     8282176     70%     on    128    128  /dev/re0h

DS20# showfsets data_domain
data
 Id           : 380375a5.000b9d36.1.8001
 Files        :   359954,  SLim=        0,  HLim=        0
 Blocks (512) : 18021740,  SLim=        0,  HLim=        0
 Quota Status : user=off group=off

DS20# df -k data_domain#data
Filesystem       1024-blocks        Used   Available Capacity  Mounted
on
data_domain#data    13735056     9010870     4141088    69%    /data

    Like you see it have about 4GB free space, but it is impossilble to
write anything to disk. Problem with wrinting is caused by not enough
space for extending BMT.

DS20# /sbin/advfs/vbmtpg /dev/re0h | more
PAGE LBN    32 megaVersion   3 nextFreePg   0 freeMcellCnt   0 pageId
0
nextfreeMCId page    0 cell    0

    Like you see freeMcellCnt is 0, and should grow by next 128 pages.
File system isn't verfy fragmentet:

DS20# defragment -nv data_domain
defragment: Gathering data for domain 'data_domain'
  Current domain data:
    Extents:                  84167
    Files w/extents:          82584
    Avg exts per file w/exts:  1.02
    Aggregate I/O perf:         99%
    Free space fragments:     31872
                     <100K     <1M    <10M    >10M
      Free space:     13%     43%     35%      9%
      Fragments:    24312    6751     799      10

    and shouldnt be problem to allocate 1MB continous space.

    What the hell is going on!?

    Some documentations tells stories about -l and -p parameters in
mkfdmn, some others says that this parameters are retired. Can vdump,
rmfset rmfdmn, mkfdmn, mkfset, vrestore help? <-Are You Sure? (I dont
want to spend 10hrs for nothing) Should I use -l/-p parameters in
recreated mkfdmn?

    BTW DigitalUnix 4.0F, PathKit 001. Meaby i should install newer
PatchKit? Whitch one patch solves that problem?

    Regards

        Tomasz G�ska




^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: AdvFS BMT problems
  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>
  1 sibling, 1 reply; 4+ messages in thread
From: David Brancolini @ 2000-12-19 12:59 UTC (permalink / raw)


[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain, Size: 2600 bytes --]

Currently PK4 is available. I would suggest applying that. Have you actually
tried to defragment the domain? Also, have you ran verify?

Dave Brancolini

"Tomasz G�ska" <tomasz.gaska@kompakt.com.pl> wrote in message
news:3A3E8819.9E268A91@kompakt.com.pl...
> Hi!
>
>     Can anybody help me with that problem.
>
>     I have advfs domain with one fileset. All other things below:
>
> DS20# showfdmn data_domain
>
>                Id              Date Created  LogPgs  Domain Name
> 380375a5.000b9d36  Tue Oct 12 19:53:41 1999     512  data_domain
>
>   Vol   512-Blks        Free  % Used  Cmode  Rblks  Wblks  Vol Name
>    1L   27470118     8282176     70%     on    128    128  /dev/re0h
>
> DS20# showfsets data_domain
> data
>  Id           : 380375a5.000b9d36.1.8001
>  Files        :   359954,  SLim=        0,  HLim=        0
>  Blocks (512) : 18021740,  SLim=        0,  HLim=        0
>  Quota Status : user=off group=off
>
> DS20# df -k data_domain#data
> Filesystem       1024-blocks        Used   Available Capacity  Mounted
> on
> data_domain#data    13735056     9010870     4141088    69%    /data
>
>     Like you see it have about 4GB free space, but it is impossilble to
> write anything to disk. Problem with wrinting is caused by not enough
> space for extending BMT.
>
> DS20# /sbin/advfs/vbmtpg /dev/re0h | more
> PAGE LBN    32 megaVersion   3 nextFreePg   0 freeMcellCnt   0 pageId
> 0
> nextfreeMCId page    0 cell    0
>
>     Like you see freeMcellCnt is 0, and should grow by next 128 pages.
> File system isn't verfy fragmentet:
>
> DS20# defragment -nv data_domain
> defragment: Gathering data for domain 'data_domain'
>   Current domain data:
>     Extents:                  84167
>     Files w/extents:          82584
>     Avg exts per file w/exts:  1.02
>     Aggregate I/O perf:         99%
>     Free space fragments:     31872
>                      <100K     <1M    <10M    >10M
>       Free space:     13%     43%     35%      9%
>       Fragments:    24312    6751     799      10
>
>     and shouldnt be problem to allocate 1MB continous space.
>
>     What the hell is going on!?
>
>     Some documentations tells stories about -l and -p parameters in
> mkfdmn, some others says that this parameters are retired. Can vdump,
> rmfset rmfdmn, mkfdmn, mkfset, vrestore help? <-Are You Sure? (I dont
> want to spend 10hrs for nothing) Should I use -l/-p parameters in
> recreated mkfdmn?
>
>     BTW DigitalUnix 4.0F, PathKit 001. Meaby i should install newer
> PatchKit? Whitch one patch solves that problem?
>
>     Regards
>
>         Tomasz G�ska
>
>




^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: AdvFS BMT problems
  2000-12-19 12:59 ` David Brancolini
@ 2000-12-19 13:09   ` Tomasz Gąska
  0 siblings, 0 replies; 4+ messages in thread
From: Tomasz Gąska @ 2000-12-19 13:09 UTC (permalink / raw)


David Brancolini wrote:

> Currently PK4 is available. I would suggest applying that. Have you actually
> tried to defragment the domain? Also, have you ran verify?

    Yes, simple steps already done, defragmented few times, verify doesnt
report any problems too. PatchKit download now in progress, but I try to aply
it tonight, meaby it solves that problem. Thx.

    Regards

        Tomasz G�ska




^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: AdvFS BMT problems
       [not found] ` <191220001141327720%harris@zk3.dec.com>
@ 2000-12-19 19:24   ` Tomasz Gąska
  0 siblings, 0 replies; 4+ messages in thread
From: Tomasz Gąska @ 2000-12-19 19:24 UTC (permalink / raw)


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.




^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2000-12-19 19:24 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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 is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox