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 depicts a high-level overview of the process:
![](https://static.packt-cdn.com/products/9781787127418/graphics/assets/e67eb37c-186f-4ab1-bc79-58d60cb734c6.png)