Deleting a disk drive (network server storage space) destroys the data on the disk drive and frees the iSeries™ disk storage so that it can be used for other purposes.
Before you can delete a disk drive, you must unlink it from the integrated server. See Unlink integrated Windows server disk drives. Once you have unlinked it, you can delete it.
To delete the disk drive, follow these steps:
If you want to use the CL command, see Delete NWS Storage Space DLTNWSSTG.
Delete disk drives when removing an integrated server
When you manually remove an integrated server, you need to delete the disk drives (network server storage spaces) that are associated with the network server description (NWSD) for that server. Also delete user-created disk drives that you own.
The Delete Windows Server (DLTWNTSVR) command is provided to remove objects created by the Install Windows server (INSWNTSVR) command. It removes the network server description (NWSD), line descriptions (LIND), storage spaces (NWSSTG), TCP interfaces, controller descriptions (CTLD), and device descriptions (DEVD). This is the recommended way to permanently remove an integrated server from the system.
You also need to delete any disk drives that i5/OS™ predefined as the system drive and installation drive for your server.
To find out what disk drives are associated with your server, see the topic Obtain information about integrated server disk drives