G
G
GdRta2014-03-04 08:13:13
Solaris
GdRta, 2014-03-04 08:13:13

Solaris 10. Swap: how to figure out what's going on?

Hello!
I can't figure out what's going on with my swap.
Previously, there was a swap partition equal to 16G.
Code:
[email protected]$ swap -l
swapfile dev swaplo blocks free
/dev/md/dsk/d20 85.20 16 33560432 33560432
I know, the swap is in the raid (that's still pornography, but not the point)
I wanted to add another swap file, the size in 60GB, everything is fine, but I forgot to register in /etc/vfstab. After the reboot, as expected, I did not have any swap file and df -h shows the following picture:
Code:
[email protected]$ df -h
Filesystem size used avail capacity Mounted on
/dev/md/dsk/d10 15G 9.7G 4.9G 67% /
/devices 0K 0K 0K 0% /devices
ctfs 0K 0K 0K 0% /system/contract
proc 0K 0K 0K 0% /proc
mnttab 0K 0K 0K 0% /etc/mnttab
swap 76G 2.2M 76G 1% /etc/svc/volatile
objfs 0K 0K 0K 0% /system/object
sharefs 0K 0K 0K 0% /etc/dfs/sharetab
/dev/md/dsk/d30 15G 6.3G 8.4G 43% /usr
fd 0K 0K 0K 0% /dev/fd
/ dev/md/dsk/d40 20G 12G 7.5G 62% /var
swap 76G 72K 76G 1% /var/run
/dev/md/dsk/d50 1002M 1.0M 941M 1% /globaldevices
The size remains 76Gb. And swap shows:
Code:
[email protected]$ swap -l
swapfile dev swaplo blocks free
/dev/md/dsk/d20 85.20 16 33560432 33560432
[email protected]$ swap -s
total: 254104k bytes allocated + 63704k reserved = 317808k used , 79776592k available
When swap is added again, the size increases from 76 to 136Gb.
I ask for advice on where to dig, thank you in advance for your help.

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question