From: Charles Vachon <cvachon2 () mrn ! gouv ! qc ! ca>
To: tru64-unix-managers
Subject: SUMMARY: finding out what ADVFS mkfdmn -x and -p values were used
Date: Thu, 24 Sep 1998 15:19:10 +0000 [thread overview]
Message-ID: <96078721912078.tru64-unix-managers.marc@archive.invalid> (raw)
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@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@mrn.gouv.qc.ca -- (418) 627-6355 x2760
reply other threads:[~1998-09-24 15:19 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
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