Follow up : Increase /tmp and /var/run filesystems

From: Benoît Audet (benoit.audet@carra.gouv.qc.ca)
Date: Mon Apr 25 2005 - 12:14:26 EDT


Seems that I have too much of swap being "reserved":

oracledev# swap -l
swapfile dev swaplo blocks free
/dev/md/dsk/d2 85,2 16 8389632 8389632
oracledev# swap -s
total: 611120k bytes allocated + 4145568k reserved = 4756688k used, 188928k
available

So the tmpfs uses all that is left by the swap... ..am I right? If so, how
can I "control" the reserved swap to solve my problem?

Thanks in advance!

Ben Audet

>>> Benont Audet 2005-04-25 11:42 >>>

Fellow managers,

Related to my Oracle problem this morning, I saw something that could be the
problem. Despite de fact that my swap filesystem is 4 Gb. in size, the tmpfs
filesystems are very very smalls:

df -k:
swap 195840 16 195824 1% /var/run
swap 195840 16 195824 1% /tmp

My quick question is: how can I increase it to be, by default, at least 10
times bigger? Is it in the kernel (/etc/system) that we specify it? I found
that the "mount -F tmpfs -o size=<size needed> swap <mount point>" is working,
but is there another way to "force" it without passing by the /etc/vfstab
file?

How does Solaris fix these filesystems size? Why, in this case, I have only
195 Mb.?

Thanks in advance and will summarise!

Ben Audet
_______________________________________________
sunmanagers mailing list
sunmanagers@sunmanagers.org
http://www.sunmanagers.org/mailman/listinfo/sunmanagers



This archive was generated by hypermail 2.1.7 : Wed Apr 09 2008 - 23:30:36 EDT