HP StorageWorks 2300 Family Modular Smart Array CLI reference guide (500912-002, July 2010)
HP StorageWorks 2000 G2 Modular Smart Array CLI Reference Guide 53
delete host
Description Deletes a manually created host. Does not delete hosts that were discovered or are mapped. Before
you can delete a manually created host that is mapped, you must unmap it.
Syntax
delete host host
Parameters host
The host ID or nickname.
Example Delete the manually created host MyHost:
# delete host MyHost
Info: Command completed successfully. - Host MyHost was deleted.
Success: Command completed successfully.
Try to delete the mapped host Host1:
# delete host Host1
Error: The specified host is mapped to one or more volumes so the host was not
deleted. - Host Host1 is mapped, so it cannot be deleted.
Error: Remove host failed - some host(s) may have been removed.
Try to delete the discovered host 500605B000320BB4:
# delete host 500605B000320BB4
Error: The specified host is discovered and can not be deleted. Disconnect the
host, restart the Storage Controllers, and retry. - Host 500605B000320BB4 was
discovered, so it cannot be deleted.
Error: Remove host failed - some host(s) may have been removed.
See also • show host-maps
• show hosts