Start a Conversation

This post is more than 5 years old

Solved!

Go to Solution

1577

June 29th, 2012 06:00

getunusedluns Works For RG LUN's. How About For Pool LUN's

So, I can run naviseccli -h getunusedluns and get a list of raid group LUN's that are not used by the system in any way. Is there is similar command to display unused LUN's that are in a storage pool?

We are running 04.30.000.5.524 Flare code on the Clariion.

Thank you in advance!

Dave

July 1st, 2012 19:00

What I am finding is that "Features: N/A" does not imply it is in a storage group or not.  The only value is that it verifies if a lun is in use by an array feature such as Snapview if Features: != N/A.

For instance, the pseudo-code to gather the Unused pool and traditional LUNS (not in a storage group or used by array features) off the top of my head may look like the following:

1) getunusedluns

This returns the results for traditional LUN's not in a storage group or used by array features

2) lun -list -featureData && Feature: != N/A

This implies that it is in use by an array feature such as Snapview (or in other words, Feature: = Snapview, Clone, etc)

3) Identify just the pool luns in a storage group

Remember the traditional LUNs are accounted for in #1

4) Remove the results of #2 and #3 from the TOTAL pool LUN list and add results of #1

Thoughts?

June 29th, 2012 10:00

Hi Dave,

How are you doing today..?

If I am not wrong there is no commend to get the list of unused LUNs for Storage Pool.., However, Let me double confirm ……

Regards,

Suman Pinnamaneni

9 Legend

 • 

20.4K Posts

June 29th, 2012 15:00

does it need to be a scripted process ? Because you can see these LUNs in Unisphere and can export to csv if need to.

9 Legend

 • 

20.4K Posts

June 29th, 2012 19:00

in Unisphere you can sort by LUNs that are not presented to hosts

Capture.PNG

26 Posts

June 29th, 2012 19:00

It does not need to be scripted but it can be, I'm not picky.

I am positive that I have a metric ton of unused LUN's in our storage pools but I can't find them easily like I could with the Raid Group LUN's and the getunusedluns flag.

I can't believe that EMC wouldn't provide this ability.

26 Posts

June 30th, 2012 10:00

Hey Dynamox,

Yep, that will show a LUN that not assigned to a host but it doesn't take things like MirrorView target, etc... into consideration. This does not truly mean that a LUN is unused, just that it isn't presented to a host.

Other thoughts?

Thanks!

Dave

9 Legend

 • 

20.4K Posts

July 1st, 2012 06:00

i don't see any one command that would do that, even if you just list all LUNs, there are no specific strings to look for ..something that would indicate for example that this LUNs is a source or target of SnapView operations. I see a little scripting project in your future

1.4K Posts

July 1st, 2012 11:00

I agree with dynamox. There's no such command to display unused LUN's that are in a storage pool as such.

At least, none that I am aware of. I did research on your query on Friday but I did not find anything in Latest Navisphere CLI Reference. For now, as scripting is the way!

July 1st, 2012 16:00

While everyone agrees there is no direct equivalent for getunusedluns for pool luns, you can at least use the -featureData option to identify the pool luns in use by Snapview, etc.

For instance, running the following command:

naviseccli -h lun -list -featureData

might provide output such as:

Features:

Snapview

9 Legend

 • 

20.4K Posts

July 1st, 2012 19:00

My thought ..we need to submit an RFE to navicli developers 

July 1st, 2012 20:00

Hehe, true. 

For anyone that stumbles on this thread, I figured I'd provide the link that people can use to submit a feature request.  It is available on Powerlink via the following breadcrumb trail:

Home > Support > Request Support > Request a Product Enhancement

Then click on "Getting started".

26 Posts

July 2nd, 2012 05:00

Thank you all for the feedback to my question. It is certainly appreciated. I will see what I can do to open up an RFE to get this added.

Kind regards,

Dave

No Events found!

Top