Open System Services Management and Operations Guide (G06.29+, H06.07+)
Managing Filesets
Open System Services Management and Operations Guide—527191-005
5-2
Creating a Unique Fileset
•
To create the directory /home/henrysp from within the Guardian
environment, enter the following commands at a TACL prompt:
OSH -p /bin/mkdir /home/henrysp
OSH -p /bin/chmod 0777 /home/henrysp
Note that the OSS shell chmod command gives read, write, and search (execute)
permission to all users of OSS files within the mount-point directory. The UNIX
sticky bit can also be set so that only the super ID can delete files from the fileset;
to set the sticky bit, specify chmod 1777 instead of chmod 0777.
2. Create a storage-pool file with the name specified in the new ZOSSFSET entry.
This action is described in Creating a Storage Pool on page 5-6.
3. Add a record for the fileset to the ZOSSFSET file by using the SCF ADD FILESET
command. Select the appropriate settings for the fileset:
•
HP suggests that you select a consistent name for the fileset, directory mount
point, and report file filename to make administration of the fileset easier.
•
If the fileset is frequently used, consider having it started or restarted
automatically after a system load or processor failure. An automatically started
fileset cannot start until all filesets above it in the OSS directory hierarchy are
started, so a fileset with a DESIREDSTATE of STARTED cannot start if it uses
a mount point on a fileset with a DESIREDSTATE of STOPPED.
•
Read the information under Changing Fileset Input/Output Fault Tolerance on
page 5-15 and choose a fault-tolerance option for file input/output within the
fileset.
•
Read the information under Changing Fileset Catalog Buffering on page 5-17
and choose a buffering option. These options allow you to increase the relative
speed of file creation, deletion, or opens within the fileset at the expense of
increasing the probability of needing to perform a recovery (repair) for the
fileset after a failure. Using a memory cache to buffer open and close catalog
file information for the fileset instead of recording each transaction in a disk file
speeds up transaction processing slightly; however, if the cache is lost before it
can be flushed to disk, the true state of the fileset cannot be determined
without performing a recovery on it:
°
A fileset using the BUFFERED NONE option directly accesses the fileset
catalog on disk without caching any data in memory. This direct access
provides the highest assurance of data integrity for the fileset catalog and
is the least likely to require a recovery. However, BUFFERED NONE
provides the slowest access time to the catalog. A fileset in which file
creation, deletion, and opens are infrequent is a good candidate for the
BUFFERED NONE option.
°
A fileset using the default BUFFERED LOG option provides slightly faster
access time by using memory cache for some open and close catalog file
information; the tradeoff between performance and recovery for such
filesets can be adjusted using the MAXDIRTYINODETIME option. A fileset