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:
