Hub/Switch Installation Guide

Chapter 2 HPSS Planning
130 September 2002 HPSS Installation Guide
Release 4.5, Revision 2
volume to use in allocating this disk space. An integer value from 1 to 10 can be entered. For
example, if four AIX logical volumes are allocated to SFS, use values from 1 to 4 to assign each
metadatafiletotheappropriatevolume.TheSpaceAllocation PerEncinaVolumetable, locatedonthe
same worksheet, will use this allocation to calculatetotal diskspace requirementsperSFSvolume.
Byvarying theSFSvolumenumber,theadministratorcanexperimentwith howto bestallocate the
metadata files based on the logical volume sizes.
It is important to note that calculating the size of an SFS balanced-tree file is not easy and is
sometimes inaccurate. The file sizes do not grow linearly according to the number of records
because of the changing height of the B-tree and the fact that leaf pages may not be full. In this
spreadsheet, the maximum height of the B-tree is calculated based on the order of the B-tree and
the number of records. In other words,the spreadsheet assumes aworstcase,whichisappropriate
when planning disk space requirements.
For more information on how the size of SFS B-trees can be calculated, refer to Encina Overview, an
IBM ITSO Redbook (GG24-2512-00).
Secondary Index 1—This section shows the disk space requirement for the first secondary index
associated with each metadata file, if such an index is used. The SFS Vol # column allows this disk
space to be allocated to a particular logical SFS volume. However, the managesfs utility used to
create HPSS metadata files currently creates the file and all associated indices on the same SFS
volume. So normally, theSFSvolumecolumns in the spreadsheetwill containthesamelogicalSFS
volume number for a given metadata file row.
If,forperformanceordisk-spacelimitationreasons,asecondaryindexistobecreatedonadifferent
SFS volume from the primary index, use managesfs to first create the metadata file specifying the
SFS volume desired for the primary data/index, manually delete the secondary index using the
sfsadmin command, and attempt to recreate the metadata file using managesfs while specifying
theSFS volumedesiredfor thesecondaryindex.Thesecondattemptto createthemetadata filewill
yieldanerrorindicating thatthemetadatafilealreadyexists;however,itwillgo aheadandrecreate
the secondary index on the different SFS volume.
Secondary Index 2—This section shows the disk space requirement for the second secondary index
associated with each metadata file, if such an index is used.
Secondary Index 3—This section shows the disk space requirement for the third secondary index
associated with each metadata file, if such an index is used.
Total Size (MBs)—This column calculates, in megabytes, the sum of all disk space used for the
primary data and index, as well as all secondary indices.
Space Allocation Per Encina Volume—Continuing to theright onthisworksheet,isanother table that
summarizes the disk space allocation per logical SFS volume per metadata file. These calculations
are based on the SFS Vol numbers entered in the previous table. At the bottom of this table are the
overall totals for each SFS volume, in megabytes.
2.10.2.22 Encina SFS Disk Space
This sectionexplains the disk space requirementsof Encina, parts of which come from completing
the metadata sizing spreadsheet. The disk space used by Encina SFS falls into the following
categories: