Re: How to compute free space on Physical Disks?

From: Mark Lamport (lamport_at_CS.KCMETRO.EDU)
Date: 06/29/05

  • Next message: Green, Simon: "Re: How to compute free space on Physical Disks?"
    Date:         Wed, 29 Jun 2005 08:18:45 -0500
    To: aix-l@Princeton.EDU
    
    

    lspv -p hdisk0 - show allocated and unallocated PPs
    lscfg -vl hdisk0 - show what size disk
      ----- Original Message -----
      From: True V. Jack
      Newsgroups: bit.listserv.aix-l
      To: 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
      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: Green, Simon: "Re: How to compute free space on Physical Disks?"

    Relevant Pages

    • Re: change defect hdisk0 on rs6000
      ... > we have a defect internal harddisk (hdisk0). ... > Resource Name: hdisk0 ... > Resource Class: disk ... > Detail Data ...
      (comp.unix.aix)
    • Re: rootvg in odm on hdisk0, in maintenance mode on hdisk1. Wrong odm? [Virus checked]
      ... You can leave it this way, but it drove me crazy, so I would change the SCSI ID so that the disk I ... wanted to be hdisk0 was always the lowest SCSI id of all the other SCSI drives on that SCSI card/bus. ... hdisk1 or will then be seen as hdisk0, when the ODM is available again. ...
      (AIX-L)
    • Re: Replacing rootvg mirror disk
      ... Verify extent of staleness: ... lsvg -l rootvg ... Unmirror the rootvg from the bad disk (hdisk0): ...
      (AIX-L)
    • Re: Replacing hdisk0
      ... Your data survived hdisk0 failure. ... > In the case you have free disk bay, I would suggest you first to insert the ... > new disk and mirror rootvg to the new disk. ... This will remove rootvg from hdisk 0 use lspv to check. ...
      (comp.unix.aix)