rmdevice
Use the rmdevice command to remove a direct connection to a storage system.
To remove a storage system that is attached through a Hardware Management Console (HMC) connection, use the rmmc command.
To remove a storage system that is attached through an IBM® z/OS® connection, use the rmstorsys command.
Syntax
Parameters
- -help | -h | -?
- Lists help for the command. If you specify additional parameters and arguments, those parameters and arguments are ignored.
- -quiet
- Suppresses the confirmation prompt for this command. This flag answers yes to all confirmation prompts.
- -port port_number
- Specifies the port number if a nondefault port number was entered when the storage system was added.
- -ip ip_address
- Specifies the IP address or host name of the node that is used by the following storage
systems:
- Storage Virtualize devices.
- IBM SAN Volume Controller.
- id | -
- Specifies the ID of the storage system to be removed.
Alternatively, use the dash (-) to specify that input for this parameter comes from an input stream (stdin). The dash is supported only in single-shot mode.
Example: Removing an IBM TotalStorage Enterprise Storage Server Model 800
The following command removes the TotalStorage Enterprise Storage Server® Model 800 with ID ESS:BOX:2105.18596 without prompting for confirmation.
csmcli> rmdevice -quiet ESS:BOX:2105.18596The following output is returned:
IWNH1614I The connection at sts596c0:sts596c1 was successfully removed.
Example: Removing a SAN Volume Controller
The following command removes the SAN Volume Controller with ID SVC:CLUSTER:RMSVC02 and IP address 127.0.0.1 without prompting for confirmation.
csmcli> rmdevice -quiet -ip 127.0.0.1 SVC:CLUSTER:RMSVC02The following output is returned:
IWNH1614I The storage device at 127.0.0.1 was successfully removed.
Example: Removing an FlashSystem/IBM Spectrum Accelerate
The following command removes the FlashSystem/IBM Spectrum Accelerate with ID XIV:BOX:6000646 without prompting for confirmation.
csmcli> rmdevice -quiet XIV:BOX:6000646The following output is returned:
IWNH1624I The storage system XIV:BOX:6000646 was successfully removed.
