Book Image

VMware vSphere 5.5 Cookbook

By : Abhilash G B
Book Image

VMware vSphere 5.5 Cookbook

By: Abhilash G B

Overview of this book

Table of Contents (22 chapters)
VMware vSphere 5.5 Cookbook
Credits
About the Author
About the Reviewers
www.PacktPub.com
Preface
Index

Unmasking paths to a LUN


It is possible to unmask paths to a LUN. Deleting the claim rules, which were created to assign the ownership of the paths to the MASK_PATH plugin, and unclaiming the paths from the plugin, does this. Understanding how the paths to a LUN are masked will be a good starting point for this task. Read the recipe Masking paths to a LUN before you begin. The following flowchart provides an overview of the unmasking procedure:

How to do it...

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

  1. Identify the claim rules corresponding to the LUN and remove them.

    Syntax:

    esxcli storage claimrule remove –r <rule ID>
    

    We know that the rule IDs are 120 and 121 from the recipe Masking paths to a LUN.

    Example:

    esxcli storage core claimrule remove -r 120
    esxcli storage core claimrule remove -r 121
    
  2. Now that the rules have been deleted from the file, reload the claim rules to the memory to remove the runtime entries. Issue the following command to load the rules in the memory...