ONTAP Discussions
ONTAP Discussions
Hi all,
Can anyone guide me on how to verify the status of a LUN (via GUI or CLI) to ensure it is not in use or mapped but not used in any host/server?
I need to confirm definitively that the LUN is no longer in use before proceeding with removal. Any guide would be appreciated. Thank you.
Regards,
Zul
Solved! See The Solution
Hi Zul,
you can use lun show command where it gives you the state whether its mapped or unmapped. if you need to check for the specific lun, you can use lun mapping show command
Ref:
https://docs.netapp.com/us-en/ontap-cli/lun-mapping-show.html#description
You can use the following command:
::>lun show View map status
::>lun mapping show View the lun that is being mounted
Here is a link you can refer tohttps://docs.netapp.com/us-en/ontap-cli-97//lun-mapping-show.html#description
hi @wareer ,
Any specific command and parameter to check if lun is mounted but not use or dont have any I/O on that mounted LUN? Please advise
Hi Zul,
you can use lun show command where it gives you the state whether its mapped or unmapped. if you need to check for the specific lun, you can use lun mapping show command
Ref:
https://docs.netapp.com/us-en/ontap-cli/lun-mapping-show.html#description
Hi Vijay,
If LUN is mapped, it appeared as a path when we run the command right? And is it the mapped LUN is considered LUN is in use? Or might mapped but not use? Please advise