Scanning LUNs on a Host
To change the LUN mappings on the storage system, including but not limited to removing and adding a LUN, modifying the host LUN ID, and changing the port online, refer to How Can I Change LUN Mappings When Non-Huawei Multipathing Software Is Used?
After configuring an initiator, check its status.
- If its Status is Online, the FC connection is set up successfully.
- If its Status is Offline, run the cfgmgr -v command on host to scan hardware.
To enable the host to discover mapped LUNs, perform the following operations:
- Run the cfgmgr -v command.
bash-3.2# cfgmgr -v
- Run the lsdev -Cc disk command to view the information about disks identified by the operating system.
bash-3.2# lsdev -Cc disk hdisk0 Available 01-08-00 SAS Disk Drive hdisk1 Available 01-08-00 SAS Disk Drive hdisk2 Available 06-00-02 Huawei XSG1 FC Disk Drive bash-3.2#
In this example, hdisk2 is identified.