O'Reilly logo

VMware vSphere 5.5 Cookbook by Abhilash G B

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Masking paths to a LUN

You can remove access to a LUN by masking all of its paths to the ESXi host. This can be used when troubleshooting storage issues. This is achieved by using the MASK_PATH PSA plugin to claim the paths corresponding to the intended LUN.

The following flowchart provides an overview of the procedure:

Masking paths to a LUN

How to do it...

The following procedure will help you mask paths to a LUN:

  1. Get the NAA ID of the LUN, which needs to be masked, by issuing the following command. The following command will list all the NAA IDs seen by the ESXi:
    esxcfg-scsidevs -u
    
  2. Get the multipathing information of the LUN by issuing the following command.

    Syntax:

    esxcfg-mpath ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required