Sponsored Content
Operating Systems AIX used PPs not match the total disk space showed by df Post 302262254 by victorcheung on Wednesday 26th of November 2008 09:02:59 PM
Old 11-26-2008
used PPs not match the total disk space showed by df

Hi,

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?

Thanks!
Victor

# lsvg
rootvg
# lsvg rootvg
VOLUME GROUP: rootvg VG IDENTIFIER: 0002ac5f00004c00000
0010619ab4aa2
VG STATE: active PP SIZE: 64 megabyte(s)
VG PERMISSION: read/write TOTAL PPs: 1083 (69312 megabyt
es)
MAX LVs: 256 FREE PPs: 33 (2112 megabytes)
LVs: 12 USED PPs: 1050 (67200 megabyt
es)
OPEN LVs: 11 QUORUM: 1
TOTAL PVs: 2 VG DESCRIPTORS: 3
STALE PVs: 0 STALE PPs: 0
ACTIVE PVs: 2 AUTO ON: yes
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
#smit
:
COMMAND STATUS

Command: OK stdout: yes stderr: no

Before command completion, additional instructions may appear below.

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


# 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
 

10 More Discussions You Might Find Interesting

1. 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

2. 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

3. 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

4. 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

5. 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

6. 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

7. 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

8. 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

9. 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

10. 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
disksup(3erl)						     Erlang Module Definition						     disksup(3erl)

NAME
disksup - A Disk Supervisor Process DESCRIPTION
disksup is a process which supervises the available disk space in the system. It is part of the OS_Mon application, see os_mon(7) . Avail- able for Unix and Windows. Periodically checks the disks. For each disk or partition which uses more than a certain amount of the available space, the alarm {{disk_almost_full, MountedOn}, []} is set. On Unix : All (locally) mounted disks are checked, including the swap disk if it is present. On WIN32 : All logical drives of type "FIXED_DISK" are checked. Alarms are reported to the SASL alarm handler, see alarm_handler(3erl) . To set an alarm, alarm_handler:set_alarm(Alarm) is called where Alarm is the alarm specified above. The alarms are cleared automatically when the alarm cause is no longer valid. CONFIGURATION
The following configuration parameters can be used to change the default values for time interval and threshold: disk_space_check_interval = int()>0 : The time interval, in minutes, for the periodic disk space check. The default is 30 minutes. disk_almost_full_threshold = float() : The threshold, as percentage of total disk space, for how much disk can be utilized before the disk_almost_full alarm is set. The default is 0.80 (80%). See config(5) for information about how to change the value of configuration parameters. EXPORTS
get_disk_data() -> [DiskData] Types DiskData = {Id, KByte, Capacity} Id = string() KByte = int() Capacity = int() Returns the result of the latest disk check. Id is a string that identifies the disk or partition. KByte is the total size of the disk or partition in kbytes. Capacity is the percentage of disk space used. The function is asynchronous in the sense that it does not invoke a disk check, but returns the latest available value. Returns [{"none",0,0}] if disksup is not available. get_check_interval() -> MS Types MS = int() Returns the time interval, in milliseconds, for the periodic disk space check. set_check_interval(Minutes) -> ok Types Minutes = int()>=1 Changes the time interval, given in minutes, for the periodic disk space check. The change will take effect after the next disk space check and is non-persist. That is, in case of a process restart, this value is forgotten and the default value will be used. See Configuration above. get_almost_full_threshold() -> Percent Types Percent = int() Returns the threshold, in percent, for disk space utilization. set_almost_full_threshold(Float) -> ok Types Float = float(), 0=<Float=<1 Changes the threshold, given as a float, for disk space utilization. The change will take effect during the next disk space check and is non-persist. That is, in case of a process restart, this value is forgotten and the default value will be used. See Configuration above. SEE ALSO
alarm_handler(3erl) , os_mon(3erl) Ericsson AB os_mon 2.2.5 disksup(3erl)
All times are GMT -4. The time now is 04:20 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy