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:
- No users are using the Linux drive to be unlinked.
- The drive was linked dynamically in the first place.
- If the disk is part of an active logical volume group, it cannot be unlinked.
Unlinking Linux drives using iSeries™ Navigator
To unlink
a Linux drive
using iSeries Navigator,
complete the following steps:
- 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.
- If you do not want to unlink the drive dynamically, shut down the Linux server
to which the drive is linked.
- Click All Virtual Disks under Integrated Server
Administration.
- Right-click the drive you want to unlink.
- 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.
- 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:
- 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.
- If you do not want to unlink the drive dynamically, shut down the Linux server
to which the drive is linked.
- 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.
- Optionally, you can type RMVNWSSTGL on the command
line. Press Enter. The Remove Server Storage Link display
appears.
- For “Network server storage space” enter the storage space name.
- For “Network server description” enter the NWSD that corresponds to your Linux server.
- 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.
- Press Enter. You see a message at the bottom of
the display confirming that the storage space was unlinked successfully from
the NWSD.