cloudfuse icon indicating copy to clipboard operation
cloudfuse copied to clipboard

change /tmp location

Open bocomrx opened this issue 13 years ago • 5 comments

I would like to cache files anywhere else but /tmp I'm speaking of course about the temporary space cloudfuse uses to store files before the actual transfer. Since im using "secure temp" on my cpnael system it is limited in size, in this case 2 GB, so im limited to storing files no bigger than 2GB which is a big limitation.

To solve this I've tried changing the tmpdir= in install-sh to this: tmpdir=/fusetmp/ins$RANDOM-$$

but still, nothing was changed.

is there a configuration option im missing?

bocomrx avatar Dec 16 '12 15:12 bocomrx

Have you tried setting TMPDIR before you run cloudfuse?

geraldcombs avatar Dec 16 '12 17:12 geraldcombs

i'm mounting from fstab, so i dont see how i can affect TMPDIR before its being mounted.

bocomrx avatar Dec 18 '12 08:12 bocomrx

hmm... one workaround would be to just write a simple wrapper script like: TMPDIR=/fusetmp/whatevs cloudfuse $@

and then reference that script in fstab

redbo avatar Dec 22 '12 12:12 redbo

Could you please give a clearer example for non-savy admins on the following?

  1. Setting TMPDIR manually at the CLI.
  2. Setting up fstab properly.

J-Wick4 avatar Jul 19 '13 02:07 J-Wick4

Has anyone had any success with this? cloudfuse is causing my /tmp directory to fill up periodically for up to 15 minutes at a time.

XGhozt avatar Jan 17 '14 19:01 XGhozt