Got it

Solaris - How Do I Query the Mapping Between Host Disks and LUNs When the UltraPath Software Is Not Installed?

158 0 0 0 0

When the UltraPath is not installed on a host, perform the following operations to query the mapping between host disks and LUNs.


Querying the Mapping Between Host Disks and LUNs (Solaris)

Step 1      On the storage system, obtain the host ID.

1.         Log in to the command-line interface (CLI) of the storage system as a super administrator.

2.         Run show initiator initiator_type=? [ wwn=? | iscsi_iqn_name=? ] to show the host corresponding to the WWN or iSCSI IQN.

admin:/>show initiator initiator_type=FC wwn=XXXXXXXXXXXXXX   
WWN               : XXXXXXXXXXXXXX  
Running Status    : Online 
Free              : Yes 
Alias             : suse2_01 
Host ID           : 2 
Multipath Type    : Default

The value of Host ID is the ID of a host corresponding to the WWN.


 

Step 2      On the host, obtain the host LUN ID corresponding to a disk.

1.         Run the cfgadm -al and devfsadm -C command to scan the disk.

2.         Run the echo | format command to update the number of devices and query the host LUN ID.

1_en-us_image_0223218428.gif



Step 3      On DeviceManager, view the host LUN ID of the LUN mapped to the host.

1.         Log in to DeviceManager.

2.         Choose Hosts > Hosts.

3.         Choose the host queried in Step 2.2, and view the host LUN ID of the LUN mapped to the host.



 Step 4      Check whether the two host LUN IDs are the same. If they are the same, the LUN is the one corresponding to the host disk.


Comment

You need to log in to comment to the post Login | Register
Comment

Notice: To protect the legitimate rights and interests of you, the community, and third parties, do not release content that may bring legal risks to all parties, including but are not limited to the following:
  • Politically sensitive content
  • Content concerning pornography, gambling, and drug abuse
  • Content that may disclose or infringe upon others ' commercial secrets, intellectual properties, including trade marks, copyrights, and patents, and personal privacy
Do not share your account and password with others. All operations performed using your account will be regarded as your own actions and all consequences arising therefrom will be borne by you. For details, see " User Agreement."

My Followers

Login and enjoy all the member benefits

Login

Block
Are you sure to block this user?
Users on your blacklist cannot comment on your post,cannot mention you, cannot send you private messages.
Reminder
Please bind your phone number to obtain invitation bonus.