OpenTP1 Version 7 Operation
You specify the size of an OpenTP1 file system in the -n option of the filmkfs command. The formula for estimating the size of an OpenTP1 file system is as follows:
((T + (t x 2 x s) + 4096 + 2 x ( s (64 x L) s + s (12 x L + 28) s + s (16008) s)) / (1024 x 1024))
The total size of OpenTP1 files consists of the sizes of the different types of OpenTP1 files shown in the following table.
The formulas shown below do not contain the management information (2-sector area) that is added when an OpenTP1 file is created. Therefore, the actual size of a created file is the result of any of the following formulas plus the length of the two sectors.
Table K-1 Formulas for estimating the sizes of OpenTP1 files
OpenTP1 file name | Formula for estimating the file size (Unit: bytes) |
---|---|
Status file | Value specified in the -s option of stsinit x value specified in the -c option of stsinit |
|
Value specified in the -n option of the jnlinit command x 4096 + 12288 |
DAM file | (Number of blocks specified in the damload command + 1) x (block length specified in the damload command + 8) |
TAM file |
|
Message queue file | Value specified in the -s option of the queinit command x value specified in the -n option of the queinit command |
XAR file | Value specified in the -n option of the xarinit command x value specified in the -s option of the xarinit command (if the -s option is omitted, the sector length in the OpenTP1 file system) |
MQA file | For details about how to estimate the size of a queue file, see the manual OpenTP1 TP1/Message Queue User's Guide. |
ISAM file | For details about how to estimate the size of an ISAM file, see the manual Indexed Sequential Access Method ISAM. |
All Rights Reserved. Copyright (C) 2006, 2010, Hitachi, Ltd.