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


DZMM

2463 posts in this topic Last Reply

Recommended Posts

  • Replies 2.5k
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

Popular Posts

3/1/20 UPDATE: TO MIGRATE FROM UNIONFS TO MERGERFS READ THIS POST.  New users continue reading 13/3/20 Update: For a clean version of the 'How To' please use the github site https://github.com/B

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

so ive been reading for ages but theres so many pages here, my issue is that when the array is stopped the mergerfs mount is not unmounted casuing unraid to keep retrying indefinately to unmount share

Posted Images

Hi guys

 

I use this guide to install rclone and after i start the mount plugin i can't stop it anyway, even if I start the unmount plugin. If i try to stop the array I get this message "Array Stopping•Retry unmounting user share(s)...".

 

Anyone with a solution ?

 

Many thanks

 

Link to post
9 minutes ago, chefmoisas said:

Hi guys

 

I use this guide to install rclone and after i start the mount plugin i can't stop it anyway, even if I start the unmount plugin. If i try to stop the array I get this message "Array Stopping•Retry unmounting user share(s)...".

 

Anyone with a solution ?

 

Many thanks

 

This is a bit crude - but i run this in terminal:

ps -ef | grep /mnt/user

 

for each pid that comes up, i do this:

kill <pid>

 

Someone can probably script a better way to do it and run at array stop, but for now that's what i've been doing. 

Link to post

Now I fuc**** up,

 

I run this in the console

Quote

#!/bin/bash

logger "/usr/local/sbin/powerdown has been deprecated"

if [[ "$1" == "-r" ]]; then

/sbin/reboot

else

/sbin/poweroff

fi

The server shut down , now i start it i can ping it but the web interface is not working

 

Any Ideas?

 

Link to post
43 minutes ago, axeman said:

This is a bit crude - but i run this in terminal:

ps -ef | grep /mnt/user

 

for each pid that comes up, i do this:

kill <pid>

 

Someone can probably script a better way to do it and run at array stop, but for now that's what i've been doing. 

There is a pid that i can't stop

 

Quote

root     32265 30343  0 14:45 pts/0    00:00:00 grep /mnt/user

 

Link to post

Hi Guys

 

After i start the rclone_mount, I start the rclone_upload and I get this log . The rclone is not instaled but the gdrive mounts are working

 

Quote

Script Starting Nov 25, 2020 15:41.24

Full logs for this script are available at /tmp/user.scripts/tmpScripts/rclone_upload/log.txt

25.11.2020 15:41:24 INFO: *** Rclone move selected. Files will be moved from /mnt/user/Media/gdrive for gdrive ***
25.11.2020 15:41:24 INFO: *** Starting rclone_upload script for gdrive ***
25.11.2020 15:41:24 INFO: Script not running - proceeding.
25.11.2020 15:41:24 INFO: Checking if rclone installed successfully.
25.11.2020 15:41:25 INFO: rclone not installed - will try again later.
Script Finished Nov 25, 2020 15:41.25

Full logs for this script are available at /tmp/user.scripts/tmpScripts/rclone_upload/log.txt

 

Any Solution ?

 

Many thanks

 

Link to post

Hi all

 

Anyone experience this on plex + gdrive

 

Error Message:

 

The conversion failed. The transcoder stopped due to an error.

 

Completed: [10.0.0.122:55423] 404 GET /video/:/transcode/universal/dash/cfl62u47bdgnu0h10chn0i2z/1/initial.mp4 (8 live) TLS GZIP 0ms 458 bytes (pipelined: 20)

 

thx all

Link to post

Hi guys

 

i might be 90 pages late on this.

can someone give pointers on what i should configure the script in the following scenario :

have /mnt/user/Movies and mnt/user/Series which still contain files (and will be for the forseeable future)

i also have /mnt/disks/google/Movies and /mnt/disks/google/Series  (rclone mount) which contains a portion of my data which i loaded the last year.

using a variation of the upload script to copy from /mnt/user/Series currently , where i will then selectively delete data on the local share once i am happy full series has been copied over.

