Operating System - Linux
1753777 Members
7220 Online
108799 Solutions
New Discussion юеВ

Re: How to increase the /tmp size in suse10

 
SOLVED
Go to solution
senthil_kumar_1
Super Advisor

Re: How to increase the /tmp size in suse10

Hi TTr,

There is no option to tell application to use different tmp.

The following command is not giving any output:

#echo $TMPDIR

TTr
Honored Contributor

Re: How to increase the /tmp size in suse10

$TMPDIR is not normally set so echo $TMPDIR would not output anything. You have to find out if the application will utilize a $TMPDIR variable so that you can set it to the new disk. The app may not even use TMPDIR it may use something different.
Tim Nelson
Honored Contributor

Re: How to increase the /tmp size in suse10

as mentioned earlier you will probably need to shut down the application in order to unmount /tmp.

use lsof to ID open files in /tmp
lsof /tmp

TTr also has a valid idea, get the app out of /tmp and send to dedicated filesystem if possible using $TMPDIR. This will make life easier in the long run trying to troubleshoot later.

Steven E. Protter
Exalted Contributor

Re: How to increase the /tmp size in suse10

Shalom,


There is no option to tell application to use different tmp.

The following command is not giving any output:

#echo $TMPDIR

This methodology works with Oracle and other application software, but does not work universally.

Best bet to deal with the /tmp problem is to boot the system into single user mode.

At the conole:

Boot, intervene at the prompt that displays the kernel.

move down to the boot kernel, press e for edit.

add single to the end of the boot line.


b

You boot to single user mode, no applications are running and you can make /tmp as big as you wish.

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
Alan_152
Honored Contributor

Re: How to increase the /tmp size in suse10

"Actually I would like to mount the different partition (/dev/sdb1) to /tmp, but /tmp is already mounted with some other partition (/dev/sda9), so that I have ummounted /tmp , but It did not succeeded."

1) install and format new device
2) change fstab to point tmp to new device
3) reboot