No Space left On Device

Hi,

We are trying to sort the 40GB file in unix and getting following error.

Error:

sort: can't write /var/tmp/stmAAAvsaGfJ.00002929: No space left on device

sort -t ',' -k4 $DIR/INF_ff_FULL.dat >>$DIR/Sort_INF_ff_FULL.dat; 2>$DIR/sort_error.log

Can you please advise how to assign the manual temp log file.

Hi,

Not quiet sure if I understand you but you can point to a different directory that has more space that your /tmp folder. (assuming such a directory is available)

with option -T you can try

-S, --buffer-size=SIZE
              use SIZE for main memory buffer