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/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/brokers/MQP1BRK
From TSO, use the following instructions:
 ALLOCATE DATASET(’MQSI.BROKER.MQP1BRK’) DSNTYPE(HFS) SPACE(5,5) DIR(1) CYL
 FREE DATASET(’MQSI.BROKER.MQP1BRK’)
 MOUNT FILESYSTEM(’MQSI.BROKER.MQP1BRK’) TYPE(HFS) 
       MOUNTPOINT(’/mqsi/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 on z/OS
Related concepts
Component directory on z/OS
Installation directory on z/OS
Related tasks
Customizing the z/OS environment
Using the file system on z/OS
Related reference
Disk space requirements on z/OS