1829590 Members
8294 Online
109992 Solutions
New Discussion

/tmp; INCREASE SIZE OF

 
SOLVED
Go to solution
Andrew Luis Arruza
Frequent Advisor

/tmp; INCREASE SIZE OF

I have been trying to increase the size of the /tmp directory.
It will not umount since it is always in use. When I do fuser on /tmp I see the active process but cannot use fuser -ku on these processes since at least one of them is my current process.
It would appear that I would have go to single user mode, which is not practical at this time on that particular server.
Any/all help, as always, is greatly appreciated.
Andy
It is, after all, a matter of survival!!
6 REPLIES 6
Andy Monks
Honored Contributor

Re: /tmp; INCREASE SIZE OF

fuser doesn't report lots of things. try lsof to see if it can help.

http://hpux.cs.utah.edu/ftp/hpux/Sysadmin/lsof-4.48
James Odak
Valued Contributor
Solution

Re: /tmp; INCREASE SIZE OF

running 11.00 with vxfs files systems?
try this
lvextend -L ### /dev/vgxx/lvolx
then run
fsadm -F vxfs -b $((###*1024)) /tmp

### being the size you want
xx the vg and lvol of the tmp fs
good luck
John Palmer
Honored Contributor

Re: /tmp; INCREASE SIZE OF

Are you using a file in /tmp for your shell history?

Try 'print $HISTFILE' if you are using the korn/posix shell.
Kofi ARTHIABAH
Honored Contributor

Re: /tmp; INCREASE SIZE OF

Actually, your process should not be one of the ones that gets picked up with fuser, unless that is your $PWD.
some of the processes cannot be killed and may need to shut them down with /sbin/init.d/xyzabc stop - one that comes to mind is the rpcd; for that you would have to /sbin/init.d/ncs stop.

After finding the PIDs, run a grep against a ps -ef for the pids to find out the actual processes.
nothing wrong with me that a few lines of code cannot fix!
CHRIS_ANORUO
Honored Contributor

Re: /tmp; INCREASE SIZE OF

Andrew,

You have to find time to go to single user mode. Must apps (eg oracle) make use of the filesystem regularly.
Use bdf to determine n value of lvol.
At [] prompt, do lvextend -L NNN /dev/vg00/lvoln
extendfs -F (filesystem) /dev/vg00/rlvoln
reboot




Chris
When We Seek To Discover The Best In Others, We Somehow Bring Out The Best In Ourselves.
Antoanetta Naghiu
Esteemed Contributor

Re: /tmp; INCREASE SIZE OF

As Chris said, you have to do it in single user mode unless is vxfs and you have OnLine JFS.
Do a search in the forum key "increase" or "extend" key word for plenty of details.