Unlinking Linux drives

This topic discusses how to unlink integrated Linux® server drives.

You can unlink a Linux drive from a Linux server either when the server is shut down or when it is up and running. Unlinking a dynamic storage space from a running server is only possible at V5R3 or later, and before you unlink the drive you must ensure that:

Unlinking Linux drives using iSeries™ Navigator

To unlink a Linux drive using iSeries Navigator, complete the following steps:

  1. If you want to unlink the Linux drive dynamically, unmount the drive from the server using the umount command from the Linux server’s console.
  2. If you do not want to unlink the drive dynamically, shut down the Linux server to which the drive is linked.
  3. Click All Virtual Disks under Integrated Server Administration.
  4. Right-click the drive you want to unlink.
  5. Select Remove link to open the Remove Link from Server window. The disk drive name and description that you specified when you created the storage space are displayed.
  6. Click Remove to unlink the drive.

Unlinking Linux drives using CL commands

To unlink a Linux drive using a CL command, complete the following steps:

  1. If you want to unlink the Linux drive dynamically, unmount the drive from the server using the umount command from the Linux server’s console.
  2. If you do not want to unlink the drive dynamically, shut down the Linux server to which the drive is linked.
  3. Type in WRKNWSSTG. Press Enter. The Work with Network Server Storage Spaces display appears. Type 11 in the Opt column next to the storage space that you want to unlink. Press Enter. The Remove Server Storage Link display appears.
  4. Optionally, you can type RMVNWSSTGL on the command line. Press Enter. The Remove Server Storage Link display appears.
    1. For “Network server storage space” enter the storage space name.
    2. For “Network server description” enter the NWSD that corresponds to your Linux server.
    3. You might need to press F9 to see the Renumber link parameter. It is recommended that you take the default of *YES for this parameter unless you plan to relink the drive at a later time.
  5. Press Enter. You see a message at the bottom of the display confirming that the storage space was unlinked successfully from the NWSD.