Latest LQ Deal: Linux Power User Bundle
Go Back > Forums > Other *NIX Forums > Solaris / OpenSolaris
User Name
Solaris / OpenSolaris This forum is for the discussion of Solaris, OpenSolaris, OpenIndiana, and illumos.
General Sun, SunOS and Sparc related questions also go here. Any Solaris fork or distribution is welcome.


  Search this Thread
Old 08-15-2013, 12:52 PM   #1
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
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
7.9G 3.9G 4.0G 50% /lib/
fd 0K 0K 0K 0% /dev/fd
12G 87M 12G 1% /var
91M 91M 0K 100% /tmp
swap 57G 36K 57G 1% /var/run
249G 6.0G 241G 3% /gsn

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, 01:00 PM   #2
Registered: Oct 2012
Distribution: OpenSuSE,RHEL,Fedora,OpenBSD
Posts: 982
Blog Entries: 2

Rep: Reputation: 244Reputation: 244Reputation: 244
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, 01:18 PM   #3
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, 05:24 AM   #4
Registered: Oct 2012
Distribution: OpenSuSE,RHEL,Fedora,OpenBSD
Posts: 982
Blog Entries: 2

Rep: Reputation: 244Reputation: 244Reputation: 244
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.
Old 08-16-2013, 10:04 AM   #5
Registered: Feb 2004
Location: Outside Paris
Distribution: Solaris 11.3, Oracle Linux, Mint
Posts: 9,706

Rep: Reputation: 414Reputation: 414Reputation: 414Reputation: 414Reputation: 414
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.


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 02:21 PM
Trash has reached maximum size bucknap Linux - Newbie 2 03-08-2011 08:45 PM
Fibre optic cables' data capacity may soon be reached Jeebizz Linux - News 0 10-15-2010 09:52 AM
New user first login attempt gets "Account locked. Maximum attempts reached" p3t0rt Linux - Newbie 2 07-21-2009 04:40 PM
MB Maximum RAM Capacity Question Linux31 Linux - Hardware 7 08-11-2007 09:23 AM > Forums > Other *NIX Forums > Solaris / OpenSolaris

All times are GMT -5. The time now is 02:49 PM.

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