Original post:
>Hello DU managers,
>Since a while, I am looking for a way to determine the -x and -p value
>that were used at domain creation with the mkfdmn command. I inherited
>the administration of a few systems that were configured long before I
>had this job.
>Todd Acheson's recent posting and summary (entitled 'ADVFS metadata and
>data allocation across multi-disk domains') led me to experiment with
>the showfile -x M-6 command. Could the value observed in the PageCnt
>column be the same as that of mkfdmn's -x switch ??
>Any information regarding this rather obscure matter (IMHO) will be
>greatly appreciated!
>Thanks.
###################
Thanks to Alan Davis <Alan.Davis_at_digital.com>. He was  the only one to
reply, but he hits right on target!
Here is Alan's reply:
[UNIX] How To: Which Parameters Were Used to Create an AdvFS Domain?
COMPONENT : AdvFS
OP/SYS : Digital UNIX v4.0x
QUESTION :
How can I tell which -x and -p parameters were used to
create an AdvFS domain ?
ANSWER :
To find the -p value:
1. cd to the mount point of a fileset in the domain.
2. execute the command :
    /usr/sbin/showfile -x .tags/M-6
The second extent is the preallocated BMT. The pageCnt is
the value given for -p.
Example :
     # /usr/sbin/showfile -x .tags/M-6
          Id  Vol  PgSz  Pages  XtntType  Segs  SegSz  Log  Perf  File
fffffffa.0000    1    16   7202    simple    **     **  ftx  100%  M-6
    extentMap: 1
        pageOff    pageCnt     vol    volBlock    blockCnt
              0          2       1          32          32
              2       7200       1         224      115200
        extentCnt: 2
To find the -x value:
1. execute the command:
    /sbin/advfs/vbmtpg <device> | grep bmtXtntPgs
Example :
     # /sbin/advfs/vbmtpg /dev/rrz0g | grep bmtXtntPgs
     bmtXtntPgs 256
So in this case the volume would have been created with:
# mkfdmn -p 7200 -x 256 domain_name
RESOURCES :
showfile man page
vbmtpg man page
mkfdmn man page
--
Charles Vachon -- Administrateur de systhme
Fonds de la Riforme Cadastrale du Quibec
Ministhre des Ressources Naturelles du Quibec
cvachon2_at_mrn.gouv.qc.ca  --  (418) 627-6355 x2760
Received on Thu Sep 24 1998 - 15:24:57 NZST