Recommended Dropbox (Formally Google Drive) and Plex Mount Settings

Yeah, I have 3 mounts in total. A local mount. A rclone mount. A merger mount.

/dev/sdd1       9.1T  1.1T  8.0T  13% /local
gcrypt:         1.0P  116T  1.0P  11% /GD
local:GD        1.1P  117T  1.1P  11% /gmedia

I think you referring to size in a team drive rather than a standard google drive mount.

Staging is where things sit until they are uploaded to my Google Drive.

2 Likes

What drives are you using?

I am using a Seagate IronWolf 10TB NAS Internal Hard Drive. I tend to use NAS drives as for me, they last longer and generally are more reliable to be on all the time.

In general, if the drive died, I really don't care as I'd just grab what I lost as the data isn't 'valuable' per se.

1 Like

I just noticed it says 116TB used. Idk why I don't see that

agneev@pi4:~ $ df -h -x tmpfs
Filesystem      Size  Used Avail Use% Mounted on
/dev/root       229G   17G  200G   8% /
devtmpfs        1.8G     0  1.8G   0% /dev
mergerfs        6.3T  451G  5.9T   8% /mnt/merged
/dev/sde1       916G   77M  916G   1% /mnt/disks/1TB_3
/dev/sdd1       916G  176G  741G  20% /mnt/disks/1TB
/dev/sdc1       916G   77M  916G   1% /mnt/disks/1TB_2
/dev/mmcblk0p1  253M   53M  200M  21% /boot
/dev/sdb1       3.6T  275G  3.4T   8% /mnt/disks/4TB
media:          1.0P     0  1.0P   0% /mnt/media
putio:          100G   50G   51G  50% /mnt/putio
crypt:          1.0P     0  1.0P   0% /mnt/crypt
mega:            50G   27G   24G  53% /mnt/mega

Is that a team drive?

Yeah it is. Yours isn't?

Correct, it is not a team drive.

There is no way to get a size for team drives I presume?

I don't know the answer to that.

That is correct. The big G doesn't provide an API for that. You can run rclone size on the drive if you want to know but that has to list the whole thing!

1 Like

I was going over your workflow minutely and I'm wondering how Radarr/Sonarr handles your files from your download client.

AFAIK, the files are not automatically imported but a script does it nightly. How does Sonarr/Radarr keep track of respective folder/file names?

Everything is pointed to /gmedia so no path ever changes. Radarr/Sonarr/everything point to that mount point so it works like any other mount point at that point.

No path ever changes so there is nothing to change in Sonarr/Radarr.

The upload script just moves the file from my local drive to my Google Drive.

For Plex/Radarr/Sonarr/etc, they have no idea anything changed as the path remains the same for them since it all points to /gmedia.

I think I need to be more clear.

Let's say you add a movie to Radarr (or a list auto adds it). Radarr assumes a path: /mnt/media/Movies/10 Cloverfield Lane (2016).

When Radarr adds the torrent to the torrent client, the resulting download folder is something like 10.Cloverfield.Lane.2016.1080p.BluRay.x264-SPARKS.

When your script moves the folder to your rclone mount, how does the renaming work?

That's how Radarr and Sonarr work normally though as they handle media management and moving from from your download client to the final location. There isn't anything special I do there.

In your example if the movie was downloaded via Radar to

/gmedia/seed/Movie/Test.mkv,

Once it was done Radarr would copy it to
/gmedia/Movies/Test/Test.mkv

and both files are in their respective locations with one for seeding and one for playing via Plex.

My upload script takes /gmedia/Movies/Test/Test.mkv and moves it from my local drive to my cloud drive. That all happens with no path changes to the file so Plex is none the wiser on it's location.

Oh! That clears it up.

How does mergerFS not ever write torrents to the rclone mount?

That's why I use mergerfs as it has two drives configured, /local and /GD. My mergerfs policy always writes to the first, which is local.

1 Like

In your upload script you have a log option -v. Where does that output to?

Do you have separate folders for Movies or TV Shows? How does the script know where to move the files?

It uses a --log-file in the scripts and puts it to a file.

Yes, I follow the normal Sonarr/Radarr/Plex requirements for having folders.

It's no different than mirroring two drives as I keep the format from the source the same as on the destination as /local/Movies basically just copies to /GD/Movies and /local/TV copies to /GD/TV

1 Like

This thread has been a great amount of help! been reading it over the last few days and have managed to setup rclone successfully. Now i am looking to implement MergeFS for my Sonarr/Radarr/Plex server, but have a couple of questions regarding the cloud transfer part.

Is the /local and /GD the same to one another in terms of folder structures? (with hard links being used between them to maintain the structure?)

Does your Sonarr/Radarr instance point to /GD or /Local?

I'm trying to figure out how the upload script can maintain folder structures for TV shows. IE: Show Name -> Season xx -> EP xx

Thanks!

/local and /GD are basically the same in terms of structure so /local/TV would be /GD/TV and /local/Movies is /GD/Movies.

Neither. Everything points to the mergerfs union /gmedia.

I don't use season folders although it wouldn't matter. Anything in /local is moved with it's path to /GD so folders and everything is moved.