LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Other *NIX Forums > Solaris / OpenSolaris
User Name
Password
Solaris / OpenSolaris This forum is for the discussion of Solaris and OpenSolaris.
General Sun, SunOS and Sparc related questions also go here.

Notices



Reply
 
Search this Thread
Old 08-15-2013, 01:52 PM   #1
CheckUsername
LQ Newbie
 
Registered: Aug 2013
Posts: 2

Rep: Reputation: Disabled
/tmp folder has reached maximum capacity on Solaris.


Hi Folks,

I am working on Oracle Solaris 10 8/11 s10x_u10wos_17b X86 box.

The /tmp folder has reached maximum capacity on Solaris.
Here is the output of df -h command :

bash-3.2# df -h
Filesystem size used avail capacity Mounted on
/dev/dsk/c0t5000CCA022257BD0d0s0
7.9G 3.9G 4.0G 50% /
/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 57G 1008K 57G 1% /etc/svc/volatile
objfs 0K 0K 0K 0% /system/object
sharefs 0K 0K 0K 0% /etc/dfs/sharetab
/usr/lib/libc/libc_hwcap1.so.1
7.9G 3.9G 4.0G 50% /lib/libc.so.1
fd 0K 0K 0K 0% /dev/fd
/dev/dsk/c0t5000CCA022257BD0d0s3
12G 87M 12G 1% /var
/dev/dsk/c0t5000CCA022257BD0d0s5
91M 91M 0K 100% /tmp
swap 57G 36K 57G 1% /var/run
/dev/dsk/c0t5000CCA022257BD0d0s4
249G 6.0G 241G 3% /gsn
bash-3.2#

The /dev/dsk/c0t5000CCA022257BD0d0s5 filesystem mounted on /tmp folder has reached its full capacity, so I am unable to run commands like 'ping', dhtadm or pntadm commands on Solaris system.

Is it possible to increase the filesize of /tmp folder?

Thank you for your help in advance.
 
Old 08-15-2013, 02:00 PM   #2
linosaurusroot
Member
 
Registered: Oct 2012
Distribution: OpenSuSE,RHEL,Fedora,OpenBSD
Posts: 870
Blog Entries: 2

Rep: Reputation: 219Reputation: 219Reputation: 219
It looks as if you have an actual disk providing /tmp rather than using memory.

You can increase the size (details depend on your disk layout) but it will be easier to remove some of the unwanted junk under /tmp and monitor the free space in future.
 
Old 08-15-2013, 02:18 PM   #3
CheckUsername
LQ Newbie
 
Registered: Aug 2013
Posts: 2

Original Poster
Rep: Reputation: Disabled
Hi linosaurusroot,

Thank you for your reply.
Can you please let me know how can I check the disk layout and determine whether some filespace from another filesystem can be used to increase the size on /tmp folder as a workaround?

Thank you.
 
Old 08-16-2013, 06:24 AM   #4
linosaurusroot
Member
 
Registered: Oct 2012
Distribution: OpenSuSE,RHEL,Fedora,OpenBSD
Posts: 870
Blog Entries: 2

Rep: Reputation: 219Reputation: 219Reputation: 219
Do you have unused disk (not allocated to a partition in use)? If so make a partition of a suitable size and make a filesystem on it. Copy what you want from /tmp/ into this new tmp and replace the old /tmp with the new one.

If you haven't got space like that you'd want to add disk or reduce the size of some existing partition.

Or if you had logical volumes rather than partitions the sizing is more flexible.

Or if you were using ZFS storage pools and had free space it should be easy to add some where you want it.
http://docs.oracle.com/cd/E19253-01/819-5461/index.html
 
Old 08-16-2013, 11:04 AM   #5
jlliagre
Moderator
 
Registered: Feb 2004
Location: Outside Paris
Distribution: Solaris10, Solaris 11, Mint, OL
Posts: 9,523

Rep: Reputation: 365Reputation: 365Reputation: 365Reputation: 365
You are using a 100 MB disk slice on SAN for /tmp storage. This is an unusual configuration.

By default, Solaris uses tmpfs as /tmp backend storage area. Tmpfs stores its data on virtual memory, which is much faster than disk as long as you have enough RAM available.

According to df output, there are 57 GB of virtual memory available which looks more than enough to accommodate your 100 MB+ /tmp data.

In any case, as /tmp is (or should be) ephemeral, if there are no critical services running on it, the simplest way to fix the issue is to reboot your machine.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
X11: Maximum number of clients reached willysr Slackware 6 04-18-2012 03:21 PM
Trash has reached maximum size bucknap Linux - Newbie 2 03-08-2011 09:45 PM
Fibre optic cables' data capacity may soon be reached Jeebizz Linux - News 0 10-15-2010 10:52 AM
New user first login attempt gets "Account locked. Maximum attempts reached" p3t0rt Linux - Newbie 2 07-21-2009 05:40 PM
MB Maximum RAM Capacity Question Linux31 Linux - Hardware 7 08-11-2007 10:23 AM


All times are GMT -5. The time now is 04:39 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration