Re: How to compute free space on Physical Disks?

From: Green, Simon (Simon.Green_at_EU.ALTRIA.COM)
Date: 06/29/05

  • Next message: Juan Camilo Yanquen: "how to calculate the amount of memory used by only operating system?"
    Date:         Wed, 29 Jun 2005 15:00:12 +0200
    To: aix-l@Princeton.EDU
    
    

    Free PPs are those physical partitions which are not allocated to a logical
    volume.
    The Used PPs are those which ARE allocated, but that doesn't mean they're
    actually being used. i.e. A filesystem which has 10 partitions may only be
    50% full but all 10 of those partitions are being used as far as lspv is
    concerned.
     
    If you want to include space that's allocated to filesystems but isn't being
    used at the moment you'll have to do a df or a du on each individual
    filesystem.
     

    -- 
    Simon Green
    Altria ITSC Europe s.a.r.l.
    AIX-L Archive at https://new-lists.princeton.edu/listserv/aix-l.html
    New to AIX? http://publib-b.boulder.ibm.com/redbooks.nsf/portals/UNIX
     
    N.B. Unsolicited email from vendors will not be appreciated.
    Please post all follow-ups to the list.
    -----Original Message-----
    From: IBM AIX Discussion List [mailto:aix-l@Princeton.EDU] On Behalf Of True
    V. Jack
    Sent: 29 June 2005 13:36
    To: aix-l@Princeton.EDU
    Subject: How to compute free space on Physical Disks?
    I need to find the "Total disk size" and "Free Space" on all my Physical
    disks.
    Right now I am doing this:
    "lspv hdisk0"
    And grabbing the "TOTAL PPs" and "Free PPs" fields.
    Is this right, or is "Free PPs" the amount of sapce that has not been
    assigned already.
    

  • Next message: Juan Camilo Yanquen: "how to calculate the amount of memory used by only operating system?"

    Relevant Pages

    • Re: How to compute free space on Physical Disks?
      ... lscfg doesn't actually show the size: it just shows the description in the ... For disks which are not in a VG you can use lsattr -El hdiskX -a size_in_mb. ... How to compute free space on Physical Disks? ... And grabbing the "TOTAL PPs" and "Free PPs" fields. ...
      (AIX-L)
    • Re: n00bie system administration
      ... if you have available free space, then take a good look at ... chfs -a size=newsize / ... I have about 17000 megabytes of FREE PPs so space is not an issue. ... assuming I run the chfs command to add space to the filesystem ...
      (comp.unix.aix)
    • Re: Whats going on here ... ?
      ... Give the 6 disks a pvid ... ... Correct, a lsvg <vgname> show me, there are no free PPs at all ... ...
      (comp.unix.aix)
    • Whats going on here ... ?
      ... Give the 6 disks a pvid ... ... Now I create a volumegroup of three LUNs, ... So far so good, now I try to create a filesystem on the previously defined lv, but system says, that there is no enough free space to create a filesystem. ... Correct, a lsvg show me, there are no free PPs at all ... ...
      (comp.unix.aix)
    • Re: Whats going on here ... ?
      ... Give the 6 disks a pvid ... ... Correct, a lsvg <vgname> show me, there are no free PPs at all ... ...
      (comp.unix.aix)