Hello,
So I have a network drive which houses my media files. I used to utilize another working set up (Control4) to access this media on any screen in the house. I've since moved and left Control4 behind, thankfully. I am now attempting to recreate the ability to access my media on any screen (Plex clients) in my new house using this same network drive along with Plex Media Server running on my pi 4. I think I am just about there, but I am having trouble getting my network drive mounted on my pi 4. I want this mount to occur automatically upon boot each time. Here is what I have done thus far:
updated my pi 4
installed Plex on my pi 4
Set up static IP on my pi 4
Set up new folder /home/pi/mynetworkdrive on my pi 4
This is where I am stuck:
Edited and added to /etc/fstab with the following line: //192.168.x.xxx/<file folder> /home/pi/mynetworkdrive cifs <username>, ,_netdev 0 0
I'm sure I have some argument and syntax errors.
First off, when I run sudo mount /home/pi/mynetworkdrive the system returns:
Password for root@//192.168.x.xxx/<file name>
It waits for me to enter the password. There is no password set on my network drive to to access this folder, only a user name.
When I hit enter at the password question, I get the following error:
mount error(22): Invalid argument
I can successfully run 'map network drive' to mount this drive in Windows with the following:
Drive: Z
Folder: //192.168.x.xxx/<file folder>
Then login with my credentials. Again, there is only a user name to access this folder. The password field is blank.
What am I doing wrong. Any help would be greatly appreciated. Thank you in advance.