Plex obviously has both folders added (so some series might show two copies of an episode, but that doesn't affect usage)

Sonarr is linked to the local folder only.

 

question:

How to move to a mergerfs solution?

 

will i need to create a usershare called "local" and move both my movies and Series into that? or is there a way to use my current folder structure(preferred)?

 

I have a feeling the answer is very simple, but looking through the script i just cant seem t

 

thx team!

 

 

 

Link to post
On 11/23/2020 at 4:24 PM, Bolagnaise said:

If you remember i moved from the old script so my local is my rclone_upload folder. Heres my current script for reference.

 

 


#!/bin/bash

######################
#### Mount Script ####
######################
#!/bin/bash

######################
#### Mount Script ####
######################
## Version 0.96.9.2 ##
######################

####### EDIT ONLY THESE SETTINGS #######

# INSTRUCTIONS
# 1. Change the name of the rclone remote and shares to match your setup
# 2. NOTE: enter RcloneRemoteName WITHOUT ':'
# 3. Optional: include custom command and bind mount settings
# 4. Optional: include extra folders in mergerfs mount

# REQUIRED SETTINGS
RcloneRemoteName="gdrive_vfs" # Name of rclone remote mount WITHOUT ':'. NOTE: Choose your encrypted remote for sensitive data
RcloneMountShare="/mnt/user/mount_rclone" # where your rclone remote will be located without trailing slash  e.g. /mnt/user/mount_rclone
RcloneMountDirCacheTime="720h" # rclone dir cache time
LocalFilesShare="/mnt/user/rclone_upload" # location of the local files and MountFolders you want to upload without trailing slash to rclone e.g. /mnt/user/local. Enter 'ignore' to disable
RcloneCacheShare="/mnt/user/mount_rclone" # location of rclone cache files without trailing slash e.g. /mnt/user0/mount_rclone
RcloneCacheMaxSize="400G" # Maximum size of rclone cache
RcloneCacheMaxAge="336h" # Maximum age of cache files
MergerfsMountShare="/mnt/user/mount_unionfs" # location without trailing slash  e.g. /mnt/user/mount_mergerfs. Enter 'ignore' to disable
DockerStart="plex sonarr sonarr4K radarr radarr4K" # list of dockers, separated by space, to start once mergerfs mount verified. Remember to disable AUTOSTART for dockers added in docker settings page
MountFolders=\ {"downloads/completed,downloads/intermediate,downloads/seeds,Movies,TV Shows,4KMovies,4kTVShows"\} # comma separated list of folders to create within the mount

# Note: Again - remember to NOT use ':' in your remote name above

# OPTIONAL SETTINGS

# Add extra paths to mergerfs mount in addition to LocalFilesShare
LocalFilesShare2="ignore" # without trailing slash e.g. /mnt/user/other__remote_mount/or_other_local_folder.  Enter 'ignore' to disable
LocalFilesShare3="ignore"
LocalFilesShare4="ignore"

# Add extra commands or filters
Command1="--rc"
Command2=""
Command3=""
Command4=""
Command5=""
Command6=""
Command7=""
Command8=""

CreateBindMount="N" # Y/N. Choose whether to bind traffic to a particular network adapter
RCloneMountIP="192.168.1.252" # My unraid IP is 172.30.12.2 so I create another similar IP address
NetworkAdapter="eth0" # choose your network adapter. eth0 recommended
VirtualIPNumber="2" # creates eth0:x e.g. eth0:1.  I create a unique virtual IP addresses for each mount & upload so I can monitor and traffic shape for each of them

####### END SETTINGS #######

###############################################################################
#####   DO NOT EDIT ANYTHING BELOW UNLESS YOU KNOW WHAT YOU ARE DOING   #######
###############################################################################

####### Preparing mount location variables #######
RcloneMountLocation="$RcloneMountShare/$RcloneRemoteName" # Location for rclone mount
LocalFilesLocation="$LocalFilesShare/$RcloneRemoteName" # Location for local files to be merged with rclone mount
MergerFSMountLocation="$MergerfsMountShare/$RcloneRemoteName" # Rclone data folder location

####### create directories for rclone mount and mergerfs mounts #######
mkdir -p /mnt/user/appdata/other/rclone/remotes/$RcloneRemoteName # for script files
mkdir -p $RcloneCacheShare/cache/$RcloneRemoteName # for cache files
if [[  $LocalFilesShare == 'ignore' ]]; then
    echo "$(date "+%d.%m.%Y %T") INFO: Not creating local folders as requested."
else
    echo "$(date "+%d.%m.%Y %T") INFO: Creating local folders."
    eval mkdir -p $LocalFilesLocation/"$MountFolders"
fi
mkdir -p $RcloneMountLocation

if [[  $MergerfsMountShare == 'ignore' ]]; then
    echo "$(date "+%d.%m.%Y %T") INFO: Not creating MergerFS folders as requested."
else
    echo "$(date "+%d.%m.%Y %T") INFO: Creating MergerFS folders."
    mkdir -p $MergerFSMountLocation
fi


#######  Check if script is already running  #######
echo "$(date "+%d.%m.%Y %T") INFO: *** Starting mount of remote ${RcloneRemoteName}"
echo "$(date "+%d.%m.%Y %T") INFO: Checking if this script is already running."
if [[ -f "/mnt/user/appdata/other/rclone/remotes/$RcloneRemoteName/mount_running" ]]; then
    echo "$(date "+%d.%m.%Y %T") INFO: Exiting script as already running."
    exit
else
    echo "$(date "+%d.%m.%Y %T") INFO: Script not running - proceeding."
    touch /mnt/user/appdata/other/rclone/remotes/$RcloneRemoteName/mount_running
fi

####### Checking have connectivity #######

echo "$(date "+%d.%m.%Y %T") INFO: *** Checking if online"
ping -q -c2 google.com > /dev/null # -q quiet, -c number of pings to perform
if [ $? -eq 0 ]; then # ping returns exit status 0 if successful
    echo "$(date "+%d.%m.%Y %T") PASSED: *** Internet online"
else
    echo "$(date "+%d.%m.%Y %T") FAIL: *** No connectivity.  Will try again on next run"
    rm /mnt/user/appdata/other/rclone/remotes/$RcloneRemoteName/mount_running
    exit
fi

#######  Create Rclone Mount  #######

# Check If Rclone Mount Already Created
if [[ -f "$RcloneMountLocation/mountcheck" ]]; then
    echo "$(date "+%d.%m.%Y %T") INFO: Success ${RcloneRemoteName} remote is already mounted."
else
    echo "$(date "+%d.%m.%Y %T") INFO: Mount not running. Will now mount ${RcloneRemoteName} remote."
# Creating mountcheck file in case it doesn't already exist
    echo "$(date "+%d.%m.%Y %T") INFO: Recreating mountcheck file for ${RcloneRemoteName} remote."
    touch mountcheck
    rclone copy mountcheck $RcloneRemoteName: -vv --no-traverse
# Check bind option
    if [[  $CreateBindMount == 'Y' ]]; then
        echo "$(date "+%d.%m.%Y %T") INFO: *** Checking if IP address ${RCloneMountIP} already created for remote ${RcloneRemoteName}"
        ping -q -c2 $RCloneMountIP > /dev/null # -q quiet, -c number of pings to perform
        if [ $? -eq 0 ]; then # ping returns exit status 0 if successful
            echo "$(date "+%d.%m.%Y %T") INFO: *** IP address ${RCloneMountIP} already created for remote ${RcloneRemoteName}"
        else
            echo "$(date "+%d.%m.%Y %T") INFO: *** Creating IP address ${RCloneMountIP} for remote ${RcloneRemoteName}"
            ip addr add $RCloneMountIP/24 dev $NetworkAdapter label $NetworkAdapter:$VirtualIPNumber
        fi
        echo "$(date "+%d.%m.%Y %T") INFO: *** Created bind mount ${RCloneMountIP} for remote ${RcloneRemoteName}"
    else
        RCloneMountIP=""
        echo "$(date "+%d.%m.%Y %T") INFO: *** Creating mount for remote ${RcloneRemoteName}"
    fi
# create rclone mount
    rclone mount \
    $Command1 $Command2 $Command3 $Command4 $Command5 $Command6 $Command7 $Command8 \
    --allow-other \
    --dir-cache-time $RcloneMountDirCacheTime \
    --log-level INFO \
    --poll-interval 15s \
    --cache-dir=$RcloneCacheShare/cache/$RcloneRemoteName \
    --vfs-cache-mode full \
    --vfs-cache-max-size $RcloneCacheMaxSize \
    --vfs-cache-max-age $RcloneCacheMaxAge \
    --bind=$RCloneMountIP \
    $RcloneRemoteName: $RcloneMountLocation &

# Check if Mount Successful
    echo "$(date "+%d.%m.%Y %T") INFO: sleeping for 5 seconds"
# slight pause to give mount time to finalise
    sleep 5
    echo "$(date "+%d.%m.%Y %T") INFO: continuing..."
    if [[ -f "$RcloneMountLocation/mountcheck" ]]; then
        echo "$(date "+%d.%m.%Y %T") INFO: Successful mount of ${RcloneRemoteName} mount."
    else
        echo "$(date "+%d.%m.%Y %T") CRITICAL: ${RcloneRemoteName} mount failed - please check for problems.  Stopping dockers"
        docker stop $DockerStart
        rm /mnt/user/appdata/other/rclone/remotes/$RcloneRemoteName/mount_running
        exit
    fi
fi

####### Start MergerFS Mount #######

if [[  $MergerfsMountShare == 'ignore' ]]; then
    echo "$(date "+%d.%m.%Y %T") INFO: Not creating mergerfs mount as requested."
else
    if [[ -f "$MergerFSMountLocation/mountcheck" ]]; then
        echo "$(date "+%d.%m.%Y %T") INFO: Check successful, ${RcloneRemoteName} mergerfs mount in place."
    else
# check if mergerfs already installed
        if [[ -f "/bin/mergerfs" ]]; then
            echo "$(date "+%d.%m.%Y %T") INFO: Mergerfs already installed, proceeding to create mergerfs mount"
        else
# Build mergerfs binary
            echo "$(date "+%d.%m.%Y %T") INFO: Mergerfs not installed - installing now."
            mkdir -p /mnt/user/appdata/other/rclone/mergerfs
            docker run -v /mnt/user/appdata/other/rclone/mergerfs:/build --rm trapexit/mergerfs-static-build
            mv /mnt/user/appdata/other/rclone/mergerfs/mergerfs /bin
# check if mergerfs install successful
            echo "$(date "+%d.%m.%Y %T") INFO: *sleeping for 5 seconds"
            sleep 5
            if [[ -f "/bin/mergerfs" ]]; then
                echo "$(date "+%d.%m.%Y %T") INFO: Mergerfs installed successfully, proceeding to create mergerfs mount."
            else
                echo "$(date "+%d.%m.%Y %T") ERROR: Mergerfs not installed successfully.  Please check for errors.  Exiting."
                rm /mnt/user/appdata/other/rclone/remotes/$RcloneRemoteName/mount_running
                exit
            fi
        fi
# Create mergerfs mount
        echo "$(date "+%d.%m.%Y %T") INFO: Creating ${RcloneRemoteName} mergerfs mount."
# Extra Mergerfs folders
        if [[  $LocalFilesShare2 != 'ignore' ]]; then
            echo "$(date "+%d.%m.%Y %T") INFO: Adding ${LocalFilesShare2} to ${RcloneRemoteName} mergerfs mount."
            LocalFilesShare2=":$LocalFilesShare2"
        else
            LocalFilesShare2=""
        fi
        if [[  $LocalFilesShare3 != 'ignore' ]]; then
            echo "$(date "+%d.%m.%Y %T") INFO: Adding ${LocalFilesShare3} to ${RcloneRemoteName} mergerfs mount."
            LocalFilesShare3=":$LocalFilesShare3"
        else
            LocalFilesShare3=""
        fi
        if [[  $LocalFilesShare4 != 'ignore' ]]; then
            echo "$(date "+%d.%m.%Y %T") INFO: Adding ${LocalFilesShare4} to ${RcloneRemoteName} mergerfs mount."
            LocalFilesShare4=":$LocalFilesShare4"
        else
            LocalFilesShare4=""
        fi
# make sure mergerfs mount point is empty
        mv $MergerFSMountLocation $LocalFilesLocation
        mkdir -p $MergerFSMountLocation
# mergerfs mount command
        mergerfs $LocalFilesLocation:$RcloneMountLocation$LocalFilesShare2$LocalFilesShare3$LocalFilesShare4 $MergerFSMountLocation -o rw,async_read=false,use_ino,allow_other,func.getattr=newest,category.action=all,category.create=ff,cache.files=partial,dropcacheonclose=true
# check if mergerfs mount successful
        echo "$(date "+%d.%m.%Y %T") INFO: Checking if ${RcloneRemoteName} mergerfs mount created."
        if [[ -f "$MergerFSMountLocation/mountcheck" ]]; then
            echo "$(date "+%d.%m.%Y %T") INFO: Check successful, ${RcloneRemoteName} mergerfs mount created."
        else
            echo "$(date "+%d.%m.%Y %T") CRITICAL: ${RcloneRemoteName} mergerfs mount failed.  Stopping dockers."
            docker stop $DockerStart
            rm /mnt/user/appdata/other/rclone/remotes/$RcloneRemoteName/mount_running
            exit
        fi
    fi
fi

####### Starting Dockers That Need Mergerfs Mount To Work Properly #######

# only start dockers once
if [[ -f "/mnt/user/appdata/other/rclone/remotes/$RcloneRemoteName/dockers_started" ]]; then
    echo "$(date "+%d.%m.%Y %T") INFO: dockers already started."
else
# Check CA Appdata plugin not backing up or restoring
    if [ -f "/tmp/ca.backup2/tempFiles/backupInProgress" ] || [ -f "/tmp/ca.backup2/tempFiles/restoreInProgress" ] ; then
        echo "$(date "+%d.%m.%Y %T") INFO: Appdata Backup plugin running - not starting dockers."
    else
        touch /mnt/user/appdata/other/rclone/remotes/$RcloneRemoteName/dockers_started
        echo "$(date "+%d.%m.%Y %T") INFO: Starting dockers."
        docker start $DockerStart
    fi
fi

rm /mnt/user/appdata/other/rclone/remotes/$RcloneRemoteName/mount_running
echo "$(date "+%d.%m.%Y %T") INFO: Script complete"

exit

 

 

Inside /mount_mergerfs/ there is another folder created called gdrive_media_vfs. Why is this here? This looks like something is misconfigured right? That folder is also inside the /rclone_upload/

 

Is something wrong here?

Edited by privateer
Link to post

So maybe a bit of a luxury problem but i am wondering if this is the correct place to ask:

Love the script btw.

So i got an 1/1 gig fiber, and want to use this to it utmost limit

so i got 2 networks running

vlan10 on eth2 with my sabnzbd and qbit these 2 run 100 mb's a sec without a hitch no issue there

i then run the upload script, fixed on eth0, and while i download my upload speed tanks my download speed? 

what am i missing here? i can move stuff while uploading to and from the array with 110 mb's while its uploading, it would seem that it's only when the upload script starts.

i am wondering if mergerfs or the possibility that im hitting some kind of limit in this script setup

again thanks, i think i have tried everything, but if anybody got an idea, please share it, because im lost :)

