Mount is Unstable when sharing via NFS

What is the problem you are having with rclone?

Hi all

I am running into an issue when sharing my Rclone mount via NFS on OpenMediaVault 5. It seems like the directories are being dropped temporarily (I have attached a before and after drop screenshot).

The mount is also passed to a docker-container running Deluge, files begin downloading to but end up in an 'error' state every time. I believe this is the same issue manifesting differently.

I understand there are some mounting options I could try?

Many thanks!

What is your rclone version (output from rclone version)

rclone v1.45

Which OS you are using and how many bits (eg Windows 7, 64 bit)

Debian, 64 bit

Which cloud storage system are you using? (eg Google Drive)

Google Drive

Mounting Command

rclone mount --daemon Gdrive: /home/Gdrive

The rclone config contents with secrets removed.

[Gdrive]
type = drive
client_id = *
client_secret = *
scope = drive
root_folder_id = *
token = *

A log from the command with the -vv flag

logfile is empty after running

rclone mount --daemon --log-file /var/log/rclonelog4.txt Gdrive: /home/Gdrive2/

After

You have a really old version of rclone.

Can you update, make sure to have -vv so it has a debug log and share the full debug log if the problem persists?

Thank you for getting back to me, Animosity. I hadn't realized Rclone has not been updated in Debian repositories, I have now installed it via curl https://rclone.org/install.sh | sudo bash.

The issue persists, unfortunately.

Apologies, could you guide me where to put the -vv flags and how to generate the logs you are looking for?

add it to the end of your command above:

rclone mount --daemon --log-file /var/log/rclonelog4.txt Gdrive: /home/Gdrive2/ -vv

Thank you, this is the output:

2020/12/23 20:18:21 DEBUG : rclone: Version "v1.53.3" starting with parameters ["rclone" "mount" "--daemon" "--log-file" "/var/log/rclonelog6.txt" "Gdrive:" "/home/Gdrive2/" "-vv"]
2020/12/23 20:18:21 DEBUG : Creating backend with remote "Gdrive:"
2020/12/23 20:18:21 DEBUG : Using config file from "/root/.config/rclone/rclone.conf"
2020/12/23 20:18:21 DEBUG : rclone: Version "v1.53.3" finishing with parameters ["rclone" "mount" "--daemon" "--log-file" "/var/log/rclonelog6.txt" "Gdrive:" "/home/Gdrive2/" "-vv"]
2020/12/23 20:18:21 DEBUG : rclone: Version "v1.53.3" starting with parameters ["rclone" "mount" "--daemon" "--log-file" "/var/log/rclonelog6.txt" "Gdrive:" "/home/Gdrive2/" "-vv"]
2020/12/23 20:18:21 DEBUG : Creating backend with remote "Gdrive:"
2020/12/23 20:18:21 DEBUG : Using config file from "/root/.config/rclone/rclone.conf"
2020/12/23 20:18:21 DEBUG : Google drive root '': Mounting on "/home/Gdrive2/"
2020/12/23 20:18:21 DEBUG : : Root:
2020/12/23 20:18:21 DEBUG : : >Root: node=/, err=<nil>

Can you recreate the issue with the debug log on and share the debug log?

I have remounted where the proper share should be and the issue has presented a couple of times, though I don't think I'm seeing anything too weird in the logs?

I am seeing a new change in behaviour with version 1.53.3, torrents are not downloading to the mounted directory at all now!

Thank you, appreciate your help

