Solaris 8 OS
partition> p
Current partition table (original):
Total disk cylinders available: 7506 + 2 (reserved cylinders)
Part Tag Flag Cylinders Size Blocks
0 root wm 0 - 869 1.95GB (870/0/0) 4099440
1 swap wu 870 - 2608 3.91GB (1739/0/0) 8194168[
2 backup wm 0 - 7505 16.86GB (7506/0/0) 35368272
3 usr wm 2609 - 3043 1000.84MB (435/0/0) 2049720
4 var wm 3044 - 4782 3.91GB (1739/0/0) 8194168
5 unassigned wm 0 0 (0/0/0) 0
6 usr wm 4783 - 7505 6.12GB (2723/0/0) 12830776
7 unassigned wm 0 0 (0/0/0) 0
# df -k
Filesystem kbytes used avail capacity Mounted on
/dev/dsk/c0t0d0s0 1987399 82108 1845670 5% /
/dev/dsk/c0t0d0s6 6317162 580811 5673180 10% /usr
/proc 0 0 0 0% /proc
fd 0 0 0 0% /dev/fd
mnttab 0 0 0 0% /etc/mnttab
/dev/dsk/c0t0d0s4 4032142 561779 3430042 15% /var
swap 7050128 16 7050112 1% /var/run
swap 7050160 48 7050112 1% /tmp
/dev/dsk/c0t1d0s5 14116855 441725 13533962 4% /opt
/dev/dsk/c0t0d0s3 962571 244583 660234 28% /usr/openwin
/dev/dsk/c0t1d0s7 3296378 887953 2375462 28% /export/home
VFSTAB FILE
# more vfstab
#device device mount FS fsck mount mount
#to mount to fsck point type pass at boot options
#
#/dev/dsk/c1d0s2 /dev/rdsk/c1d0s2 /usr ufs 1 yes -
fd - /dev/fd fd - no -
/proc - /proc proc - no -
/dev/dsk/c0t0d0s1 - - swap - no -
/dev/dsk/c0t0d0s0 /dev/rdsk/c0t0d0s0 / ufs 1 no -
/dev/dsk/c0t0d0s6 /dev/rdsk/c0t0d0s6 /usr ufs 1 no -
/dev/dsk/c0t0d0s4 /dev/rdsk/c0t0d0s4 /var ufs 1 no -
/dev/dsk/c0t1d0s7 /dev/rdsk/c0t1d0s7 /export/home ufs 2 yes -
/dev/dsk/c0t1d0s5 /dev/rdsk/c0t1d0s5 /opt ufs 2 yes -
/dev/dsk/c0t0d0s3 /dev/rdsk/c0t0d0s3 /usr/openwin ufs 2 yes -
swap - /tmp tmpfs - yes -
Please help to explain the swap entries listed...
I partitioned 4GB of swap on install. When I do "df-k" what does the number "7050128 and 7050160" represent? Doesn't add up to 4GB.
Also if I check VFSTAB it mounts /tmp as a swap space. What is tmpfs?
swap -s
total: 357040k bytes allocated + 61912k reserved = 418952k used, 7051984k available
(7051984k available???)
swap -l
swapfile dev swaplo blocks free
/dev/dsk/c0t0d0s1 32,1 16 8194144 8194144
What is 8194144??
Sorry for so many questions but I figured I would give all of the info instead of multiple posts/reponses.
Please help me understand? Should they all total to 4GB?
Thanks in advance.