Link to post
2 hours ago, Playerz said:

So maybe a bit of a luxury problem but i am wondering if this is the correct place to ask:

Love the script btw.

So i got an 1/1 gig fiber, and want to use this to it utmost limit

so i got 2 networks running

vlan10 on eth2 with my sabnzbd and qbit these 2 run 100 mb's a sec without a hitch no issue there

i then run the upload script, fixed on eth0, and while i download my upload speed tanks my download speed? 

what am i missing here? i can move stuff while uploading to and from the array with 110 mb's while its uploading, it would seem that it's only when the upload script starts.

i am wondering if mergerfs or the possibility that im hitting some kind of limit in this script setup

again thanks, i think i have tried everything, but if anybody got an idea, please share it, because im lost :)

 

when you say your download tanks, how much are we talking?

 

I suspect your download is being impacted by the need to send Acknowledgement packets - basically when you download something you tell the sender "I received the last packet ok, please send more".  If you're hammering the upload at the same time you might be limiting your download potential - if you don't prioritise your acknowledgement packets.

 

I prioritise my ACK packets with my pfsense VM and you wouldn't believe the difference it can make to even an average connection!  Not one for this post, but definitely worth you investigating.  Or, just limit your upload to whatever speed doesn't kill your download, and leaves you enough bandwidth to do other things e.g. when I had a gig I capped both at 800Mbps.

