Link to home
Start Free TrialLog in
Avatar of it-rex
it-rex

asked on

AIX mount point size and disk usage

what is the best way to show mountpoint size in MEG or GIG and show percentage of disk usage?
also how to show the size of a block device?
Avatar of woolmilkporc
woolmilkporc
Flag of Germany image

Hi,

do you mean something like

df -m  # (size in MB)?
or
df -g  # (size in GB)?

Percentage of filesystem use is in the 4th column of "df".

The utilization of a single hdisk can be found with

lspv hdiskx

(the "TOTAL/FREE/USED" values).


Which kind of "block device" do you have in mind?

wmp
Avatar of it-rex
it-rex

ASKER

what is the difference between
%Used    and
%Iused
?
%Used is the percentage of space used,
%Iused is the percentage of inodes used.

Inode: http://en.wikipedia.org/wiki/Inode
Avatar of it-rex

ASKER

for the 2nd Q
I have a block device and a chracter device on /dev

say named like this

brw-------    1 oracle   dba          34,  4 Apr 19 2011  prod_asmdisk4
crw-------    1 oracle   dba          34,  4 Oct 31 07:42 rprod_asmdisk4

how to get the size?
Did you try

lspv prod_asmdisk4

?

Alternatively you could use th V$ASM_DISK view (sqlplus):

select NAME, PATH, TOTAL_MB, FREE_MB from V$ASM_DISK;

asmcmd is also an option:

asmcmd lsdsk

wmp





l
Avatar of it-rex

ASKER

lspv prod_asmdisk4
0516-306 : Unable to find  prod_asmdisk4 in the Device
        Configuration Database.
/dev
Avatar of it-rex

ASKER

prod_asmdisk15 is a logical volume so if I use

lslv prod_asmdisk15
LOGICAL VOLUME:     prod_asmdisk15         VOLUME GROUP:   prod_asmvg1
LV IDENTIFIER:      00f614e900004c000000012f6d7327a1.15 PERMISSION:     read/write
VG STATE:           active/complete        LV STATE:       closed/syncd
TYPE:               raw                    WRITE VERIFY:   off
MAX LPs:            1903                   PP SIZE:        256 megabyte(s)
COPIES:             1                      SCHED POLICY:   parallel
LPs:                1903                   PPs:            1903
STALE PPs:          0                      BB POLICY:      relocatable
INTER-POLICY:       minimum                RELOCATABLE:    yes
INTRA-POLICY:       middle                 UPPER BOUND:    1024
MOUNT POINT:        N/A                    LABEL:          None
MIRROR WRITE CONSISTENCY: on/ACTIVE
EACH LP COPY ON A SEPARATE PV ?: yes
Serialize IO ?:     NO
DEVICESUBTYPE : DS_LVZ
COPY 1 MIRROR POOL: None
COPY 2 MIRROR POOL: None
COPY 3 MIRROR POOL: None



how can I get the size here???
ASKER CERTIFIED SOLUTION
Avatar of woolmilkporc
woolmilkporc
Flag of Germany image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of it-rex

ASKER

great