Visit Our UNIX and Linux User Community

used PPs not match the total disk space showed by df

Thread Tools Search this Thread
Operating Systems AIX used PPs not match the total disk space showed by df
# 1  
Old 11-26-2008
used PPs not match the total disk space showed by df


I see from lsvg the total used PPs is 1050 (67200 megabytes), but when I check the disk space with df command I can only see 31G total space, can somebody tell how this come?


# lsvg
# lsvg rootvg
VOLUME GROUP: rootvg VG IDENTIFIER: 0002ac5f00004c00000
VG STATE: active PP SIZE: 64 megabyte(s)
VG PERMISSION: read/write TOTAL PPs: 1083 (69312 megabyt
MAX LVs: 256 FREE PPs: 33 (2112 megabytes)
LVs: 12 USED PPs: 1050 (67200 megabyt
MAX PPs per VG: 32512 0
MAX PPs per PV: 1016 MAX PVs: 32
LTG size (Dynamic): 256 kilobyte(s) AUTO SYNC: no
HOT SPARE: no BB POLICY: relocatable

Command: OK stdout: yes stderr: no

Before command completion, additional instructions may appear below.

Name Nodename Mount Pt VFS Size Options Auto
/dev/hd4 -- / jfs 1048576 -- yes
/dev/hd1 -- /home jfs 1048576 -- yes
/dev/hd2 -- /usr jfs 11403264 -- yes
/dev/hd9var -- /var jfs 917504 -- yes
/dev/hd3 -- /tmp jfs 2621440 -- yes
/proc -- /proc procfs -- -- yes
/dev/hd10opt -- /opt jfs 2097152 -- yes
/dev/cd0 -- /cdrom cdrfs -- ro no
/dev/lv01 -- /logs jfs 3145728 rw yes
/dev/data_bkp -- /prodDayEndDataCopy jfs2 41943040 rw yes

# df -k
Filesystem 1024-blocks Free %Used Iused %Iused Mounted on
/dev/hd4 524288 275320 48% 5407 3% /
/dev/hd2 5701632 4060504 29% 41432 3% /usr
/dev/hd9var 458752 248904 46% 787 1% /var
/dev/hd3 1310720 403328 70% 514 1% /tmp
/dev/hd1 524288 446572 15% 11399 9% /home
/proc - - - - - /proc
/dev/hd10opt 1048576 437428 59% 14868 6% /opt
/dev/lv01 1572864 1164168 26% 21 1% /logs
/dev/data_bkp 20971520 8779928 59% 13579 1% /prodDayEndDataCopy
# 2  
Old 11-27-2008
Better do a
lsvg -l rootvg

and check again if the number of used PP is not correct. Chances are, that you have rootvg mirrored and so 2 PP (each on a different hdisk hopefully) belong to one LP. Space calculation for mounted FS'es with df belong to LPs, not to PPs.
Also you will have some LVs of the type boot, paging, jfs2log and sysdump, which don't show up in df either.
# 3  
Old 11-27-2008
Hi Zaxxon,

You are correct, we are rootvg mirrored .


Previous Thread | Next Thread
Test Your Knowledge in Computers #401
Difficulty: Medium
The 3D printing process builds a three-dimensional object from a computer-aided design (CAD) model.
True or False?

10 More Discussions You Might Find Interesting

1. Red Hat

Total storage space and Serial number

Hi, Could you please tell me the commands to find Total storage space and Serial number of Linux server. OS -- Red Hat Enterprise Linux Server release 6.6 (Santiago) This is 2 node cluster. Regards, Maddy (1 Reply)
Discussion started by: Maddy123
1 Replies

2. Solaris

Problem in getting total Disk space using iostat -En command

Hi Everyone, I try to calculate the total hard disk space of a solaris machine using iostat -En command. Iterating the output and summing up all the number present near the Size: will give the exact size of the harddisk. But it is not working for a machine. This command works in many flavors... (2 Replies)
Discussion started by: prasankn
2 Replies

3. AIX

Topas total Disk Busy %

Hi Everyone, anyone know how to derive the value for the total disk busy % (shown in topas ) ? Thanks. Best Regards, ckwan (1 Reply)
Discussion started by: ckwan
1 Replies

4. UNIX for Advanced & Expert Users

How to check total disk usage ?

Hi.. What is the command to check total disk usage for specific directory in MG/GB/Byte ? As example i want to check disk usage for directory pproc ? Please help me.. Thank you, Baharin (3 Replies)
Discussion started by: bh_hensem
3 Replies

5. Solaris

command to get the total disk space (available + free)

is there a command to get the total disk space (available + free) on the solaris server ? thanks (3 Replies)
Discussion started by: sudhiroracle
3 Replies

6. Solaris

swap size, total disk space

Hi experts, In my solaris system when i run the command df -h i got the below response.I have some confusion which i want to share with you guys.1)there are two SWAP file system shows are they same or different?2)if i want to count the total disk space should i take both the swap space or only... (2 Replies)
Discussion started by: rafiassam
2 Replies

7. Shell Programming and Scripting

Calculate total space, total used space and total free space in filesystem names matching keyword

Good afternoon! Im new at scripting and Im trying to write a script to calculate total space, total used space and total free space in filesystem names matching a keyword (in this one we will use keyword virginia). Please dont be mean or harsh, like I said Im new and trying my best. Scripting... (4 Replies)
Discussion started by: bigben1220
4 Replies

8. Red Hat

Total space Determination

Hi experts, # df -h Filesystem Size Used Avail Use% Mounted on /dev/hda9 3.8G 1.7G 2.0G 46% / none 369M 0 369M 0% /dev/shm /dev/hda10 2.0G 33M 1.8G 2% /tmp /dev/hda12 1.4G 1.2G 260M 82% /usr I used df -h... (3 Replies)
Discussion started by: William1482
3 Replies

9. UNIX for Dummies Questions & Answers

df+du=Total space allocated(for a file system)

Hi All, Will df+du=Total space allocted for a file system?? Is the above correct. Please correct me If iam wrong. In one my programs the above is not happening. Please help me out. Many thanks. Regards, Manas (2 Replies)
Discussion started by: manas6
2 Replies

10. UNIX for Dummies Questions & Answers

Install a new disk - i'm a total novice

Hi, This is the last of my two questions. Unfortunately i'm a total unix/solaris novice and our current solaris project has landed on my lap!! Sorry to bother you all!!! I currently have a solaris 7 system with two IDE disks in it. I need to add a third disk and install another version of... (3 Replies)
Discussion started by: AJD
3 Replies

Featured Tech Videos