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
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
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
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
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
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
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
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
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
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
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
LEARN ABOUT SUNOS
sock2path
sock2path(4) File Formats sock2path(4)
NAME
sock2path - file that maps sockets to transport providers
SYNOPSIS
/etc/sock2path
DESCRIPTION
The socket mapping file, /etc/sock2path, is a system file that contains the mappings between the socket(3SOCKET) call parameters and the
transport provider driver. Its format is described on the soconfig(1M) manual page.
The init(1M) utility uses the soconfig utility with the sock2path file during the booting sequence.
EXAMPLES
Example 1: A Sample sock2path File
The following is a sample sock2path file:
# Family Type Protocol Path
2 2 0 /dev/tcp
2 2 6 /dev/tcp
26 2 0 /dev/tcp6
26 2 6 /dev/tcp6
2 1 0 /dev/udp
2 1 17 /dev/udp
26 1 0 /dev/udp6
26 1 17 /dev/udp6
1 2 0 /dev/ticotsord
1 6 0 /dev/ticotsord
1 1 0 /dev/ticlts
2 4 0 /dev/rawip
26 4 0 /dev/rawip6
24 4 0 /dev/rts
27 4 2 /dev/keysock
SEE ALSO
soconfig(1M), socket(3SOCKET)
Network Interfaces Programmer's Guide
SunOS 5.10 10 Nov 1999 sock2path(4)