2020/12/23 20:23:05 DEBUG : rclone: Version "v1.53.3" starting with parameters ["rclone" "mount" "--daemon" "--log-file" "/var/log/rclonelog7.txt" "Gdrive:" $
2020/12/23 20:23:05 DEBUG : Creating backend with remote "Gdrive:"
2020/12/23 20:23:05 DEBUG : Using config file from "/root/.config/rclone/rclone.conf"
2020/12/23 20:23:05 DEBUG : rclone: Version "v1.53.3" finishing with parameters ["rclone" "mount" "--daemon" "--log-file" "/var/log/rclonelog7.txt" "Gdrive:"$
2020/12/23 20:23:05 DEBUG : rclone: Version "v1.53.3" starting with parameters ["rclone" "mount" "--daemon" "--log-file" "/var/log/rclonelog7.txt" "Gdrive:" $
2020/12/23 20:23:05 DEBUG : Creating backend with remote "Gdrive:"
2020/12/23 20:23:05 DEBUG : Using config file from "/root/.config/rclone/rclone.conf"
2020/12/23 20:23:05 DEBUG : Google drive root '': Mounting on "/home/Gdrive/"
2020/12/23 20:23:05 DEBUG : : Root:
2020/12/23 20:23:05 DEBUG : : >Root: node=/, err=<nil>
2020/12/23 20:24:05 DEBUG : Google drive root '': Checking for changes on remote
2020/12/23 20:25:05 DEBUG : Google drive root '': Checking for changes on remote
2020/12/23 20:26:05 DEBUG : Google drive root '': Checking for changes on remote
2020/12/23 20:27:05 DEBUG : Google drive root '': Checking for changes on remote
2020/12/23 20:28:05 DEBUG : Google drive root '': Checking for changes on remote
2020/12/23 20:29:05 DEBUG : Google drive root '': Checking for changes on remote
2020/12/23 20:30:05 DEBUG : Google drive root '': Checking for changes on remote
2020/12/23 20:30:39 DEBUG : /: Attr:
2020/12/23 20:30:39 DEBUG : /: >Attr: attr=valid=1s ino=0 size=0 mode=drwxr-xr-x, err=<nil>
2020/12/23 20:31:05 DEBUG : Google drive root '': Checking for changes on remote
2020/12/23 20:31:37 DEBUG : /: Attr:
2020/12/23 20:31:37 DEBUG : /: >Attr: attr=valid=1s ino=0 size=0 mode=drwxr-xr-x, err=<nil>
2020/12/23 20:31:38 DEBUG : /: Attr:
2020/12/23 20:31:38 DEBUG : /: >Attr: attr=valid=1s ino=0 size=0 mode=drwxr-xr-x, err=<nil>
2020/12/23 20:31:39 DEBUG : /: ReadDirAll:
2020/12/23 20:31:39 DEBUG : /: >ReadDirAll: item=22, err=<nil>
2020/12/23 20:31:57 DEBUG : /: Attr:
2020/12/23 20:31:57 DEBUG : /: >Attr: attr=valid=1s ino=0 size=0 mode=drwxr-xr-x, err=<nil>
2020/12/23 20:31:57 DEBUG : /: ReadDirAll:
2020/12/23 20:31:57 DEBUG : /: >ReadDirAll: item=22, err=<nil>
2020/12/23 20:31:57 DEBUG : /: Lookup: name="Gordon.Ramsay.On.Cocaine.S01E02.1080p.HEVC.x265-MeGusta"
2020/12/23 20:31:57 DEBUG : /: >Lookup: node=Gordon.Ramsay.On.Cocaine.S01E02.1080p.HEVC.x265-MeGusta/, err=<nil>
2020/12/23 20:31:57 DEBUG : Gordon.Ramsay.On.Cocaine.S01E02.1080p.HEVC.x265-MeGusta/: Attr:
2020/12/23 20:31:57 DEBUG : Gordon.Ramsay.On.Cocaine.S01E02.1080p.HEVC.x265-MeGusta/: >Attr: attr=valid=1s ino=0 size=0 mode=drwxr-xr-x, err=<nil>
2020/12/23 20:31:57 DEBUG : /: Lookup: name="Gordon.Ramsay.on.Cocaine.S01E01.XviD-AFG"
2020/12/23 20:31:57 DEBUG : /: >Lookup: node=Gordon.Ramsay.on.Cocaine.S01E01.XviD-AFG/, err=<nil>
2020/12/23 20:31:57 DEBUG : Gordon.Ramsay.on.Cocaine.S01E01.XviD-AFG/: Attr:
2020/12/23 20:31:57 DEBUG : Gordon.Ramsay.on.Cocaine.S01E01.XviD-AFG/: >Attr: attr=valid=1s ino=0 size=0 mode=drwxr-xr-x, err=<nil>
2020/12/23 20:31:57 DEBUG : /: Lookup: name="Greenland.2020.1080p.WEB-DL.H264.DDP5.1-EVO"
2020/12/23 20:31:57 DEBUG : /: >Lookup: node=Greenland.2020.1080p.WEB-DL.H264.DDP5.1-EVO/, err=<nil>
2020/12/23 20:31:57 DEBUG : Greenland.2020.1080p.WEB-DL.H264.DDP5.1-EVO/: Attr:
2020/12/23 20:31:57 DEBUG : Greenland.2020.1080p.WEB-DL.H264.DDP5.1-EVO/: >Attr: attr=valid=1s ino=0 size=0 mode=drwxr-xr-x, err=<nil>
2020/12/23 20:32:00 DEBUG : /: Attr:
2020/12/23 20:32:00 DEBUG : /: >Attr: attr=valid=1s ino=0 size=0 mode=drwxr-xr-x, err=<nil>
2020/12/23 20:32:01 DEBUG : /: Attr:
2020/12/23 20:32:01 DEBUG : /: >Attr: attr=valid=1s ino=0 size=0 mode=drwxr-xr-x, err=<nil>
2020/12/23 20:32:05 DEBUG : Google drive root '': Checking for changes on remote
2020/12/23 20:32:07 DEBUG : /: Attr:
2020/12/23 20:32:07 DEBUG : /: >Attr: attr=valid=1s ino=0 size=0 mode=drwxr-xr-x, err=<nil>
2020/12/23 20:32:20 DEBUG : /: Attr:
2020/12/23 20:32:20 DEBUG : /: >Attr: attr=valid=1s ino=0 size=0 mode=drwxr-xr-x, err=<nil>
2020/12/23 20:32:21 DEBUG : /: ReadDirAll:
2020/12/23 20:32:21 DEBUG : /: >ReadDirAll: item=22, err=<nil>
2020/12/23 20:33:05 DEBUG : Google drive root '': Checking for changes on remote

When you check the mount on the server, are you seeing everything or just when you check NFS?

root@openmediavault:/home# ls Gdrive/ <--- **Open Media Vault Host**
'Alita - Battle Angel 2019 4K UHD MP4 Dolby Vision hevc-d3g'	     Greenland.2020.1080p.WEB-DL.H264.DDP5.1-EVO
 Archive.2020.1080p.Bluray.DTS-HD.MA.5.1.X264-EVO		    'MAZE RUNNER TRILOGY'
 Avengers.Endgame.2019.2160p.UHD.BluRay.x265-TERMiNAL		     Resident.Evil.2002.2160p.UHD.BluRay.Remux.HDR.HEVC.Atmos-PmP.mkv
 Avengers.Infinity.War.2018..MULTi.2160p.UHD.BluRay.x265-SESKAPiLE  'Resident Evil - The Final Chapter 2016 10bit 4k hevc-d3g'
'Baby Driver 2017 10bit 4k hevc-d3g'				     Standing.Up,.Falling.Down.2019.1080p.BluRay.DD+5.1.x264-iFT.mkv
'Baby Driver 2017 BluRay-UHD 10Bit 2160p DD5.1 H265-d3g.mkv'	     Studio.Ghibli.Collection.1979-2016.BluRay.1080p.x265.10bit.MNHD-FRDS
 Burnt.2015.1080p.BluRay.x264-DiVULGED				     Tenet.2020.COMPLETE.BLURAY-GLiMMER
 Gordon.Ramsay.on.Cocaine.S01E01.XviD-AFG			     The.Broken.Hearts.Gallery.2020.1080p.Bluray.DTS-HD.MA.5.1.X264-EVO
 Gordon.Ramsay.On.Cocaine.S01E02.1080p.HEVC.x265-MeGusta	     V.for.Vendetta.2006.BluRay.1080p.DTS-HDMA.5.1.x264.dxva-FraMeSToR


[root@cb7a3bbc5eab /]# ls GoogleDrive/ <--- **Docker Container**
'Alita - Battle Angel 2019 4K UHD MP4 Dolby Vision hevc-d3g'	     Greenland.2020.1080p.WEB-DL.H264.DDP5.1-EVO
 Archive.2020.1080p.Bluray.DTS-HD.MA.5.1.X264-EVO		    'MAZE RUNNER TRILOGY'
 Avengers.Endgame.2019.2160p.UHD.BluRay.x265-TERMiNAL		     Resident.Evil.2002.2160p.UHD.BluRay.Remux.HDR.HEVC.Atmos-PmP.mkv
 Avengers.Infinity.War.2018..MULTi.2160p.UHD.BluRay.x265-SESKAPiLE  'Resident Evil - The Final Chapter 2016 10bit 4k hevc-d3g'
'Baby Driver 2017 10bit 4k hevc-d3g'				     Standing.Up,.Falling.Down.2019.1080p.BluRay.DD+5.1.x264-iFT.mkv
'Baby Driver 2017 BluRay-UHD 10Bit 2160p DD5.1 H265-d3g.mkv'	     Studio.Ghibli.Collection.1979-2016.BluRay.1080p.x265.10bit.MNHD-FRDS
 Burnt.2015.1080p.BluRay.x264-DiVULGED				     Tenet.2020.COMPLETE.BLURAY-GLiMMER
 Gordon.Ramsay.on.Cocaine.S01E01.XviD-AFG			     The.Broken.Hearts.Gallery.2020.1080p.Bluray.DTS-HD.MA.5.1.X264-EVO
 Gordon.Ramsay.On.Cocaine.S01E02.1080p.HEVC.x265-MeGusta	     V.for.Vendetta.2006.BluRay.1080p.DTS-HDMA.5.1.x264.dxva-FraMeSToR
[root@cb7a3bbc5eab /]#  

fkm@FKMs-iMac /Volumes % ls Gdrive <--- **MacOS**
Alita - Battle Angel 2019 4K UHD MP4 Dolby Vision hevc-d3g		Greenland.2020.1080p.WEB-DL.H264.DDP5.1-EVO
Archive.2020.1080p.Bluray.DTS-HD.MA.5.1.X264-EVO			MAZE RUNNER TRILOGY
Avengers.Endgame.2019.2160p.UHD.BluRay.x265-TERMiNAL			Resident Evil - The Final Chapter 2016 10bit 4k hevc-d3g
Avengers.Infinity.War.2018..MULTi.2160p.UHD.BluRay.x265-SESKAPiLE	Resident.Evil.2002.2160p.UHD.BluRay.Remux.HDR.HEVC.Atmos-PmP.mkv
Baby Driver 2017 10bit 4k hevc-d3g					Standing.Up,.Falling.Down.2019.1080p.BluRay.DD+5.1.x264-iFT.mkv
Baby Driver 2017 BluRay-UHD 10Bit 2160p DD5.1 H265-d3g.mkv		Studio.Ghibli.Collection.1979-2016.BluRay.1080p.x265.10bit.MNHD-FRDS
Burnt.2015.1080p.BluRay.x264-DiVULGED					Tenet.2020.COMPLETE.BLURAY-GLiMMER
Gordon.Ramsay.On.Cocaine.S01E02.1080p.HEVC.x265-MeGusta			The.Broken.Hearts.Gallery.2020.1080p.Bluray.DTS-HD.MA.5.1.X264-EVO
Gordon.Ramsay.on.Cocaine.S01E01.XviD-AFG				V.for.Vendetta.2006.BluRay.1080p.DTS-HDMA.5.1.x264.dxva-FraMeSToR
fkm@FKMs-iMac /Volumes % 

Everything seems to be working perfectly when viewed like so, however, the issue is persistent! Cannot download to the mounts within Deluge, connection seems intermittent when viewed in Finder on Macos

I just ran touch testfile.csv within the Docker container for a sanity check, it has created that file on Gdrive.

Quick update: using --allow-other and rebooting the whole system has given me access to the mount with no issues, no drop outs!

However, still dealing with the download issue from Deluge. It is actually seeing the mount and tries to download, but ends up in and 'error' state after about 1% download.

Any help would be appreciated. Also going to try a couple more clients.

bittorrent is not a good use case for rclone mount, due to all the random access read/writes of small amounts of data.

have you tried https://rclone.org/commands/rclone_mount/#vfs-cache-mode-full

i download the torrent to local storage and when the torrent is done, rclone move it to cloud

You need version 1.54 to use nfs shares

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.