This post is more than 5 years old
111 Posts
0
908
June 1st, 2011 12:00
Report on bound devices to thin pool
I would appreciate any help. I am looking at the StorageScope Reference Guide 6.1 but the answer is not jumping out at me.
Within SMC, I can see which TDEVs are bound to a pool and which are not. This shows up as device status as "Ready" meaning bound and "Not Ready" which means it is not bound.
I am looking to create a query that will report on this but I can not find the table that would show this information.
I though it maybe within "Pools" or "Storage Pools" but do not see anything that shows whether a TDEV is bound or not.
It would be helpful to be able to write a query that will show whether a device is mapped and bound to show candidates that
could be unbound to free up pool space.
Any insight would be appreciated
Chris
SarahXu1
59 Posts
0
June 1st, 2011 13:00
You can create custom query using 'Luns' object from query builder:
1. Choose object: Arrays, Luns and Pools
2. Pick columns you want, for example: array name, lun name, lun size, is mapped, pool name
3. Filter on lun type contains 'Thin'. This will give you only thin devices.
4. Save and run
For thin device bound to a pool, its pool name will have some value; for unbound device, pool name is empty.
Hope this helps.
Sarah
chrisp3
111 Posts
0
June 1st, 2011 13:00
Just what I was looking for...
Thank you for the detailed answer and quick response
Chris