Announcement Banner

Imtiaz_Uddin_Mo

updated

11 years ago

0

5583

January 15th, 2013 05:00

VMAX thin pool info

Hello,

I have a list of 1000 TDEVs and they belong to different thin pools. Is there a cli command I can run to get the pool information for those TDEVs ? (Apart from using symdev show for each TDEV)

Thanks in advance !

Taz~

  • 2065

    1

    Posted January 18th, 2013 23:00

    Thanks everyone for your valuable comments.

    I finally found the way to get the pool information sorted out with this command (Run all at once in CLI)

    symdev -sid XXX show 1FBD | findstr "Pool" >> C:\Taz\pool.txt
    symdev -sid XXX show 2C35 | findstr "Pool" >> C:\Taz\pool.txt
    symdev -sid XXX show 1FBE | findstr "Pool" >> C:\Taz\pool.txt
    symdev -sid XXX show 2298 | findstr "Pool" >> C:\Taz\pool.txt
    symdev -sid XXX show 2345 | findstr "Pool" >> C:\Taz\pool.txt
    -
    -
    -
    -
    -

    OUTPUT:

    Bound Thin Pool Name     : COD_Rem_PROD
    Bound Thin Pool Name     : COD_Rem_PROD
    Bound Thin Pool Name     : COD_Rem_PROD
    Bound Thin Pool Name     : COD_Rem_PROD
    Bound Thin Pool Name     : COD_Rem_PROD
    -
    -
    -
    -


    As I had the "TextPad" editor, I just used the Configure > Block select mode menu option and selected all the Thin Pool name column and filtered out using Microsoft Excel. It worked like a charm. Took 10 mins in total.

    Thanks

    Taz

  • Zikas

    278 Posts

    1712

    0

    Posted January 15th, 2013 06:00

    Hi,

    execute the command:

    symcfg -sid <> list -tdev -bound -GB

  • dynamox

    11 Legend

    •

    20419 Posts

    •

    87439 Points

    1712

    0

    Posted January 15th, 2013 06:00

    list pools and grep out your devices ?

  • Zikas

    278 Posts

    1712

    0

    Posted January 15th, 2013 07:00

    Also

    symcfg -sid <> list -tdev -GB -detail

  • Zikas

    278 Posts

    1717

    2

    Posted January 15th, 2013 22:00

    Good morning Mohammed,

    i am more Windows guy and using the Microsoft products to simplify my life in the degree that i can.

    So using the command "symcfg -sid <> list -tdev -bound -GB" why don't you export the output in a txt file and then convert this txt file to an excel file.

    Through the excel file you can do whatever you want. Put filters, sort them with the order you want e.t.c. so you will have every time an xls file updated and ready to use it.

    Cheers

    John

  • 1717

    0

    Posted January 15th, 2013 22:00

    Thanks Jon.

    That was my first option in the list but I was thinking if we have anything better than excel.

    Anywayz, thanks everyone for your responses.

  • 1717

    0

    Posted January 15th, 2013 22:00

    Thanks Peri.

    Let me redefine my query again.

    I have a list of 1000 TDEVs which belong to "different" thin pools. If we do a

    "symcfg -sid <> list -tdev -bound -GB" we are getting the list of devices which are bound to that pool. But my query says 1000 TDEVs belonging to different pools.

    Is there a way we can pass the list of TDEVs belonging to the pool and AWK (grep) only those TDEVs. (could be 400 in that list out of those 1000).

    Thanks again!

    Taz~

  • Archuperi721

    110 Posts

    1717

    0

    Posted January 15th, 2013 22:00

    symdev -sid xxxx list -tdev -v | findstr "Pool"”

    Regards,

    Periyakaruppan N (Peri),

  • 1712

    0

    Posted January 15th, 2013 22:00

    @dynamox - grepping those 1000 TDEVs ?

    @Zikas - The output is listing all the TDEVs bound,, but how do we grep to those device list I have.

    Additionaly am using symcli for windows.

  • dynamox

    11 Legend

    •

    20419 Posts

    •

    87439 Points

    1717

    0

    Posted January 16th, 2013 03:00

    excel can get very cumbersome, you can install grep and awk for windows and enjoy very powerful tools. It would take a few seconds to grep 1000 devices from a list of all devices.