7.8.13 Listing volumes mapped to the host Use the  lshostvdiskmap  command to show the volumes that are mapped to the specific host,  as shown in Example 7-24. In the output of the command, you can see that only one volume ( volume_A ) is mapped to the  host  Siam . The volume is mapped with SCSI LUN ID 0.  If no host name is specified as  lshostvdiskmap  command, it returns all defined  host-to-volume mappings. Specifying the flag before the host name:  Although the  -delim  flag normally comes at  the end of the command string, you must specify this flag before the host name in this  case. Otherwise, it returns the following message:  CMMVC6070E An invalid or duplicated parameter, unaccompanied argument, or  incorrect argument sequence has been detected. Ensure that the input is as per  the help. You can also use the  lshostclustervolumemap  command to show the volumes that are  mapped to a specific host cluster, as shown in Example 7-25. To identify the hosts to which a specific volume was mapped, issue the  lsvdiskhostmap command, as shown in Example 7-26. This command shows the list of hosts to which the volume  volume_B  is mapped.  Specifying the -delim flag:  Although the optional  -delim  flag normally comes at the end  of the command string, you must specify this flag before the volume name in this case.  Otherwise, the command does not return any data. Example 7-25 The lshostclustervolumemap command Example 7-26 The lsvdiskhostmap command Example 7-24 The lshostvdiskmap command  IBM_2145:ITSO_CLUSTER:superuser>lshostvdiskmap -delim , Siam id,name,SCSI_id,vdisk_id,vdisk_name,wwpn,vdisk_UID 3,Siam,0,0,volume_A,210000E08B18FF8A,60050768018301BF280000000000000C IBM_Storwize:ITSO:superuser>lshostclustervolumemap id name SCSI_id volume_id volume_name volume_UID IO_group_id IO_group_name 0 vmware_cluster 0 9 UNCOMPRESSED_VOL 6005076400F580049800000000000011 0 io_grp0 IBM_2145:ITSO_CLUSTER:superuser>lsvdiskhostmap -delim , volume_B id,name,SCSI_id,host_id,host_name,vdisk_UID 26,volume_B,0,2,Almaden,6005076801AF813F1000000000000020 7.8.14 Listing hosts mapped to the volume Chapter 7. Volumes  307