Start of change

Creating the PROC file system

Generally, a single PROC mount is needed in a shared file system environment because under normal circumstances each PROC mount contains the same information. For more information, see Namespace interactions.

ServerPac installation jobs define the following FILESYSTYPE definition in SYS1.PARMLIB(BPXPRMFS):
FILESYSTYPE TYPE(PROC) ENTRYPOINT(BPXUPINT) 
Edit SYS1.PARMLIB(BPXPRMFS), that is, add the mount statement to mount a file system at the /proc mount point. For example, you can add the following line under the FILESYSTYPE TYPE(PROC) definition:
MOUNT FILESYSTEM('/PROC’) MOUNTPOINT('/proc') TYPE(PROC)
Alternatively, the mount can be created by issuing the following mount command:
mount –t PROC –f '/proc' /proc 
When mounting a PROC file system:
  • Each system should have the same mount statement in the BPXPRMxx parmlib member.
  • Message BPXF273I is expected on IPLing systems if PROC is already mounted.
  • Use the AUTOMOVE option (the default) so that the mount point is always accessible.

Namespace interactions

Every PROC mount is associated with a PID namespace, which matches the PID namespace of the process that performed the mount. If a user-initiated process did not perform the mount, then the mount is associated with the root PID namespace. This namespace association has the following effects:
  • Only processes within the PID namespace have directories within the mount.
  • Any displayed PIDs are in the context of this namespace, unless otherwise noted.
End of change