[Search for users] [Overall Top Noters] [List of all Conferences] [Download this site]

Conference decwet::advfs_support

Title:AdvFS Support/Info/Questions Notefile
Notice:note 187 is Freq Asked Questions;note 7 is support policy
Moderator:DECWET::DADDAMIO
Created:Wed Jun 02 1993
Last Modified:Fri Jun 06 1997
Last Successful Update:Fri Jun 06 1997
Number of topics:1077
Total number of notes:4417

1014.0. "Finding out what value was used on -x with mkfdmn and addvol ?" by BACHUS::BIS10::BRUSCHE () Wed Mar 05 1997 08:08


	How can one find out what value was used on the -x switch
	when issueing the mkfdmn and addvol commands (Dunix V3.2 family)
	for an existing file-domain.

	We did some tests with different values on -x, but could not trace
	it back to any value as returned by eg : 'showfile -x /mnt/.tags/M-6'
	or 'ls -al /mnt/.tags/M-6'

	Rgds,
		Johan.
T.RTitleUserPersonal
Name
DateLines
1014.1vods/vbmtchainNETRIX::"[email protected]"Tim MarkWed Mar 05 1997 10:4925
I'm not sure if this is the best way to get your answer but for each disk
in the domain, you could give the command:

/usr/field/vods /dev/rz1c (or whatever disk name)

This will print out lots of metadata from the BMT for that disk.
The record to look for is BSR_VD_ATTR:

RECORD  0 bcnt  40 version 0        type   3 BSR_VD_ATTR
vdMntId: Mon Dec  9 06:47:09 1996
state 1
vdIndex 1
jays_new_field 0
vdBlkCnt 832527
stgCluster 2
maxPgSz 16
bmtXtntPgs 128            <--- THIS IS WHAT YOU WANTED
serviceClass 1

The "bmtXtntPgs" line says how many 8k pages will be added to this BMT
each time it is extended.

If you are running 4.0 or above, replace "/usr/field/vods /dev/rz1c"
with "/sbin/advfs/vbmtchain 0 0 /dev/rz1c".
[Posted by WWW Notes gateway]
1014.2/usr/field/vods /dev/rzxxx | grep bmt XtnPgs BIS10::BRUSCHEWed Mar 05 1997 11:597
	Be sure to execute /usr/field/vods as superuser, else one does not
	get the required output.

	Thanks and rgds,

		Johan.
1014.3when I did the vbmtchain command it diedNETRIX::&quot;[email protected]&quot;Jeff DickensThu Apr 10 1997 10:225
# /sbin/advfs/vbmtchain 0 0 /dev/rz17c 
Assertion failed: vol > 0, file ../../../../../src/sbin/advfs/vods/vbmtods.c,
line 586

[Posted by WWW Notes gateway]
1014.4another alternativeDECWET::DADDAMIODesign Twice, Code OnceThu Apr 10 1997 11:222
    Try "/sbin/advfs/vbmtpg /dev/rz17c". See note 1028 for more
    information.
1014.5re .-2NETRIX::&quot;[email protected]&quot;Jeff DickensThu Apr 10 1997 12:044
oops, forgot for a moment that my advfs file system is atop an LSM volume.

I've just run the sys_check script and now I have some reading to do...
[Posted by WWW Notes gateway]