Unmapping a logical unit

You can unmap a logical unit by using the Virtual I/O Server (VIOS) command-line interface.

To unmap logical units from the virtual server adapter, complete the following steps:

  1. To display the mapping of the virtual server adapter, enter the lsmap -all command.
    SVSA            Physloc                                      Client Partition ID
    --------------- -------------------------------------------- ------------------
    vhost0          U8203.E4A.10D4451-V4-C12                     0x00000002
    
    VTD                   vtscsi0
    Status                Available
    LUN                   0x8100000000000000
    Backing device        testLU.b1277fffdd5f38acb365413b55e51638
    Physloc                
    Mirrored              N/A
    
    VTD                   vtscsi1
    Status                Available
    LUN                   0x8200000000000000
    Backing device        test_LU.8f5a2c27dce01bf443383a01c7f723d0
    Physloc                
    Mirrored              N/A
  2. To unmap a logical unit, run the rmbdsp command with the -vtd option. If you do not use the -vtd option, the entire logical unit is removed. In the following example, the mapping for the luA2 logical unit is removed.
    rmbdsp -vtd vtscsi1



Last updated: Thu, October 15, 2020