1. Please help support our sponsors by considering their products and services.
    Our sponsors enable us to maintain high-speed Internet connection and fast webservers.
    They support this free information and knowledge exchange forum service at no cost to you.

    Please welcome our latest sponsor Tectrade . We can show our appreciation by learning more about Tectrade Solutions

Current client size

Discussion in 'Capacity Planning' started by rbnllobertk, Mar 11, 2017.

  1. rbnllobertk

    rbnllobertk ADSM.ORG Member

    Joined:
    Nov 16, 2011
    Messages:
    26
    Likes Received:
    0
    This might be a strange request but here goes. We're going to be moving to a new TSM Server implementation and I need to get the sizes on all the AIX filesystems I'm backing-up. A "q occup" obviously only gives me what's in TSM currently, while a "q file" gives me what is on the client currently, but it only gives the overall capacity of a FS, then the % used, but not the actual GB used. Anyone think of a way, other than some manual work in Excel, to get around it? There are hundreds of FS's on these AIX clients. I thought about simply getting the numbers from a df on the AIX box, but we also don't backup all of them. Thanks in advance.
     
  2.  
  3. marclant

    marclant ADSM.ORG Moderator

    Joined:
    Jun 16, 2006
    Messages:
    2,606
    Likes Received:
    370
    Occupation:
    Accelerated Value Specialist for Spectrum Protect
    Location:
    Canada
    Spectrum Protect is not really meant to be a reporting tool on your infrastructure. However, you can get some of that info. You have the capacity and the percent used, you just need to calculate the used space.
    Code:
    select node_name,filespace_name,capacity,pct_util,cast((capacity*pct_util/100) as numeric (10,2)) as USED_MB from filespaces
    If your retentions will be the same or similar on the server, you may want to go by "q occ" because you will get the same growth over time.
     
  4. rbnllobertk

    rbnllobertk ADSM.ORG Member

    Joined:
    Nov 16, 2011
    Messages:
    26
    Likes Received:
    0

    Thank you very much, How would I include domain_name to the statement and sort it by that? I've got hundreds of filespaces and i only really need the domain. Thanks. Unfortunately the sql for tsm is my one not-so-strong suit.
     

Share This Page