Skip to content
View in the app

A better way to browse. Learn more.

Unraid

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Guide: How To Use Rclone To Mount Cloud Drives And Play Files

Featured Replies

6 minutes ago, Kaizac said:

You could use mount_rclone as your RW folder and it will download directly to your Gdrive. However this will slowed by your upload speed. And it will probably also cause problems while direct writing to the mount. Rclone copy/move/etc. is intended to solve this issue by doing file checks.

ok thx

  • Replies 3.4k
  • Views 633.5k
  • Created
  • Last Reply

Top Posters In This Topic

Most Popular Posts

  • I just came across an issue after restarting my server where mergefs wasn't installing. After some investigation it seems the latest build from mergerfs does not work properly and I solved the problem

  • Key elements of my rclone mount command: rclone mount \ --allow-other \ --buffer-size 256M \ --dir-cache-time 720h \ --drive-chunk-size 512M \ --log-level INFO \ --vfs-read-chunk-size

  • Multiple mounts, one upload and one tidy-up script.   @watchmeexplode5 did some testing and performance gets worse as you get closer to the 400k mark, so you'll need to do something like bel

Posted Images

The real question is: what you want to do?

 

Do you want to have some files local, some (maybe old?) files online? Then this is the right solution.


You want all online? Then this is the right solution.

 

You want all offline? Then why would you need this? :D

The real question is: what you want to do?
 
Do you want to have some files local, some (maybe old?) files online? Then this is the right solution.

You want all online? Then this is the right solution.
 
You want all offline? Then why would you need this? [emoji3]
;)

My main goal is to be able to rss files localy and upload them automaticaly after the post processing

Thx

Envoyé de mon Pixel 2 XL en utilisant Tapatalk

"rss files locally"???

"rss files locally"???
Download torrent rss feed then process then upload to my gdrive

Envoyé de mon Pixel 2 XL en utilisant Tapatalk

This program has nothing to do with downloading and processing it.

 

But ofc it can upload files to gdrive, you can choose all, or just after some time (i would wait atleast half a year so it doenst upload x better versions of your linux isos when a new release comes out)

8 minutes ago, nuhll said:

This program has nothing to do with downloading and processing it.

 

But ofc it can upload files to gdrive, you can choose all, or just after some time (i would wait atleast half a year so it doenst upload x better versions of your linux isos when a new release comes out)

Perfect thx for the info

 

  • Author
2 hours ago, francrouge said:

Download torrent rss feed then process then upload to my gdrive

Envoyé de mon Pixel 2 XL en utilisant Tapatalk
 

This setup supports that - i.e. plex, sonarr, radarr etc all act as normal.

 

Sonarr 'looks' at the mount_unionfs folder so it functions normally i.e. grab->download->move to media folder - all the rclone script behaviour is invisible to sonarr. 

 

The upload script 15m delay ensures that Sonarr has finished any post-processing (renaming etc) before the file is uploaded.

15 hours ago, DZMM said:

This setup supports that - i.e. plex, sonarr, radarr etc all act as normal.

 

Sonarr 'looks' at the mount_unionfs folder so it functions normally i.e. grab->download->move to media folder - all the rclone script behaviour is invisible to sonarr. 

 

The upload script 15m delay ensures that Sonarr has finished any post-processing (renaming etc) before the file is uploaded.

thx a lot

In mine i set the upload folder to be my current Media Share.  I then changed Plex, Sonarr, Radarr etc to point to the union fs mount.

 

Currently i'm just manually shunting video's up to the cloud.  But once i'm happy with my process i'm going to set my script to copy anything older than 1 year to the cloud.  Then as i start to run out of storage i will increase the time.

 

The way i see it i will eventually replace my current HDDs with more flash local playback of new in demand shows and then copy up to the cloud after.

 

Process is working flawlessly for me.  I can't even tell the difference between spinning up a drive and playing from the cloud.  The only thing that is a bit slower on cloud is seeking.

 

unionfs -o cow,allow_other,direct_io,auto_cache,sync_read /mnt/user/Media=RW:/mnt/user/mount_rclone/google_vfs/Media=RO /mnt/user/mount_unionfs/google_vfs/Media

 

  • Author
1 hour ago, sauso said:

In mine i set the upload folder to be my current Media Share.  I then changed Plex, Sonarr, Radarr etc to point to the union fs mount.

 

Currently i'm just manually shunting video's up to the cloud.  But once i'm happy with my process i'm going to set my script to copy anything older than 1 year to the cloud.  Then as i start to run out of storage i will increase the time.

 

