Mapping a volume by using the CLI A useful way for administrators to perform this task might be to use the CLI. Volumes can be  mapped by using the  svctask mkvdiskhostmap  command. How to map a volume to a host by using the CLI is shown in Example 7-4. In the CLI process for mapping volumes, this example uses the logical number for the host  and the logical number for the volume. These logical numbers can be discovered by using the  following commands: When you remove a volume mapping, you are not deleting the volume. Instead, you are  removing the connection from the host to the volume. If you mistakenly map a volume to a  host or if you want to reassign the volume to another host, click  Volumes  Volumes by  Host . Highlight the volume or a group of volumes that you want to unmap, right-click, and  click  Unmap from Host , as shown in Figure 7-91. Unmapping volumes Example 7-4 Map volume by using the CLI GLYPH<SM590000> lshost : Shows defined hosts and their status GLYPH<SM590000> lsvdisk : Shows defined volumes and their preferences IBM_Flashsystem:FlashSystem_900:superuser>svctask mkvdiskhostmap -force -host 0 4 Virtual Disk to Host map, id [4], successfully created IBM_Flashsystem:FlashSystem_900:superuser>lsvdiskhostmap 4 id name SCSI_id host_id host_name vdisk_UID IO_group_id IO_group_name 4 SVC_5 4 0 SVC 0020c24004000000 0 io_grp0 IBM_Flashsystem:FlashSystem_900:superuser> Figure 7-91 Unmap multiple volumes from a single host The Unmap Volumes from Host window opens, which indicates that the selected volumes are  to be unmapped (see Figure 7-92 on page 238). Click  Yes  to confirm that volume unmaps  from the specified host. Chapter 7. Using IBM FlashSystem 900  237