Link to post
On 11/26/2020 at 5:12 PM, francrouge said:

Hi all

 

Anyone experience this on plex + gdrive

 

Error Message:

 

The conversion failed. The transcoder stopped due to an error.

 

Completed: [10.0.0.122:55423] 404 GET /video/:/transcode/universal/dash/cfl62u47bdgnu0h10chn0i2z/1/initial.mp4 (8 live) TLS GZIP 0ms 458 bytes (pipelined: 20)

 

thx all

Just got this same issue. Was working fine until today? Tried everything and no luck

Link to post
On 6/22/2020 at 6:14 PM, DZMM said:

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 below soon:

 

1. My folder structure looks something like this:

 

mount_mergerfs/tdrive_vfs/movies

mount_mergerfs/tdrive_vfs/music

mount_mergerfs/tdrive_vfs/uhd

mount_mergerfs/tdrive_vfs/tv_adults

mount_mergerfs/tdrive_vfs/tv_kids

 

2. I created separate tdrives  / rclone mounts for some of the bigger folders e.g.

 

mount_rclone/tdrive_vfs/movies

mount_rclone/tdrive_vfs/music

mount_rclone/tdrive_vfs/uhd

mount_rclone/tdrive_vfs/adults_tv

                                        

for each of those I created a mount script instance where I do NOT create a mergerfs mount

 

