Re: How to compute free space on Physical Disks?

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

  • Next message: Bob.Kelley_at_BRINKSINC.COM: "GPFS or RAW for HACMP and Oracle RAC?"
    Date:         Wed, 29 Jun 2005 15:33:32 +0200
    To: aix-l@Princeton.EDU
    
    

    lscfg doesn't actually show the size: it just shows the description in the
    VPD - which is not always present.
     
    For disks which are not in a VG you can use lsattr -El hdiskX -a size_in_mb.
    But be warned! This will not be the same as in lspv output as lsattr uses
    1MB=10^6 bytes and lspv uses 1MB =2^20 bytes. Also, you can lose a bit of
    space if you have a large partition size on a small disk.
    lsattr may not work for all disks: it doesn't work with our HDS SAN, for
    example.

    -- 
    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 Mark
    Lamport
    Sent: 29 June 2005 14:19
    To: aix-l@Princeton.EDU
    Subject: Re: How to compute free space on Physical Disks?
    lspv -p hdisk0    - show allocated and unallocated PPs
    lscfg -vl hdisk0  -  show what size disk
    ----- Original Message ----- 
    From: True V.  <mailto:truejack@INDIAINFO.COM> Jack 
    Newsgroups: bit.listserv.aix-l
    To: aix-l@Princeton.EDU <mailto:aix-l@Princeton.EDU>  
    Sent: Wednesday, June 29, 2005 7:35 AM
    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.
    Thanks in advance
     
    -- < 
    _______________________________________________ 
    IndiaInfo Mail - the free e-mail service with a difference!
    www.indiainfo.com <http://www.indiainfo.com>  
    Check out our value-added Premium features, such as an extra 20MB for mail
    storage, POP3, e-mail forwarding, and ads-free mailboxes! 
    

  • Next message: Bob.Kelley_at_BRINKSINC.COM: "GPFS or RAW for HACMP and Oracle RAC?"

    Relevant Pages

    • Re: how to reconstruct c drive after replacement
      ... drive with free space on it. ... Both disks are NTFS. ... Most hard drive manufacturers have software that will copy the old drive ...
      (microsoft.public.windowsxp.general)
    • Re: how to reconstruct c drive after replacement
      ... Both disks are NTFS. ... >Is there some way I can back up the current C: drive, install the new drive, ... Highlight your C:,Copy, then ... on left select the new drive, highlight the Free Space in it, ...
      (microsoft.public.windowsxp.general)
    • Re: How to compute free space on Physical Disks?
      ... Free PPs are those physical partitions which are not allocated to a logical ... How to compute free space on Physical Disks? ... I need to find the "Total disk size" and "Free Space" on all my Physical ... And grabbing the "TOTAL PPs" and "Free PPs" fields. ...
      (AIX-L)
    • Re: disks info
      ... "df -h" will show the free space on all mounted filesystems in a ... Use smartctl -a to display the Self-Monitoring, Analysis, ... and Reporting Technology reportfor IDE disks. ... analogue for SCSI disks, though looking at dmesg's output is useful ...
      (comp.os.linux.hardware)
    • Re: Whene generating instalation disks...
      ... I would clean up the Setup Wizard files and try to recreate the setup disks ... > is corrupted and when it tries to allocate free space on the hard drive ...
      (microsoft.public.fox.helpwanted)