Setting up the S/390 hypervisor file system

Red Hat Enterprise Linux 9.2 LPAR mode z/VM guest

To use the file system, it must be mounted. You can mount the file system with the mount command or with an entry in /etc/fstab.

To mount the file system manually, issue the following command:

# mount none -t s390_hypfs <mount point>

where <mount point> is where you want the file system mounted. Preferably, use /sys/hypervisor/s390.

To mount hypfs by using /etc/fstab, add the following line:

none <mount point> s390_hypfs defaults 0 0
If your z/VM® system does not support DIAG 2fc, the s390_hypfs is not activated and it is not possible to mount the file system. Instead, an error message like this is issued:
mount: unknown filesystem type ’s390_hypfs’ 
To get data for all z/VM guests, privilege class B is required for the guest where hypfs is mounted. For non-class B guests, data is provided only for the local guest.

To get data for all LPARs, select the Global performance data control check box in the HMC or SE security menu of the LPAR activation profile. Otherwise, data is provided only for the local LPAR.