Operating System - OpenVMS
1829330 Members
2518 Online
109989 Solutions
New Discussion

Dealing with a badly fragmented disk

 
SOLVED
Go to solution
Jon Pinkley
Honored Contributor

Re: Dealing with a badly fragmented disk

Just a follow up on my reply from Jan 31, 2008 21:56:32 GMT.

I tested what the largest clustersize I could use to initialize a 50 GB vdisk. On both 7.3-2 and 8.3 it was 16380, so the help from 8.3 is correct.

Jon
it depends
Jon Pinkley
Honored Contributor

Re: Dealing with a badly fragmented disk

Here's the reason for the max cluster size being < 2^14:

The home block has a 16 bit field (HM2$W_IBMAPVBN) that contains the VBN of the first block of the index file bitmap in INDEXF.SYS. This VBN will always be clusterfactor*4+1, therefore the maximum clusterfactor must be .le. 16383 (16383*4)+1=65533.
it depends