Adding LUNs on the Storage System
Create new LUNs on the storage system and map them to application servers' LUN groups.
Prerequisites
- Communication is normal between the storage system and the application server to which storage space is being expanded.
- You have determined the size of the new LUNs.
- The storage pool on the storage system has sufficient space for the new LUNs.
- If a Fibre Channel network is used, the WWN of the Fibre Channel initiator has been obtained.
- If an iSCSI network is used, the IQN of the iSCSI initiator has been obtained.
Procedure
- Locate the LUN group.
- Log in to the CLI.
- Run the show initiator initiator_type=? [ wwn=? | iscsi_iqn_name=? ] command to view the information about the corresponding host based on the initiator WWN or IQN.
Parameter
Description
Value
initiator_type=?
Initiator type
Possible values are FC and iSCSI, where:
- iSCSI: indicates an iSCSI initiator.
- FC: indicates a Fibre Channel initiator.
wwn=?
WWN of a Fibre Channel initiator. This parameter is available only when initiator_type=? is FC.
To obtain the value, run the show initiator command without parameters.
iscsi_iqn_name=?
IQN of an iSCSI initiator. This parameter is available only when initiator_type=? is iSCSI.
To obtain the value, run the show initiator command without parameters.
admin:/>show initiator initiator_type=FC wwn=100000109b1c80ba WWN : 100000109b1c80ba Running Status : Online Free : No Alias : -- Host ID : 0 Multipath Type : Default Failover Mode : -- Path Type : -- Special Mode Type : --
The value of Host ID is the ID of the host corresponding to the WWN.
- Run the show host host_group host_id=? command to query the information about the owning host group of the host.
admin:/>show host host_group host_id=2 Host Group ID Host Group Name ------------- --------------- 1 HostGroup000
- Run show host_group mapping_view host_group_id=? to query the information about the mapping view added to the host group.
admin:/>show host_group mapping_view host_group_id=1 Mapping View ID Mapping View Name --------------- ----------------- 0 testing
- Run show mapping_view lun_group mapping_view_id=? to query the information about the LUN group added to the mapping view.
admin:/>show mapping_view lun_group mapping_view_id=0 LUN Group ID LUN Group Name ------------ -------------- 1 lun_group_001
- In the navigation tree on DeviceManager, click
.
The Provisioning page is displayed.
- Create LUNs.
- In the Block Storage Service area, click LUN.
- Click Create.
The Create LUN page is displayed.
- Set parameters as required. Table 13-8 describes the parameters.
Table 13-8 Main parameters for creating a LUN
Parameter
Description
Capacity
Indicates the actual storage space assigned to the LUN.
Quantity
Indicates the quantity of LUNs to be created. The storage system allows you to create multiple LUNs at a time. Each LUN is allocated with the same capacity and automatically named.
- Click OK. The LUN creation is complete.
- Add the new LUNs to the LUN group.
- On the LUN management page, click the LUN Group tab.
- Select the LUN group to which you want to add the LUNs and click Add Object.
- In the Available LUNs area, select the new LUNs, click
to add them to the Selected LUNs area.
- Click OK.