Open System Services Management and Operations Guide (G06.25+, H06.03+)

Managing Filesets
Open System Services Management and Operations Guide527191-002
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 Buffering on page 5-15 and
choose a buffering option. These options allow you to increase the relative
speed of access to 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 provides the highest assurance of
data integrity and is the least likely to require a recovery but provides the
slowest access time. 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 in which file
creation, deletion, or opens are a relatively common occurrence is a a good
candidate for the BUFFERED LOG option.
A fileset using the BUFFERED CREATE (fast-create) option provides the
fastest access time but with reduced assurance of data integrity and the
highest probability of requiring a recovery after a failure. A fileset in which files