Re: How to compute free space on Physical Disks?
From: Green, Simon (Simon.Green_at_EU.ALTRIA.COM)
Date: 06/29/05
- Previous message: Mark Lamport: "Re: How to compute free space on Physical Disks?"
- Maybe in reply to: True V. Jack: "How to compute free space on Physical Disks?"
- Next in thread: Bob.Kelley_at_BRINKSINC.COM: "GPFS or RAW for HACMP and Oracle RAC?"
- Reply: Bob.Kelley_at_BRINKSINC.COM: "GPFS or RAW for HACMP and Oracle RAC?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
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!
- Previous message: Mark Lamport: "Re: How to compute free space on Physical Disks?"
- Maybe in reply to: True V. Jack: "How to compute free space on Physical Disks?"
- Next in thread: Bob.Kelley_at_BRINKSINC.COM: "GPFS or RAW for HACMP and Oracle RAC?"
- Reply: Bob.Kelley_at_BRINKSINC.COM: "GPFS or RAW for HACMP and Oracle RAC?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|