@IsaacKuo
yes i am totally confused
let me explain, here we are using Disk utilization and filesystem utilization seperately. In AIX using
Code:
$lsvg
rootvg
datavg
Code:
$lspv hdisk1
PHYSICAL VOLUME: hdisk1 VOLUME GROUP: datavg
PV IDENTIFIER: 00f65eab7acabb17 VG IDENTIFIER 00f65eab00004c00000001567b60a848
PV STATE: active
STALE PARTITIONS: 0 ALLOCATABLE: yes
PP SIZE: 512 megabyte(s) LOGICAL VOLUMES: 4
TOTAL PPs: 899 (460288 megabytes) VG DESCRIPTORS: 2
FREE PPs: 470 (240640 megabytes) HOT SPARE: no
USED PPs: 429 (219648 megabytes) MAX REQUEST: 256 kilobytes
I am able to get Total PPs,Free PPs and used PPs for hdisk0,hdisk1 using lspv and able to calculate disk utilization.
But in linux i tried like this,
Code:
$pvdisplay /dev/sda2
--- Physical volume ---
PV Name /dev/sda2
VG Name VolGroup
PV Size 15.51 GiB / not usable 3.00 MiB
Allocatable yes (but full)
PE Size 4.00 MiB
Total PE 3970
Free PE 0
Allocated PE 3970
Using this not able to understand Disk size,used space, Free space.
using "df" we are already calculating filesystem utilization. now i need to calculate disk utilization.