ProLiant Servers (ML,DL,SL)
Showing results for 
Search instead for 
Did you mean: 

PSP 7.60 - RHEL AS 4 U 3 - Not enough space /tmp

Ivan Marshall
Occasional Visitor

PSP 7.60 - RHEL AS 4 U 3 - Not enough space /tmp

Dear Whomever takes care of the PSP,

The script has a bug in it.

It is incorrectly looking at the wrong field when doing the df on /tmp.

"There is inadequate disk space available in '/tmp' to execute"

I have attached a debug trace, and you can see that it thinks my tmp has only 35MB available; but from the output below you can see that it is reading column 3 instead of 4. And in the trace you can see that.

+ '[' 35932 -ge 70000 ']'

[root@srv01 linux]# df -h /tmp
Filesystem Size Used Avail Use% Mounted on
/dev/cciss/c0d0p7 2.0G 36M 1.9G 2% /tmp

I got around the issue by creating a file (using dd) in /tmp that is larger than the required.

dd if=/dev/zero of=/tmp/file.dat bs=1024 count=100000

But I thought you would like to know, or anyone else with the problem.