Configuring Basic Storage Services Using the CLI
This section provides some CLI commands for configuring 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.
Configuration Process
The following flowchart shows the common configuration process.
Preparing for the Configuration
Item |
Reference |
---|---|
Pre-check (software installation check, security check, and network connection status check) |
For details, see "Performing Pre-check." |
Logging in to the storage system using the CLI |
For details, see "Initializing the Storage System" in the installation guide. |
Creating Storage Space
Procedure |
Command |
---|---|
Creating a disk domain |
create disk_domain |
Creating a storage pool |
create storage_pool |
Creating LUNs |
create lun |
Creating a LUN group |
create lun_group |
Creating Mappings and Configuring Host Connectivity
Procedure |
Command |
---|---|
Creating a host |
create host |
Creating a host group |
create host_group |
(Optional) Creating a port group |
create port_group |
Creating a mapping |
create mapping_view |
Configuring host connectivity |
For details, see "Preparing for Configuration" and "Configuring Connectivity" in the Huawei SAN Storage Host Connectivity Guide for XXX. XXX represents a specific operating system, for example, Windows. |
Using storage space |
For details, see "Scanning LUNs on the Host" in the Huawei SAN Storage Host Connectivity Guide for XXX. XXX represents a specific operating system, for example, Windows. |