HP MSA 2040 CLI Reference Guide
78 Alphabetical list of commands
delete host
delete host-wwn-name (Deprecated)
Use delete host.
delete iscsi-host (Deprecated)
Use delete host.
Description Deletes a manually created host or the nickname of a discovered host. If the host is not mapped or
has only default mappings, you can delete the host. If the host has explicit mappings, you must
delete the mappings before you can delete the host. If you delete the nickname of a discovered host,
commands will show the host by its ID.
Syntax
delete host
host
Parameters
host
The ID or nickname of the host.
Example Delete the manually created host named MyHost:
# delete host MyHost
Success: Command completed successfully. (2012-01-18 17:06:41)
Delete the nickname of discovered host named Host1:
# delete host Host1
Success: Command completed successfully. (2011-10-10 17:06:51)
Try to delete the mapped host whose ID is 100000062b0e5e15:
# delete host 100000062b0e5e15
Error: The specified host is mapped to one or more volumes so the host was not
deleted. (2012-01-18 17:10:20)
See also • create host
• set host-name
• show host-maps
• show hosts