Working with z/VM unit record devices

6.10 z/VM guest

Load the z/VM® unit record device driver, if needed, then set the required virtual unit record devices online.

Procedure

  1. If the z/VM unit record device driver was compiled as a separate module, load it with the modprobe command.
    # modprobe vmur

    There are no kernel or module parameters for the vmur device driver.

  2. Set the devices that you want to work with online.
    For example, to set the devices with device bus-IDs 0.0.000c, 0.0.000d, and 0.0.000e online, issue the following command:
    # chccwdev -e 0.0.000c-0.0.000e

What to do next

You can now use the vmur command to work with the devices.

If you want to unload the vmur module, close all unit record device nodes. Attempting to unload the module while a device node is open results in error message Module vmur is in use. You can unload the vmur module, for example, by issuing modprobe -r.

Serialization is implemented per device; only one process can open a particular device node at any one time.