3. I mount each in turn and for the final main mount add the extra tdrive rclone mounts as extra mergerfs folders:

 


###############################################################
###################### mount tdrive   #########################
###############################################################

# REQUIRED SETTINGS
RcloneRemoteName="tdrive_vfs"
RcloneMountShare="/mnt/user/mount_rclone"
LocalFilesShare="/mnt/user/local"
MergerfsMountShare="/mnt/user/mount_mergerfs"

# OPTIONAL SETTINGS

# Add extra paths to mergerfs mount in addition to LocalFilesShare
LocalFilesShare2="/mnt/user/mount_rclone/music" 
LocalFilesShare3="/mnt/user/mount_rclone/uhd"
LocalFilesShare4="/mnt/user/mount_rclone/adults_tv"

4. Run the single upload script - everything initially gets moved from /mnt/user/local/tdrive_vfs to the tdrive_vfs teamdrive

 

5. Overnight I run another script to move files from the folders that are in tdrive_vfs: to the correct teamdrive.  You have to work out the encrypted folder names for this to work.  Because rclone is moving the files, the mergerfs mount gets updated i.e. it looks to plex etc like they haven't moved

 


#!/bin/bash

rclone move tdrive:crypt/music_tdrive_encrypted_folder_name gdrive:crypt/music_tdrive_encrypted_folder_name \
--user-agent="transfer" \
-vv \
--buffer-size 512M \
--drive-chunk-size 512M \
--tpslimit 8 \
--checkers 8 \
--transfers 4 \
--order-by modtime,ascending \
--exclude *fuse_hidden* \
--exclude *_HIDDEN \
--exclude .recycle** \
--exclude .Recycle.Bin/** \
--exclude *.backup~* \
--exclude *.partial~* \
--drive-stop-on-upload-limit \
--delete-empty-src-dirs

rclone move tdrive:crypt/tv_tdrive_encrypted_folder_name tdrive_t_adults:crypt/tv_tdrive_encrypted_folder_name \
--user-agent="transfer" \
-vv \
--buffer-size 512M \
--drive-chunk-size 512M \
--tpslimit 8 \
--checkers 8 \
--transfers 4 \
--order-by modtime,ascending \
--exclude *fuse_hidden* \
--exclude *_HIDDEN \
--exclude .recycle** \
--exclude .Recycle.Bin/** \
--exclude *.backup~* \
--exclude *.partial~* \
--drive-stop-on-upload-limit \
--delete-empty-src-dirs

rclone move tdrive:crypt/uhd_tdrive_encrypted_folder_name tdrive_uhd:crypt/uhd_tdrive_encrypted_folder_name \
--user-agent="transfer" \
-vv \
--buffer-size 512M \
--drive-chunk-size 512M \
--tpslimit 8 \
--checkers 8 \
--transfers 4 \
--order-by modtime,ascending \
--exclude *fuse_hidden* \
--exclude *_HIDDEN \
--exclude .recycle** \
--exclude .Recycle.Bin/** \
--exclude *.backup~* \
--exclude *.partial~* \
--drive-stop-on-upload-limit \
--delete-empty-src-dirs

exit

 

 

Hi - can you share that mount script with the merger FS parts striped out? 

Quote

for each of those I created a mount script instance where I do NOT create a mergerfs mount

is it just this part? 

# create rclone mount
	rclone mount \
	$Command1 $Command2 $Command3 $Command4 $Command5 $Command6 $Command7 $Command8 \
	--allow-other \
	--dir-cache-time $RcloneMountDirCacheTime \
	--log-level INFO \
	--poll-interval 15s \
	--cache-dir=$RcloneCacheShare/cache/$RcloneRemoteName \
	--vfs-cache-mode full \
	--vfs-cache-max-size $RcloneCacheMaxSize \
	--vfs-cache-max-age $RcloneCacheMaxAge \
	--bind=$RCloneMountIP \
	$RcloneRemoteName: $RcloneMountLocation &

 

Link to post
1 hour ago, axeman said:

Hi - can you share that mount script with the merger FS parts striped out? 

It's in the script settings:

 

MergerfsMountShare="/mnt/user/mount_mergerfs" # location without trailing slash  e.g. /mnt/user/mount_mergerfs. Enter 'ignore' to disable

 

Link to post
1 hour ago, DZMM said:

It's in the script settings:

 


MergerfsMountShare="/mnt/user/mount_mergerfs" # location without trailing slash  e.g. /mnt/user/mount_mergerfs. Enter 'ignore' to disable

 

DOH! SORRY. i thought it was a whole different script. 

Link to post

Having troubles editing/deleting/moving files in the mount_mergerfs share over SMB. I can do everything I need to using Krusader in a docker, but for whatever reason I can't do it over a network share.

 

All my shares are set to 'public' and I don't have anything specific to this path in my SMB Extras (but I do have Unassigned Devices installed, with no unassigned device currently in use).

What completely obvious thing am I missing? I'm assuming it suuuper simple because no one else seems to be currently having this problem.

Link to post
On 12/5/2020 at 2:37 PM, DZMM said:

It's in the script settings:

 


MergerfsMountShare="/mnt/user/mount_mergerfs" # location without trailing slash  e.g. /mnt/user/mount_mergerfs. Enter 'ignore' to disable

 

 

Okay - final dumb question - I want to completely separate out my adult tv shows so that it's not on the same mount. Can I have another merger fs mount, and corresponding upload script? 

 

Or will the conflict with each other? 

Link to post
7 hours ago, axeman said:

 

Okay - final dumb question - I want to completely separate out my adult tv shows so that it's not on the same mount. Can I have another merger fs mount, and corresponding upload script? 

 

Or will the conflict with each other? 

 

what's your objective?

 

- Main tdrive getting too big?  Create a new rclone mount with a new tdrive and disable the new mergerfs share in that new script.  In your original script add the new rclone mount as an extra local folder

- you want another mergerfs mount for plex or similar with just your TV shows?  I would manually create a 2nd mergerfs mount that merges the rclone remote that's already mounted on your PC and the corresponding local folder.  That way you've got only got 1 rclone mount of the remote

Link to post
On 11/26/2020 at 2:12 PM, francrouge said:

Hi all

 

Anyone experience this on plex + gdrive

 

Error Message:

 

The conversion failed. The transcoder stopped due to an error.

 

Completed: [10.0.0.122:55423] 404 GET /video/:/transcode/universal/dash/cfl62u47bdgnu0h10chn0i2z/1/initial.mp4 (8 live) TLS GZIP 0ms 458 bytes (pipelined: 20)

 

thx all

Ran into the same issue today. If you find a solution please let me know.

Link to post
16 hours ago, DZMM said:

what's your objective?

 

- Main tdrive getting too big?  Create a new rclone mount with a new tdrive and disable the new mergerfs share in that new script.  In your original script add the new rclone mount as an extra local folder

- you want another mergerfs mount for plex or similar with just your TV shows?  I would manually create a 2nd mergerfs mount that merges the rclone remote that's already mounted on your PC and the corresponding local folder.  That way you've got only got 1 rclone mount of the remote

None of the above - more so that I can have a protected share that the kiddos can't see. 

Link to post

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...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.