Restricting iSeries™ tape and optical drives

This topic discusses how to restrict tape and optical drive usage for your integrated Linux® server.

You can prevent a Linux server from using a particular tape or optical device by specifying the tape or optical device as a restricted resource in the server’s NWSD.

Restricting iSeries tape and optical drives from iSeries Navigator

Go to the server properties panel, then the System tab. Click the Advanced button. Go to the Restricted Devices tab.

Restricting iSeries tape and optical drives using CL commands

To restrict devices, complete the following steps:

  1. Shut down the integrated Linux server.
  2. Type WRKNWSD on the i5/OS™ command line. Press Enter. The Work with Network Server Descriptions display appears. Type 2 in the Opt column next to the NWSD that you want to change. Press Enter. The Change Network Server Desc display appears.
  3. Optional: Type CHGNWSD on the command line. Press Enter. The Change Network Server Desc display appears. Enter the name of the NWSD. Press Enter.
  4. Scroll down to the Restricted device resources parameter (RSTDEVRSC) and list the devices that are not to be made available. To specify more than two resources, type a + in the + for more values field and press Enter.

    After you have entered your resources press Enter. Here is an example:

    CHGNWSD NWSD(nwsd-name) RSTDDEVRSC(OPT01 TAP02)
  5. Restart the server.