Start of change

Mounting file systems

For directories such as ++HOME++, ++COMPONENTDIRECTORY++, and ++INSTALL++ you must either create a directory, or mount a file system of this name, before using the directory.

To create a directory in an already mounted file system use the mkdir command. For example:
 mkdir -p /mqsi/V6R0M0/brokers/MQP1BRK

To mount a new file system, follow the instructions given in the z/OS UNIX System Services Planning manual.

From USS, use the following instruction:
 mkdir -p /mqsi/V6R0M0/brokers/MQP1BRK
From TSO, use the following instructions:
 ALLOCATE DATASET(’WBI.V6R0M0.BROKER.MQP1BRK’) DSNTYPE(HFS) SPACE(5,5) DIR(1) CYL
 FREE DATASET(’WBI.V6R0M0.BROKER.MQP1BRK’)
 MOUNT FILESYSTEM(’WBI.V6R0M0.BROKER.MQP1BRK’) TYPE(HFS) 
       MOUNTPOINT(’/mqsi/V6R0M0/brokers/MQP1BRK’)
Note that the preceding ALLOCATE command is an example; the dataset should be allocated the correct amount of storage as described in Disk space requirements (z/OS)
Related concepts
Component directory
Installation directory (z/OS)
Related tasks
Customizing the z/OS environment
Using the file system on z/OS
Related reference
Disk space requirements (z/OS)
End of change