Operating System - HP-UX
1826925 Members
2079 Online
109705 Solutions
New Discussion

vx_nospace when sorting data

 
SOLVED
Go to solution
Susan W Roden
Contributor

vx_nospace when sorting data

I have a user that gets the error vx_nospace - /dev/vg00/lvol5 ( which is where /tmp is mounted)file system full. A write error occurred while sorting.
This happens each time the user trys to sort a data file that is 51,100 records. It happens under three separate logon's. Could it be that I need to extend the /tmp directory?

4 REPLIES 4
Andreas Voss
Honored Contributor
Solution

Re: vx_nospace when sorting data

Hi,

extending /tmp is one solution.
For sorting you can define per option a different filesystem for temporary files:
sort -T /var/tmp ....

Regards
James R. Ferguson
Acclaimed Contributor

Re: vx_nospace when sorting data

Hi:

Set and export TMPDIR with the directory name in which you want to sort.

...JRF...
Victor BERRIDGE
Honored Contributor

Re: vx_nospace when sorting data

Yes it looks like it, many progams create large temporary files to perform sort, of course once the sort is done the temp file is removed...
Extend /tmp, or if you have enough space create a file system just for that usage if it a regular situation (daily?), i have done so on one box where SAS is running, I can tell you that when it sorts 300MB it needs 700 to perform its task...

Best regards
Victor
CHRIS_ANORUO
Honored Contributor

Re: vx_nospace when sorting data

Extend the /tmp and also check the permissions on the directory (drwxrwxrwx) owner must be bin and group also should be bin.
When We Seek To Discover The Best In Others, We Somehow Bring Out The Best In Ourselves.