a simple YES would have sufficed lol
Definitely switch to another distro.
Bodhi is not cutting it. It was unable to complete matching a known-good movie library.
Agreed, which would you recommend?
Ubuntu 20.04 is rock solid.
I use it here for all my work.
I did have to tweak it (more like hack) to get rid of all the Ubuntu Orange but itâs otherwise solid.
Great, thanks Chuck! And at least itâs going to run unattended with the lid closed, so the Orange isnât even an issue.
Thanks again for your time, wisdom and gracious effort! Really appreciate it!
Going to bed for now, hopefully we can talk further later.
Have a great evening.
Hi Chuck, OK so I tried to use Ubuntu 20.04 Server but after a few days I simply had to give in and install the 20.04 Desktop. Iâve got it running, and I even made sure that itâs reserved IP is in the same group as the nas. I still canât mount though, I get âmount error(2): No such file or directoryâ.
Perhaps I can get a job as a professional beta tester! It truly seems that I have innate natural talentâŠ
Show me what you have please.
As for âserverâ versus âdesktopâ; Desktop all the way. It takes a very proficient hand to user the server package because they do not include most of the default software found in Desktop.
I honestly think that itâs my nas. Itâs weird that I can see & map it from Windows, but Linux wonât touch it. Quick question, what & why do you do these: sudo sh & sudo bash?
From Windows, I can simply type \\192.168.4.20\movies and see the files
I installed smb4K, but it canât see the nas either.
F-me! Google strikes again
mount -t cifs -o user=admin,vers=1.0 //192.168.4.20/movies /nas/movies
Prompted for admin password and BAM!
Now, just need to make automatic with fstab
All shares are being auto-mounted and accessible from the file manager. BUT, when I go to add the libraries in Plex, I canât see the /nas directory in the browse window, and although I typed them in and saved them (/nas/movies), itâs not seeing the files. Iâve got to go to bed for now, will hit it again tomorrow.
Thanks for your help - Iâm SOOOOOO Close!
You might have forgotten a step . (easily done too)
- Unmount the shares
- Check the permissions for each directory in the mount path (/nas/movies, etc)
- Each directory, when unmounted needs 755
- Now mount the shares
- Check the permissions again. Still 755 ?
- When you go into Plex and attempt to add that share, can it see the movies or is it being blocked by the CIFS/NFS server?
Do be VERY careful of the automounter (Nautilus). If they are being placed under /media
(or /run/media
) then this will never work.
You must mount them away from where Nautilus wants. it mounts them with exclusive access to your username. plex
is blocked. â which it looks likes you have.
Chuck my friend, you rock! Iâm rolling like thunder!!
Should I add any addition options to these entries?
I wouldnât add any options.
If anything, Iâd try to remove as many options as you can from CIFS mounts. It doesnât like to be micromanaged. NFS, on the other hand, just takes what you give it and chugs along.
Well damn. Now that I got CIFS working, it looks like (https://www.educba.com/cifs-vs-nfs/) perhaps NFS is the better way to go. Especially for speed.
How hard is it to switch my mappings over from CIFS to NFS? Plex should even know (or care), right?
Is there a good book or two that would help me fully understand whatâs happening within a Linux machine?
- Plex doesnât care
- NFS on Linux-Linux is blazing (wire speed for me).
Hereâs how I do it.
# Backup
vienna:/backup /backup nfs defaults,sec=sys,intr,rw,vers=4,timeo=15,rsize=1048576,wsize=1048576,auto,async,nofail,bg 0 0
Iâve set:
-
defaults
- start with the defaults then change; -
sec=sys
- Let the Linux host manage UID/GID security. -
intr
- i/o is interruptable - ârwâ - force R/W (
defaults
already provides this) -
vers=4
- NFS v4 == TCP instead of UDP so we know if the NAS disconects -
timeo=15
- 15 millisecond timeout ( I donât want to wait 600 seconds if the NAS goes sideways) -
rsize=1048576
= 1MB read block (confirm the NFS payload size on the NAS can deliver this) -
wsize=1048576
= 1MB write block (same as read) -
auto
- automount at boot -
async
- allow async I/O (verify NAS has this. It allows i/o to overlap and recover performance lost to TCP vs UDP) -
nofail
- Donât cause the Linux host to fail startup if the NAS isnât available -
bg
- Put the mount request in the background if the NAS is slow starting up/responding (occurs most often if host is powered up before NAS is ready)
As for good books; Iâm not aware of any. This has been flowing through my veins for years. I can only suggest searching on Amazon or Barns & Noble. What I show here is in the advanced skill set category for most.