Ubuntu – Google File Stream functionality on Ubuntu

google-drive

What options exist for Ubuntu users to get similar functionality to Google File Stream on Windows/Mac? I need two functionalities:

  1. All data lives in the Google Drive cloud and is only downloaded when I need it, e.g. when accessing it through the Terminal or Nautilus application?

  2. Whenever I add a file/modify an existing file, it must automatically be uploaded back up into the cloud.

I have a lot of files (>1M) which use quite a bit of space (~10Tb) on my Google Drive. So far I have used Google File Stream on Windows to have access to all that data on my laptop (500Gb SSD). I'm currently trying to move to Linux and ran into the problem that I can not find an option with similar features as Google File Stream offers. Unfortunately Google doesn't seem to offer Google File Stream on Linux: https://productforums.google.com/forum/#!topic/apps/Q6_-YzUaQzM

I have found the following options, none of which seem to do fulfill both requirements:

  1. InSync, Looked good, has been busy indexing my files for 4 days now and still is running – Feels like it's getting slower over time. At the moment I can not access files that are in folders, but the folder structure seems to be present.

  2. Gnome integration : This seems to just download everything that's in the cloud. Not feasible due to data volume.

  3. rClone: Haven't tried, but if I understand correctly I would need to explicitly download and upload every file using the terminal?

  4. Overgrive: More a replacement for Google Drive – couldn't access the data that was not explicitly synchronized.

  5. google-drive-ocamlfuse: Haven't tried – do I understand correctly that it downloads everything, similar to the Gnome integration?

Thanks!

Note, As there's no tag for google-file stream I have to use the google drive tag.

Best Answer

I use google-drive-ocamlfuse and it works perfectly. You can set up a "large file threshold" and it will stream all larger files. You can enable this in the config file. I have a Plex Media Server to which i have attached about 10TB of media files this way. Whenever I play a movie, the actual file is not downloaded, but streamed directly from drive even if the file needs converting. For uploading, it can only upload full files (drive api limitation). You can set the cache size limit and it will automatically clear rotate the cache

Related Question