2

I have successfully installed gcsfuse and can mount a bucket and explore its contents. However whenever I try to copy or save a file to the mount I get the error:

The item “test.txt” can’t be copied because there isn’t enough free space.

A file still appears in the folder but is zero bytes in size, the same is true if I look at the online file browser.

System info:

  • OS: OS X 10.10.5
  • Version: gcsfuse-0.11.2
  • OSXFUSE: 2.8.0*
jacobsa
  • 439
  • 3
  • 11
Tim
  • 23
  • 2

2 Answers2

2

gcsfuse stages file contents in a local temporary directory before writing them to GCS (see documentation here).

You'll need to make sure you have enough free space in the temporary directory (which defaults to the target of the /tmp symlink on OS X) to cover the size of the file you're trying to write. You can control the location of the temporary directory with the --temp-dir flag to gcsfuse.

jacobsa
  • 439
  • 3
  • 11
  • I have over 200GB free on the drive, its just a small <1mb file. I also tried moving the temp folder to one in my user folder and the same thing happened. – Tim Sep 04 '15 at 18:08
  • Temporarily turn off the Time Machine to see if the issue will go. Use this command: `sudo tmutil disablelocal`. You can trun it on later using: `sudo tmutil enablelocal` – Kamran Sep 04 '15 at 18:48
  • Tried that, still getting the same error. – Tim Sep 04 '15 at 19:28
  • What are you using to copy the file? Does it happen with `cp` in the terminal? – jacobsa Sep 05 '15 at 00:12
  • Actually, I've been able to reproduce the issue. See my [other answer](http://serverfault.com/a/720234/302182). Will fix this when I get to work on Monday. – jacobsa Sep 05 '15 at 02:59
0

This was a bug that I've now fixed, and is gone as of gcsfuse v0.12.0. Thanks for the report! You can update with:

brew update && brew upgrade
jacobsa
  • 439
  • 3
  • 11