The way i see it i will eventually replace my current HDDs with more flash local playback of new in demand shows and then copy up to the cloud after.

 

Process is working flawlessly for me.  I can't even tell the difference between spinning up a drive and playing from the cloud.  The only thing that is a bit slower on cloud is seeking.

 


unionfs -o cow,allow_other,direct_io,auto_cache,sync_read /mnt/user/Media=RW:/mnt/user/mount_rclone/google_vfs/Media=RO /mnt/user/mount_unionfs/google_vfs/Media

 

I started this way and eventually as I got more comfortable I went all in for plex media, and I've also lots of other files to the point where my server is just photos and personal docs.  I'm gone from around 44TB in my array to only 16TB, where only around 4TB is permanent.

 

Re seeking, to be my mind it's got better since I started using rclone but it might be because I've got used to it now that I've gone all in.  Have you tried experimenting with --buffer-size ?? I think a bigger buffer might help with forward seeking (not backward of course)

I started this way and eventually as I got more comfortable I went all in for plex media, and I've also lots of other files to the point where my server is just photos and personal docs.  I'm gone from around 44TB in my array to only 16TB, where only around 4TB is permanent.
 
Re seeking, to be my mind it's got better since I started using rclone but it might be because I've got used to it now that I've gone all in.  Have you tried experimenting with --buffer-size ?? I think a bigger buffer might help with forward seeking (not backward of course)
For me its working great the only thing right now is that it takes a couple of second to load a movie from the gdrive

Envoyé de mon Pixel 2 XL en utilisant Tapatalk

18 hours ago, DZMM said:

I started this way and eventually as I got more comfortable I went all in for plex media, and I've also lots of other files to the point where my server is just photos and personal docs.  I'm gone from around 44TB in my array to only 16TB, where only around 4TB is permanent.

 

Re seeking, to be my mind it's got better since I started using rclone but it might be because I've got used to it now that I've gone all in.  Have you tried experimenting with --buffer-size ?? I think a bigger buffer might help with forward seeking (not backward of course)

Will give it a shot.  Haven't really experimented with it yet.  Got sidelined moving all my dockers to their own vlan.

Its important that you have your stuff in seperate folders (!) like /linuximages/linuximage1  /linuximages/linuximage2 not alle in /linuximages/

So had a power outage last night and my server restarted. (will be investing in a UPS soon!)

 

When my server came back up the mount script failed as the rclone_running file was still present.  If the server is gracefully shut down the unmount script removes this file.

 

Has anyone else found a way to combat this?

You probably just need to manually delete the "running" file then restart it. I have a lot of power outages.

might touch a new file called unclean_shutdown and work that into the script to delete the running file. if it was an unclean shutdown

 

2 hours ago, sauso said:

might touch a new file called unclean_shutdown and work that into the script to delete the running file. if it was an unclean shutdown

Just create 2 scripts. One for your rclone mount first start and your rclone continous mount. In your first start script you put at the beginning to delete the check files which should be removed to run the script properly.

  • Author
5 hours ago, sauso said:

So had a power outage last night and my server restarted. (will be investing in a UPS soon!)

 

When my server came back up the mount script failed as the rclone_running file was still present.  If the server is gracefully shut down the unmount script removes this file.

 

Has anyone else found a way to combat this?

Run the unmount script at array start rather than shutdown - that's what I do

9 minutes ago, DZMM said:

Run the unmount script at array start rather than shutdown - that's what I do

Bingo,  That makes total sense!

13 minutes ago, DZMM said:

Run the unmount script at array start rather than shutdown - that's what I do

How do you make sure the unmount script is run before the mount script?

  • Author
44 minutes ago, Kaizac said:

How do you make sure the unmount script is run before the mount script?

I run my mount script on a 5 min cron job */5 * * * * so even if I'm unlucky and the unmount hasn't run yet, it gets fixed on the next run 5 mins later

I feel like i'm going loopy.  I can't see anywhere in the unmount script that removes /mnt/user/appdata/other/rclone/rclone_mount_running

 

Am i going mad or is there another place that this is removed?

Guys, is this a working strategy to back up pictures and videos to my Google Drive?

  • Author
On 7/11/2019 at 11:02 AM, sauso said:

I feel like i'm going loopy.  I can't see anywhere in the unmount script that removes /mnt/user/appdata/other/rclone/rclone_mount_running

 

Am i going mad or is there another place that this is removed?

fixed on github.  Sorry about that - not sure how that went missing

Edited by DZMM

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.