Mounting the content of the removable media at the HMC

Red Hat Enterprise Linux 9.2 LPAR mode z/VM guest

Use the hmcdrvfs command to mount the content of the removable media at the HMC.

Before you begin

Your Linux® instance must have access to the removable media of the HMC.

About this task

You can mount the content of the removable media at the HMC in read-only mode on the Linux file system.

Procedure

  1. Optional: Confirm that your are accessing the intended content by issuing the lshmc command.
  2. Mount the media content by issuing a command of this form:
    # hmcdrvfs <mountpoint>
    where <mountpoint> is the mount point on the Linux file system.
    Example: The following command mounts the media content at /mnt/hmc:
    # hmcdrvfs /mnt/hmc

Results

You can now access the files on the media in read-only mode through the Linux file system.

What to do next

When you no longer need access to the media content, unmount the media with the fusermount command.