Managing Basic Storage Services Using the CLI
This section provides some CLI commands for managing basic block storage services.
- The CLI commands supported by different models may vary.
- For more CLI commands and their description, see the Command Reference specific to your product model and version.
Managing Disk Domains
Operation |
Command |
---|---|
Creating a disk domain |
create disk_domain |
Querying disk domains |
show disk_domain general |
Modifying a disk domain |
change disk_domain general |
Deleting a disk domain |
delete disk_domain |
Managing Storage Pools
Operation |
Command |
---|---|
Creating a storage pool |
create storage_pool |
Querying storage pools |
show storage_pool general |
Modifying a storage pool |
change storage_pool general |
Deleting a storage pool |
delete storage_pool |
Managing LUNs
Operation |
Command |
---|---|
Creating a LUN |
create lun |
Querying LUNs |
show lun general |
Modifying a LUN |
change lun |
Deleting a LUN |
delete lun |
Querying information about the LUN group related to a specified LUN |
show lun lun_group |
Querying information about the mapping related to a specified LUN |
show lun mapping_view |
Managing LUN Groups
Operation |
Command |
---|---|
Creating a LUN group |
create lun_group |
Querying LUN groups |
show lun_group general |
Modifying a LUN group |
change lun_group |
Deleting a LUN group |
delete lun_group |
Adding LUNs to a LUN group |
add lun_group lun |
Removing LUNs from a LUN group |
remove lun_group lun |
Querying LUNs in a LUN group |
show lun_group lun |
Querying information about the mapping related to a specified LUN group |
show lun_group mapping_view |
Managing Hosts
Operation |
Command |
---|---|
Creating a host |
create host |
Querying hosts |
show host general |
Modifying a host |
change host |
Deleting a host |
delete host |
Adding an initiator for a host |
add host initiator |
Removing an initiator |
remove host initiator |
Scanning for hosts where UltraPath is installed |
scan host |
Enabling or disabling the automatic host discovery function |
change host_auto_scan |
Checking whether the automatic host discovery function is enabled |
show host_auto_scan |
Querying the host group to which a host is added |
show host host_group |
Querying all LUNs mapped to a host |
show host lun |
Managing Initiators
Operation |
Command |
---|---|
Creating an initiator |
create initiator iscsi create initiator fc |
Querying initiators |
show initiator |
Modifying an initiator |
change initiator |
Deleting an initiator |
delete initiator iscsi delete initiator fc |
Managing Host Groups
Operation |
Command |
---|---|
Creating a host group |
create host_group |
Querying host groups |
show host_group general |
Modifying a host group |
change host_group general |
Deleting a host group |
delete host_group |
Adding hosts to a host group |
add host_group host |
Removing hosts from a host group |
remove host_group host |
Querying hosts in a host group |
show host_group host |
Querying information about the mapping related to a specified host group |
show host_group mapping_view |
Managing Port Groups
Operation |
Command |
---|---|
Creating a port group |
create port_group |
Querying port groups |
show port_group general |
Modify a port group |
change port_group general |
Deleting a port group |
delete port_group |
Adding ports to a port group |
add port_group port |
Removing ports from a port group |
remove port_group port |
Querying ports in a port group |
show port_group port |
Querying information about the mapping related to a specified port group |
show port_group mapping_view |
Managing Mappings
Operation |
Command |
---|---|
Creating a mapping |
create mapping_view |
Querying mappings |
show mapping_view general |
Modifying a mapping |
change mapping_view |
Deleting a mapping |
delete mapping_view |
Adding a host group to a mapping |
add mapping_view host_group |
Removing a host group from a mapping |
remove mapping_view host_group |
Adding a LUN group to a mapping |
add mapping_view lun_group |
Removing a LUN group from a mapping |
remove mapping_view lun_group |
Adding a port group to a mapping |
add mapping_view port_group |
Removing a port group from a mapping |
remove mapping_view port_group |
Querying host groups in a mapping |
show mapping_view host_group |
Querying LUN groups in a mapping |
show mapping_view lun_group |
Querying port groups in a mapping |
show mapping_view port_group |
Managing the Service Network
Operation |
Command |
---|---|
Querying Ethernet ports |
show port general physical_type=ETH logic_type=Host_Port |
Modifying an Ethernet port |
change port eth |
Querying bit errors |
show port bit_error NOTE:
You can also run this command to query bit errors on other types of ports. |
Operation |
Command |
---|---|
Creating a bond port |
create bond_port |
Querying bond ports |
show bond_port |
Modifying a bond port |
change bond_port general |
Deleting a bond port |
delete bond_port |
Operation |
Command |
---|---|
Creating a VLAN |
create vlan general |
Querying VLANs |
show vlan general |
Modifying a VLAN |
change vlan general |
Deleting a VLAN |
delete vlan general |
Operation |
Command |
---|---|
Creating a logical port |
|
Querying logical ports |
show logical_port general |
Modifying a logical port |
change logical_port general |
Deleting a logical port |
delete logical_port general |
Adding a route for a logical port |
|
Querying routes of a logical port |
show logical_port route |
Deleting routes of a logical port |
|
Operation |
Command |
---|---|
Querying Fibre Channel ports |
show port general physical_type=FC |
Modifying a Fibre Channel port |
change port fc |