qiweh
November 19, 2023, 9:00pm
1
STOP and READ USE THIS TEMPLATE NO EXCEPTIONS - By not using this, you waste your time, our time and really hate puppies. Please remove these two lines and that will confirm you have read them.
What is the problem you are having with rclone?
No problem. I have a Synology NAS which stores a lot of media files that are served on a different machine using Plex. On the Plex machine I am mounting the Synology NAS folder + MergerFS with local drives. I use to use on Plex and I also have Sonarr/Radarr to manage media on the MergerFS folder in the remote machine.
I am asking you for help to understand which settings I should use on an rclone mount command and whether I should use FTP, SFTP, Samba, (other?).
My requirements are good uplink/downlink and low latency between file changes on the NAS and the machine using Plex getting these changes.
Run the command 'rclone version' and share the full output of the command.
- os/version: debian 10.13 (64 bit)
- os/kernel: 5.10.0-0.deb10.24-amd64 (x86_64)
- os/type: linux
- os/arch: amd64
- go/version: go1.20.2
- go/linking: static
- go/tags: none
Which cloud storage system are you using? (eg Google Drive)
Synology NAS
The command you were trying to run (eg rclone copy /tmp remote:tmp
)
Currently I am using - please advise on optimal command
rclone mount synonas: /home/user/monstrinho \
--config %h/.config/rclone/rclone.conf \
--use-mmap \
--vfs-cache-mode writes
Please run 'rclone config redacted' and share the full output. If you get command not found, please make sure to update rclone.
No need - it is working as it is
Paste config here
A log from the command that you were trying to run with the -vv
flag
No need - it is working as it is.
Paste log here
If it is working what is the problem you are trying to solve? And why exactly do you use rclone at all? Wouldn't be easier just mount NAS folder on you Plex machine using SMB?
qiweh
November 20, 2023, 5:24pm
3
Thanks for the reply!
Two notes:
I've just now noticed that sometimes (for whatever reason), plex fails to detect the files on mergerfs that are in my Synology share - some errors from the rclone log below (the log does not really give a lot of insight on where the problem may be):
<3>ERROR : video/[somefile]: ReadFileHandle.Release error: 1 error occurred:
* EOF
<3>ERROR : IO error: 1 error occurred:
* EOF
<3>ERROR : video/[Some Folder]: Dir.Stat error: 425 Can't open data connection.
<3>ERROR : IO error: 425 Can't open data connection.
What are the benefits of using SMB vs. FTP? What if the Plex machine and the NAS are not on the same LAN? If I do mount SMB, do you recommend mounting with rclone or fstab?
Cheers and thank you in advance,
V
For Plex anything will work if setup correctly. Use whatever you are most familiar with.
Do not use SMB over WAN though - it is not designed for that.
asdffdsa
(jojothehumanmonkey)
November 20, 2023, 5:55pm
5
in my experience, smb over WAN works very well, but security wise, could be a problem.
i would choose fstab over rclone.
qiweh:
whether I should use FTP, SFTP, Samba, (other?).
My requirements are good uplink/downlink and low latency between file changes on the NAS and the machine using Plex getting these changes.
ftp, sftp have high latency, tho for plex streaming might not matter much.
currently, i use webdav, used to use sftp
Alora
(Alora)
November 21, 2023, 12:35pm
6
as @kapitainsky mentioned why you want to use rclone with nas. my advice is to use the nas as direct storge for plex. i have 2 nas with 160 TB working great and have no issue running plex.
qiweh
November 22, 2023, 11:38am
7
Thanks. I am having some issues and Plex starts dropping files that are on the NAS (as if they were deleted). Plex actually becomes unusable after a while.
I tried to solve the issue by mounting the NAS with rclone as SMB share with the following command:
rclone mount monstrinho: /home/vasco/drives/monstrinho \
--config %h/.config/rclone/rclone.conf \
--use-mmap \
--umask=0000 \
--vfs-cache-mode writes \
--allow-other \
--vfs-cache-max-size 10G \
--cache-dir=/home/vasco/drives/toshibahd/cache/monstrinho \
--config /home/vasco/.config/rclone/rclone.conf
The rclone.conf is as follows:
[monstrinho]
type = crypt
remote = monstrinholocalsmb:monstrinho/encrypted
filename_encryption = standard
directory_name_encryption = true
password = [...]
[monstrinholocalsmb]
type = smb
host = 192.168.1.56
pass = [...]
The mount throws the following errors after a while:
<3>ERROR : video/bjj_instructionals/Gracie University/Season 4 - White to Blue/Gracie.University.S04E30.part1.mp4: ReadFileHandle.Release error: close encrypted\iv0dlq80tbvc73cqr57lpggss8\03f4brpmsltq2qud0b9eqs5au9rpibj8ve2isr4c28avv1qbh2n0\pu80gfm9b7kkkvfguo1ott99apag1irfah911eseds0lr1835co0\p3gfaa7i4kjbqn8g52ttd38l2bbg2nf4516lua4i128pqbr29n7g\i63duorqqqqr68j7sj1q4fg8n1hl8up34ru76cl1cmbae8rhdou62d2mtt3t08vls14lci09jeuts: connection error: read tcp 192.168.1.81:41598->192.168.1.56:445: i/o timeout
<3>ERROR : IO error: close encrypted\iv0dlq80tbvc73cqr57lpggss8\03f4brpmsltq2qud0b9eqs5au9rpibj8ve2isr4c28avv1qbh2n0\pu80gfm9b7kkkvfguo1ott99apag1irfah911eseds0lr1835co0\p3gfaa7i4kjbqn8g52ttd38l2bbg2nf4516lua4i128pqbr29n7g\i63duorqqqqr68j7sj1q4fg8n1hl8up34ru76cl1cmbae8rhdou62d2mtt3t08vls14lci09jeuts: connection error: read tcp 192.168.1.81:41598->192.168.1.56:445: i/o timeout
<3>ERROR : video/bjj_instructionals/Gracie University/Season 4 - White to Blue/Gracie.University.S04E30.part2.mp4: ReadFileHandle.Release error: close encrypted\iv0dlq80tbvc73cqr57lpggss8\03f4brpmsltq2qud0b9eqs5au9rpibj8ve2isr4c28avv1qbh2n0\pu80gfm9b7kkkvfguo1ott99apag1irfah911eseds0lr1835co0\p3gfaa7i4kjbqn8g52ttd38l2bbg2nf4516lua4i128pqbr29n7g\ido6m3bon0uvoo2p7j7jsvff6a9phs2kdco03793jlvj3soplu6m4kobmjf6e2pv0pgce37pejnoa: connection error: read tcp 192.168.1.81:58766->192.168.1.56:445: i/o timeout
<3>ERROR : IO error: close encrypted\iv0dlq80tbvc73cqr57lpggss8\03f4brpmsltq2qud0b9eqs5au9rpibj8ve2isr4c28avv1qbh2n0\pu80gfm9b7kkkvfguo1ott99apag1irfah911eseds0lr1835co0\p3gfaa7i4kjbqn8g52ttd38l2bbg2nf4516lua4i128pqbr29n7g\ido6m3bon0uvoo2p7j7jsvff6a9phs2kdco03793jlvj3soplu6m4kobmjf6e2pv0pgce37pejnoa: connection error: read tcp 192.168.1.81:58766->192.168.1.56:445: i/o timeout
<3>ERROR : video/bjj_instructionals/Bernardo Faria/Season 8/Bernardo.Faria.No.Gi.Pressure.Passing.S08E03.mp4: ReadFileHandle.Release error: close encrypted\iv0dlq80tbvc73cqr57lpggss8\03f4brpmsltq2qud0b9eqs5au9rpibj8ve2isr4c28avv1qbh2n0\ucn6a6at7nchanrq6ff2pp972k\s2pqa3dcmgik73kut37jab397o\jtkqjropr0fcsot9f996hfms6p5ri7saolps7n0lo53nqhnp81ctu3h9n60l8ii09bs486b91ea4pku15u8e6aeetki16kao5jnhc48: connection error: read tcp 192.168.1.81:41584->192.168.1.56:445: i/o timeout
<3>ERROR : IO error: close encrypted\iv0dlq80tbvc73cqr57lpggss8\03f4brpmsltq2qud0b9eqs5au9rpibj8ve2isr4c28avv1qbh2n0\ucn6a6at7nchanrq6ff2pp972k\s2pqa3dcmgik73kut37jab397o\jtkqjropr0fcsot9f996hfms6p5ri7saolps7n0lo53nqhnp81ctu3h9n60l8ii09bs486b91ea4pku15u8e6aeetki16kao5jnhc48: connection error: read tcp 192.168.1.81:41584->192.168.1.56:445: i/o timeout
<3>ERROR : video/bjj_instructionals/Bernardo Faria/Season 8/Bernardo.Faria.No.Gi.Pressure.Passing.S08E04.mp4: ReadFileHandle.Release error: close encrypted\iv0dlq80tbvc73cqr57lpggss8\03f4brpmsltq2qud0b9eqs5au9rpibj8ve2isr4c28avv1qbh2n0\ucn6a6at7nchanrq6ff2pp972k\s2pqa3dcmgik73kut37jab397o\ldaj9d76nhio92d7t0oamqj0l7us9e2n3t868tbbkuvhfrlnl2r2fe4v9isjkfvhfjou2t2u1a6njnl6cc7qc51908m6jpjvmtg8q38: connection error: read tcp 192.168.1.81:40812->192.168.1.56:445: i/o timeout
<3>ERROR : IO error: close encrypted\iv0dlq80tbvc73cqr57lpggss8\03f4brpmsltq2qud0b9eqs5au9rpibj8ve2isr4c28avv1qbh2n0\ucn6a6at7nchanrq6ff2pp972k\s2pqa3dcmgik73kut37jab397o\ldaj9d76nhio92d7t0oamqj0l7us9e2n3t868tbbkuvhfrlnl2r2fe4v9isjkfvhfjou2t2u1a6njnl6cc7qc51908m6jpjvmtg8q38: connection error: read tcp 192.168.1.81:40812->192.168.1.56:445: i/o timeout
<3>ERROR : video/bjj_instructionals/Bernardo Faria/Season 20/bernardofaria_zguard_36_ZGuard_Over_Under_Pass_Counter_270.mp4: ReadFileHandle.Release error: close encrypted\iv0dlq80tbvc73cqr57lpggss8\03f4brpmsltq2qud0b9eqs5au9rpibj8ve2isr4c28avv1qbh2n0\ucn6a6at7nchanrq6ff2pp972k\hvaf3p3bln35upfe1u63ph8ibc\ho6riue83l6qjj9ecrh07dnek2900eo3n2nc01jt94tmb8l0c2omid71nsu83gnclvl146dfg4rg8585i544vr38eolp4aiglnus83g: connection error: read tcp 192.168.1.81:60726->192.168.1.56:445: i/o timeout
<3>ERROR : IO error: close encrypted\iv0dlq80tbvc73cqr57lpggss8\03f4brpmsltq2qud0b9eqs5au9rpibj8ve2isr4c28avv1qbh2n0\ucn6a6at7nchanrq6ff2pp972k\hvaf3p3bln35upfe1u63ph8ibc\ho6riue83l6qjj9ecrh07dnek2900eo3n2nc01jt94tmb8l0c2omid71nsu83gnclvl146dfg4rg8585i544vr38eolp4aiglnus83g: connection error: read tcp 192.168.1.81:60726->192.168.1.56:445: i/o timeout
<3>ERROR : video/bjj_instructionals/Bernardo Faria/Season 20/bernardofaria_zguard_37_ZGuard_Loop_Choke_270.mp4: ReadFileHandle.Release error: close encrypted\iv0dlq80tbvc73cqr57lpggss8\03f4brpmsltq2qud0b9eqs5au9rpibj8ve2isr4c28avv1qbh2n0\ucn6a6at7nchanrq6ff2pp972k\hvaf3p3bln35upfe1u63ph8ibc\a0ui5hmkh31cdavf5o25uaos2on60jvlmi4mu7fqum56r9vtfmc684evq09nq15cgr22lon00hgtlpgt7gntgc6u2naiha64tbaiki0: connection error: read tcp 192.168.1.81:58768->192.168.1.56:445: i/o timeout
<3>ERROR : IO error: close encrypted\iv0dlq80tbvc73cqr57lpggss8\03f4brpmsltq2qud0b9eqs5au9rpibj8ve2isr4c28avv1qbh2n0\ucn6a6at7nchanrq6ff2pp972k\hvaf3p3bln35upfe1u63ph8ibc\a0ui5hmkh31cdavf5o25uaos2on60jvlmi4mu7fqum56r9vtfmc684evq09nq15cgr22lon00hgtlpgt7gntgc6u2naiha64tbaiki0: connection error: read tcp 192.168.1.81:58768->192.168.1.56:445: i/o timeout
<3>ERROR : video/bjj_instructionals/John Danaher/Season 8 - GFF Escapes/John.Danaher.GFF.Escapes.S08E07.mp4: ReadFileHandle.Release error: close encrypted\iv0dlq80tbvc73cqr57lpggss8\03f4brpmsltq2qud0b9eqs5au9rpibj8ve2isr4c28avv1qbh2n0\br4b9evf0jqpaps9q8iml6q7t4\uq7mvpn6evllm5v87iju0jhdgf091q19ickavul0o9snoshssnsg\vaopl6dl12lh3ukr8in0d2njird0f13qu2rc3100gkltunpkijbkei4d120tsc7cot05vopdioan4: connection error: read tcp 192.168.1.81:33150->192.168.1.56:445: i/o timeout
<3>ERROR : IO error: close encrypted\iv0dlq80tbvc73cqr57lpggss8\03f4brpmsltq2qud0b9eqs5au9rpibj8ve2isr4c28avv1qbh2n0\br4b9evf0jqpaps9q8iml6q7t4\uq7mvpn6evllm5v87iju0jhdgf091q19ickavul0o9snoshssnsg\vaopl6dl12lh3ukr8in0d2njird0f13qu2rc3100gkltunpkijbkei4d120tsc7cot05vopdioan4: connection error: read tcp 192.168.1.81:33150->192.168.1.56:445: i/o timeout
<3>ERROR : video/bjj_instructionals/John Danaher/Season 8 - GFF Escapes/John.Danaher.GFF.Escapes.S08E08.mp4: ReadFileHandle.Release error: close encrypted\iv0dlq80tbvc73cqr57lpggss8\03f4brpmsltq2qud0b9eqs5au9rpibj8ve2isr4c28avv1qbh2n0\br4b9evf0jqpaps9q8iml6q7t4\uq7mvpn6evllm5v87iju0jhdgf091q19ickavul0o9snoshssnsg\eo7m2i8sj5rugkmn5oja3jlevv6gp51cdamcjee53q5cse2kgdq55nvq0ldls2unlqk268tg113si: connection error: read tcp 192.168.1.81:41614->192.168.1.56:445: i/o timeout
<3>ERROR : IO error: close encrypted\iv0dlq80tbvc73cqr57lpggss8\03f4brpmsltq2qud0b9eqs5au9rpibj8ve2isr4c28avv1qbh2n0\br4b9evf0jqpaps9q8iml6q7t4\uq7mvpn6evllm5v87iju0jhdgf091q19ickavul0o9snoshssnsg\eo7m2i8sj5rugkmn5oja3jlevv6gp51cdamcjee53q5cse2kgdq55nvq0ldls2unlqk268tg113si: connection error: read tcp 192.168.1.81:41614->192.168.1.56:445: i/o timeout
<3>ERROR : video/bjj_instructionals/John Danaher/Season 19 - John Danaher - Open Guard 2 [CN]/John.Danaher.S19E01.part - NewWaveJiu-JitsuOpenGuardVolume2byJohnDanaher1.mp4: ReadFileHandle.Release error: close encrypted\iv0dlq80tbvc73cqr57lpggss8\03f4brpmsltq2qud0b9eqs5au9rpibj8ve2isr4c28avv1qbh2n0\br4b9evf0jqpaps9q8iml6q7t4\acolpn9bf05hbsorqd57461lead865iug64m3on5lsfsv4k5pdp3k36ginnub3recpvpghiqq0m7g\f218gfg6u075o9nqa91iugpqou8jhgar6e12kat1ulted3c371caknb346tp995r91olruhhi8p17cdb8550hmanjmroqmff9rutuirljqs4lc538p7dd0khl9pi6gmt: connection error: read tcp 192.168.1.81:41384->192.168.1.56:445: i/o timeout
<3>ERROR : IO error: close encrypted\iv0dlq80tbvc73cqr57lpggss8\03f4brpmsltq2qud0b9eqs5au9rpibj8ve2isr4c28avv1qbh2n0\br4b9evf0jqpaps9q8iml6q7t4\acolpn9bf05hbsorqd57461lead865iug64m3on5lsfsv4k5pdp3k36ginnub3recpvpghiqq0m7g\f218gfg6u075o9nqa91iugpqou8jhgar6e12kat1ulted3c371caknb346tp995r91olruhhi8p17cdb8550hmanjmroqmff9rutuirljqs4lc538p7dd0khl9pi6gmt: connection error: read tcp 192.168.1.81:41384->192.168.1.56:445: i/o timeout
<3>ERROR : video/bjj_instructionals/John Danaher/Season 1 - ETS Arm Bar/John.Danaher.ETS.Armbar.S01E03.mp4: ReadFileHandle.Release error: close encrypted\iv0dlq80tbvc73cqr57lpggss8\03f4brpmsltq2qud0b9eqs5au9rpibj8ve2isr4c28avv1qbh2n0\br4b9evf0jqpaps9q8iml6q7t4\4rbgfed81ljlv6s6vjr5hl2b0se55374m0dus1het0dbrjk9351g\frepcqdn0j289koiqs9erj5quck5rqtrdgervjleiffhqeil0l0gjkapljm7lm9aldv18je4ughu0: connection error: read tcp 192.168.1.81:60722->192.168.1.56:445: i/o timeout
<3>ERROR : IO error: close encrypted\iv0dlq80tbvc73cqr57lpggss8\03f4brpmsltq2qud0b9eqs5au9rpibj8ve2isr4c28avv1qbh2n0\br4b9evf0jqpaps9q8iml6q7t4\4rbgfed81ljlv6s6vjr5hl2b0se55374m0dus1het0dbrjk9351g\frepcqdn0j289koiqs9erj5quck5rqtrdgervjleiffhqeil0l0gjkapljm7lm9aldv18je4ughu0: connection error: read tcp 192.168.1.81:60722->192.168.1.56:445: i/o timeout
<3>ERROR : video/bjj_instructionals/John Danaher/Season 1 - ETS Arm Bar/John.Danaher.ETS.Armbar.S01E04.mp4: ReadFileHandle.Release error: close encrypted\iv0dlq80tbvc73cqr57lpggss8\03f4brpmsltq2qud0b9eqs5au9rpibj8ve2isr4c28avv1qbh2n0\br4b9evf0jqpaps9q8iml6q7t4\4rbgfed81ljlv6s6vjr5hl2b0se55374m0dus1het0dbrjk9351g\vpu2hif9k85u4t81mgoufjmgpbau3bfktfom1knqkd859cd5plsv7cehbcd1k2109l6sac45aoamo: connection error: read tcp 192.168.1.81:57456->192.168.1.56:445: i/o timeout
<3>ERROR : IO error: close encrypted\iv0dlq80tbvc73cqr57lpggss8\03f4brpmsltq2qud0b9eqs5au9rpibj8ve2isr4c28avv1qbh2n0\br4b9evf0jqpaps9q8iml6q7t4\4rbgfed81ljlv6s6vjr5hl2b0se55374m0dus1het0dbrjk9351g\vpu2hif9k85u4t81mgoufjmgpbau3bfktfom1knqkd859cd5plsv7cehbcd1k2109l6sac45aoamo: connection error: read tcp 192.168.1.81:57456->192.168.1.56:445: i/o timeout
When you mention you use the NAS as direct storage for plex, what do you mean - do you (1) run Plex directly on the NAS, or (2) are you mounting the NAS drive on a remote machine? My setup is (2).
Thanks for the help - looking forward for further advice.
Alora
(Alora)
November 22, 2023, 12:17pm
8
i have DS1821 and DS1621, on the DS1621 have my plex server and i have mounted the DS1821 to the DS1621 so i can access both library to plex from both NAS.hope you got my point.see the below image.
My NAS
Plex library
system
(system)
Closed
December 22, 2023, 5:13pm
10
This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.