UNSOLVED

Pavel3

updated

18 years ago

P

Pavel3

93 Posts

0

6593

November 3rd, 2008 23:00

how to know free space on Clariion?

how to know free space on Clariion?
  • kelleg

    6 Operator

    •

    4537 Posts

    1546

    0

    Posted November 4th, 2008 13:00

    If your array is running release 24 and higher, you can run a Report from the Task bar on the left side of the Navisphere UI. Just follow the Wizard - select the report you want to run or run all reports to get an idea of what information is available - select the "Available Storage Report" for unused Raid Group capacity.

    Or you can click on Tasks/Reporting/Generate Report from the top of the UI. These reports are only available from the Navisphere UI.

    glen
  • enwillson

    1 Message

    1551

    0

    Posted October 15th, 2009 08:00

    Just wondering if anyone knows how to have this report generated/saved through the CLI? I'd like to Cron something up and save the report off on a Linux server, then send it out via e-mail weekly.

    Thanks
  • kelleg

    6 Operator

    •

    4537 Posts

    1551

    1

    Posted October 15th, 2009 14:00

    There is no CLI version for these reports

    glen
  • ewelinak

    5 Posts

    1551

    0

    Posted February 10th, 2010 06:00

    Hello,

    Following Pavels question is there a CLI command/set of commands which could be useful to count different aspekts of capacity on a clariion (flare.26)

    I need to figure out the total capacity on a clarrion - both RAW and Effective (=RAW - system disks, spares).

    The free capacity in RAID groups and free physical disk capacity.

    Also I need to determine the amount of space allocated to individual hosts.

    The Clariion reports are very handy when you need these kind of informations maybe once a month...

    I need to start storing the space information daily and possible have the output in xml format, which I could then use for a pearl input.

    I basicaly need the same information that is presented in the following reports:

    Available Storage Report,

    LUN report,

    Storage Group Report

    I have found some useful commands:

    getdisk -capacity -product -lun -RAW

    getlun -type -rg -capacity

    getrg -disk -lunlist -type -ucap -tcap

    Above commands give me a lot of information that I need, but I still do not know what hosts are logged to my Clariion and how much space they are using.

    Another question is: how do I find out using CLI how much capcaity is used for the system disks?

    The first 5 disks are usually fully reserved for a clariion itself. Are these disks highlighted in anyway in the output of the getdisk command?

    I would like to exclude them from the effective capacity in my reports.

    Any help will be very appreciated.

    Thanks in advance,

    Ewelina

  • kelleg

    6 Operator

    •

    4537 Posts

    1551

    0

    Posted February 10th, 2010 07:00

    In Chapter 4 of the Navisphere CLI guide you will find the PORT command - use this with the -LIST switch to see what hosts are logged into the array:

    naviseccli -h xxx.xxx.xxx.xxx port -list

    glen

  • ewelinak

    5 Posts

    1551

    0

    Posted February 10th, 2010 23:00

    Thank you Glen,

    I will check the output of the command you suggested and will keep you updated.

    Ewelina

  • ewelinak

    5 Posts

    1551

    0

    Posted February 12th, 2010 05:00

    Hi Glen,

    I have generated the output of the port command and its great :-)

    I got the hosts logged to my clariion.

    The output of that command gived me all the same information that is included in the "Attached Servers Report"

    I still need to get the LUN numbers or/and LUNs capacity associated with each individual hosts.

    The clariion "Storage Group Report" does give this information.

    Do you have any idea how to get this kind of information using Navi CLI?

    Regards,

    Ewelina

  • AranH1

    2163 Posts

    1551

    0

    Posted February 12th, 2010 07:00

    The following command will list all of the Storage Groups on the array and the LUNs assigned to each Storage Group. The ALU column is the LUN number.

    naviseccli -h storagegroup -list

    If you want to list a specific storagegroup use:

    naviseccli -h storagegroup -gname -list

  • ewelinak

    5 Posts

    1551

    0

    Posted February 15th, 2010 02:00

    Hi Aran,

    Thanks a milion :-) This is the command I have been looking for!!!

    Can I extend the command to also show the attached servers to a storage group?

    Best Regards,

    Ewelina

  • kelleg

    6 Operator

    •

    4537 Posts

    156

    0

    Posted February 15th, 2010 09:00

    The storagegroup -list switch will list the  WWN of the HBA's attached to the Storage Group - for example the below output is from the storagegroup -list command - these are the HBA WWN number for each HBA that is assigned to the storage group and the LUNs assigned to the storage group.

    Remember to review the Navisphere Command Line Interface (CLI) manual for a more detailed explanation of the different CLI commands and the switches for these commands:

    Storage Group Name: xyzzy_test
    Sorage Group UID:     B8:AA:A7:24:E8:50:DC:11:B7:9E:00:60:16:0F:A0:B7
    HBA/SP Pairs:

      HBA UID                                          SP Name     SPPort
      -------                                          -------     ------
      20:00:00:00:C9:61:11:6A:10:00:00:00:C9:61:11:6A   SP A         0  
      20:00:00:00:C9:61:11:6A:10:00:00:00:C9:61:11:6A   SP B         0
      20:00:00:00:C9:61:13:D6:10:00:00:00:C9:61:13:D6   SP A         1
      20:00:00:00:C9:61:13:D6:10:00:00:00:C9:61:13:D6   SP B         1
      20:00:00:00:C9:61:11:6A:10:00:00:00:C9:61:11:6A   SP A         2
      20:00:00:00:C9:61:11:6A:10:00:00:00:C9:61:11:6A   SP B         2
      20:00:00:00:C9:61:13:D6:10:00:00:00:C9:61:13:D6   SP A         3
      20:00:00:00:C9:61:13:D6:10:00:00:00:C9:61:13:D6   SP B         3

    HLU/ALU Pairs:

      HLU Number     ALU Number
      ----------     ----------
        0               14
        1               15
        2               16
        3               17
        4               18
     
        13              27
    Shareable:             YES