Mounting media library shares from NAS

Server Version#: Version 4.30.2

I just created a server running on Bodhi Linux (Ubuntu) 5.1.0, and everything is fine except I need to know the best (most effecient) way to mount the shares on my Netgear NAS (Linux also). My NAS has a nic teaming add-on which links the two gigabit Ethernet ports, so I used to map the shares on my old Windows server using \nas-name\media…

I’ve already got cifs-utils installed, and I can browse to the nas from PCManFM (file manager) by using: smb://nas-name/media. It prompted for credentials, which I chose anonymous and remember forever, and it displayed all of my shares.

Thank you for your help!

In here are a number of how-to’s

You’ll find both NFS and CIFS

Thanks for your direction, however this (Linux Tips) is either incorrect, outdated or (as simple as it seems) completely over my head.

I’m running Bodhi Linux (HUGE MISTAKE - DON"T EVER USE THIS UNLESS YOU’RE AN ADVANCED LINUX USER!) for my plex server because it was rated one of the fastest, lightest and most efficient distros (with a GUI), and being a direct descendant of Ubuntu, I figured (WRONG) it “should” be VERY simple & straight forward.

I have been trying for two days to get everything working, and I almost have, all except for automatically mounting the shares on my NAS. I again “thought” that this would be SIMPLE & STRAIGHT FORWARD being a main-stream function of almost ALL Linux computers, but I must be a F#@$@#% idiot, because every single iteration of every single command that I can find online simply do not work!

Please, for the love of GOD almighty, can someone please either give me or point me to the step-by-step directions (that actually work in my situation). Here are the specifics of my situation as I think you will need:

My version of Linux is the latest Bodhi 5.1.0 (fully upgraded and updated)
I have installed CIFS-Utils
My NAS IP is 192.168.4.20
The shares on my NAS are read/write with anonymous user access using CIFS
I have created a /nas directory on my Linux drive with separate sub-directories for each share name on my NAS.

Again, thank you very much for helping me with something so elementary, but trust me I’ve wasted more than my far share of time trying everything that I’ve found on Google, Linux forums, Plex articles, Ubuntu & Linux help sites!

  1. It’s not outdated. I keep it current, constantly.
  2. Bodhi Linux is NOT a supported distro. Supported distros are:
    a. Ubuntu & Debian
    b. Centos & Fedora

Those “Ubuntu derivatives” almost always are broken in some regard. Mint is a classic example.

Install a supported distro and begin again

Yes, well I have to agree with that. And I’m sorry that I didn’t look at which distros were supported prior to choosing Bodhi. Assuming that any of the four supported distros that you mention above are equally as compatible, mainstream and easy to install & configure with Plex, which would be the most efficient for best Plex transcoding & streaming performance (given that I’m not ever going to mess with it once configured aside from necessary updates and a Plex server is the ONLY thing that it will ever do)?

I did install Bodhi in a VM.

Looks nice.

I have no idea why it didn’t like you but CIFS mounted out of the box and NFS mounted right up after installing nfs-common.

Also, I think that my situation is further complicated by my NAS only supporting CIFS or HTTP/S and not NFS.

And the reason that I’m trying my hardest to use a Linux Plex server, is for low overhead and best streaming (as the NAS, server and all Plex apps all use some form of Linux)! Windows is bloated crapware with moderate performance at best!

Here, This is how I did it.

Oh yeah, it’s beautifully simplistic! It’s most likely me…

I did exactly that, and I get “mount error(112): Host is down”

was CIFS enabled on the host side ?
was that share exported to CIFS ?

I think so, I’m using a Netgear ReadyNAS Ultra 6:
image
I don’t know what you mean by “exported to CIFS”?

i don’t know netgear but if that’s enabled, i would think it works.

Can you see the share(s) from Windows or Mac ?

I don’t know if PMS will behave but:

Yes, no problems at all accessing both c and each individual share from Windows 7 & 10. Haven’t tried on my Mac.

If you have it on mac / windows, then CIFS is working .

use the syntax I wrote above as your guide, change to the appropriate username if you need to

I don’t mind restarting with another (better) distro, really. As long as it’s going to stream to up to four concurrent apps (one remote). It’s an Intel Core i5-4310M vPro @ 2.70GHz with 16GB of RAM.

MY old server was a Windows 10 which is the only thing that has changed.
I used “mount -o username=admin //192.168.4.20/movies /nas/movies” when I got the Host is down error.
What’s the simplest mount command that I can use?
I also removed everything that I added in my /etc/fstab

are you sure the host is at that IP address and that your Bodhi machine is on the same subnet?

The mount command line I used is as simple as it can get for CIFS.

As for Plex running, I’m finding it sluggish.


image
Linux: inet 192.168.4.108 netmask 255.255.255.0 broadcast 192.168.4.255