Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Mute
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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
1 ACCEPTED SOLUTION
Vijay5 has accepted the solution
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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
5 REPLIES 5
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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
Vijay5 has accepted the solution
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Zulhadi,
Lun mapping a logical entity for a host to access the lun and when a lun is mapped it will be visible on the host.
We can't really say if a lun is in use or not just by the lun mapping , host admin should be aware off if they are in use.
You can use sysstat commad to check if there are IOPS happening on that lun.
If you are planning to decommission, then unmap the lun followed by the decommission process.
Regards,
VijayaKumar P
Lun mapping a logical entity for a host to access the lun and when a lun is mapped it will be visible on the host.
We can't really say if a lun is in use or not just by the lun mapping , host admin should be aware off if they are in use.
You can use sysstat commad to check if there are IOPS happening on that lun.
If you are planning to decommission, then unmap the lun followed by the decommission process.
Regards,
VijayaKumar P
