You can use this command to see the available free space.
lspv hdisk2 (of course put in the disk of choice)
Should print out something similar to this. It shows the size of PP (Physical Partition) and the number of Free PPs. Just multiply and get free space.
PHYSICAL VOLUME: hdisk2 VOLUME GROUP: qvvg
PV IDENTIFIER: 000d162db7c458f3 VG IDENTIFIER 000d162d129feb7f
PV STATE: active
STALE PARTITIONS: 0 ALLOCATABLE: yes
PP SIZE: 32 megabyte(s) LOGICAL VOLUMES: 2
TOTAL PPs: 814 (26048 megabytes) VG DESCRIPTORS: 2
FREE PPs: 406 (12992 megabytes) HOT SPARE: no
USED PPs: 408 (13056 megabytes)
FREE DISTRIBUTION: 162..00..00..81..163
USED DISTRIBUTION: 01..163..162..82..00
hi,
independently from SSA (it creates an ulterior level), you have in AIX the Volume Manager.
You can put more than 1 disk together (1 or more PV in a VG) in a VolumeGroup and then partition it in LV (Logical Volumes) ( as Windows partition ). Usually on each LV, is created a FS (FileSystem) a structure with directory; usually becouse there are exceptions: hd5,hd6,hd8 boot,paging,jfslog and raw device for propietary use (Oracle or other)
Doing
lsvg
you get the list of VGs; doing
lsvgyourvg
you see which part of VG is free (unused,unpartitioned)
Giving
lsvg -l yourvg
you know how the VG is divided in FS and doing
df -k [yourfs]
or df -k
you see the how much the FS is used.
Not related to space available, for thoroughness, you can
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.