1753678 Members
5571 Online
108799 Solutions
New Discussion юеВ

Index Limit - VMS 7.3-2

 
SOLVED
Go to solution
Jorge Cocomess
Super Advisor

Index Limit - VMS 7.3-2

Hi,

Is there such thing as Index Limit within the VMS directory or some sort? I know there is a version limit but not sure about Index Limitation. As you can tell, I am also new to VMS.

Thank you in advance.
J
18 REPLIES 18
Karl Rohwedder
Honored Contributor

Re: Index Limit - VMS 7.3-2

Not quite sure, what you mean:
- a disk volume has a limit on how many files are allowed, specified during INIT
- when creating new files, the index file on [000000] fills up and is extended and may eventually fill up its fileheader, then no more files can be created. You may preallocate room for entries in the indexfile when INITing the disk
- too many files in one directory may slow down performance during certain operations (not a real limit...)

regards Kalle
Jorge Cocomess
Super Advisor

Re: Index Limit - VMS 7.3-2

Is there a way to raise this limit after the fact? How do I check to see how many files were set?

Thanks,
J
Karl Rohwedder
Honored Contributor
Solution

Re: Index Limit - VMS 7.3-2

To raise the 'maxiumum files allowed', the disk has to be reINIted, be sure to have a valid backup and do NOT forget to specify /NOINIT when restoring the volume, else the disk gets INITed by BACKUP with its original parameters.
If your problem is the indexfile, only ha BACKUP/RESTORE will help (or delete some files:-))

You may always specify a high number for /MAXIMUM_FILES, it costs nothing.

A good utility for disks is the DFU utility, often mentioned here and available via the OpenVMS freeware pages. It has a REPORT function, which tells all about your disk.

regards Kalle
Volker Halle
Honored Contributor

Re: Index Limit - VMS 7.3-2

Jorge,

SHOW DEV/FULL disk will show 'Maximum files allowed'

Are you trying to solve a real problem or is this question for your educational purposes only ? If you have a real problem, it would be good to provide the full error message and circumstances, under which the problem is seen.

Volker.
Jim Lahman_1
Advisor

Re: Index Limit - VMS 7.3-2

How would I see the maximum number of files allocated on a disk?

- Jim
Cheers!
Ian Miller.
Honored Contributor

Re: Index Limit - VMS 7.3-2

Jim,
DFU REPORT
should tell you number of files and max allowed.
____________________
Purely Personal Opinion
Jorge Cocomess
Super Advisor

Re: Index Limit - VMS 7.3-2

Volker - According to my software vendor, they said, "your Index Limit" was reached and caused a certain process to hang because it couldn't create any more logs. Well, I know that I am new to the VMS world, but I thought that our "Maximum files allowed" was set at 15926636 when we initialized this disk.

Here's the output of the disk with the "Show dev/full $1$dga31:

~Many thanks,
J


Disk $1$DGA32: (ELMO), device type HSG80, is online, mounted, file-oriented
device, shareable, available to cluster, device has multiple I/O paths,
error logging is enabled.

Error count 1 Operations completed 421292290
Owner process "" Owner UIC [SYSTEM]
Owner process ID 00000000 Dev Prot S:RWPL,O:RWPL,G:R,W
Reference count 379 Default buffer size 512
Current preferred CPU Id 2 Fastpath 1
WWID 01000010:6000-1FE1-000B-B1C0-0009-1090-2086-000E
Total blocks 286679457 Sectors per track 96
Total cylinders 31107 Tracks per cylinder 96
Logical Volume Size 286679457 Expansion Size Limit 286752768
Allocation class 1

Volume label "DISK31" Relative volume number 0
Cluster size 8 Transaction count 383
Free blocks 68756800 Maximum files allowed 15926636
Extend quantity 5 Mount count 1
Mount status System Cache name "_$10$DKA600:XQPCACHE"
Extent cache size 64 Maximum blocks in extent cache 6875680
File ID cache size 64 Blocks in extent cache 153720
Quota cache size 0 Maximum buffers in FCP cache 4270
Volume owner UIC [DGBMASTER] Vol Prot S:RWCD,O:RWCD,G:RWCD,W:RWCD

Volume Status: ODS-2, subject to mount verification, write-back caching
enabled.

Device error count was last reset on: 28-JUL-2006 09:36:32.71


I/O paths to device 4
Path PGA0.5000-1FE1-000B-B1C2 (ELMO), primary path, current path.
Error count 1 Operations completed 421136684
Path PGA0.5000-1FE1-000B-B1C4 (ELMO).
Error count 0 Operations completed 51873
Path PGB0.5000-1FE1-000B-B1C1 (ELMO).
Error count 0 Operations completed 51870
Path PGB0.5000-1FE1-000B-B1C3 (ELMO).
Error count 0 Operations completed 51863

Andy Bustamante
Honored Contributor

Re: Index Limit - VMS 7.3-2


It's possible your vendor means "version limit" on a file. OpenVMS allows up to 32767 versions of a file, for example: application.log;32767 is a possible file name. After this limit is reached attempts to create a new version of the file will fail. Purge won't solve the issue since it leaves the highest versions, you either need to delete or rename the file(s).

Andy
If you don't have time to do it right, when will you have time to do it over? Reach me at first_name + "." + last_name at sysmanager net
Jan van den Ende
Honored Contributor

Re: Index Limit - VMS 7.3-2

Jorge,

from the info seen so far I would guess that Andy hit the point.

What is your VMS version? Recent versions have simple commands to find out if he is right; if not, then there also are ways, albeit somewhat less simple.

If we know IF he guessed right or wrong, we can proceed from there.

Please help us to help you.

Proost.

Have one on me.

jpe
Don't rust yours pelled jacker to fine doll missed aches.