Server Version#: 1.21.0.3711
Software: Ubuntu 20.04.1 LTS, 64 bit
GNOME Version 3.36.3
I am trying to set up libraries on my PMS using files from an external hard drive. I have followed the directions here:
and am still unable to browse to the folder with my media content when trying to set up the library. The only difference I can identify between my approach and that in the forum article is I set the mount point to /disks/“name of my ext HD”
I was initially trying to mount in a directory I had previously created called “disks”, but after having difficulty went though your example ste; by ste; and set up the dir “usb” as is now reflected in this file. unfortunately it still doesn’t seem to work. see below for the info you requested. Thanks!
#/etc/fstab: static file system information.
#
# Use 'blkid' to print the universally unique identifier for a
# device; this may be used with UUID= as a more robust way to name devices
# that works even if disks are added and removed. See fstab(5).
#
# <file system> <mount point> <type> <options> <dump> <pass>
# / was on /dev/sda2 during installation
UUID=13d4dede-5c87-49e1-9615-ca894990e862 / ext4 errors=remount-ro 0 1
# /boot/efi was on /dev/sda1 during installation
UUID=CA13-F701 /boot/efi vfat umask=0077 0 1
/swapfile none swap sw 0 0
#Additions for external and internal drives
#Mount My Book (vfat) at /disks/mybook for Plex
UUID=3717-D230 /disks/mybook vfat defaults,auto,rw,nofail 0 0
#Mount Bad Ext Drive (hfsplus) at /disks/badexthd for Plex
UUID=55beffd3-9b19-3e2a-85db-8d35bb13a956 /disks/badexthd hfsplus defaults,auto,force,rw,nofail 0 0
#Mount Media Drive (ext4) at /usb/MyMedia for Plex
UUID=d8f4611d-bf4c-403f-a57d-4970e04ebe3e /usb/MyMedia ext4 defaults,auto,rw,nofail 0 1
Ok, I went back to mounting my external drive called “MyMedia” to the location /disks/MyMedia.
I went through very deliberately setting permissions with and without the disk mounted as outlined in both of your prior responses and still no luck. I can get the external drive to mount and unmount but plex doesn’t display the folder at all. In fact, I don’t even see the location “disks” when I attempt to create a library so I do suspect this has something to do with the permissions being set. I’m very greatful for the help. Please let me know what other information you need to help troubleshoot. Thanks!
I’m still working hard to get more familiar with unix, so forgive me if this is basic, but I just tried unmounting the drive and it would only allow me to do this from root. Is this the way it should be set up? Is the fact that I can only mount and unmount the drive from root, yet trying to run plex with me as user perhaps preventing plex from seeing those directories and folders?
All device operations (includes mounting / unmounting devices).
If you’re coming from Windows, you can equate this to “System tasks must be done as the admin – and it will always require authentication before doing so”
Linux is that strict about permissions from files in your own directory to files someone else has.
Regarding the hard drive.:
The sequence I wrote and placed in server-linux-tips is how it’s done.
You substitute the device names and drive labels to suit your local configuration but the procedure, when followed, works every time.
If you want to show me each of your intermediate steps, maybe we can see where it went off track.
Ok, got it. Sounds good. I’ll do my best to show you what I’m doing step by step here and hopefully you can help catch the error. I really appreciate the help.
Please see below for pasted text and commands and output generated during setup.
Interestingly “ls /disks/*” did not really generate that much output. I’m not sure if that clues you in.
Also here is etc/fstab:
And after completing all the steps I go to plex to search folders to add media and see the following:
I know I’m probably overlooking something simple, but can’t seem to quite figure it out. Please let me know if there is any other information I can provide to help you help me!
It would seem to me that you add /disks/MyMedia/Movies to your movies library and /disks/MyMedia/TV Shows to your TV library as the respective top level directories.
If you have Name (year)/Name (Year).ext structure under Movies, you’re good.
Similarly, if you have Name/Season xx/Name - SxxExx - optional title.ext under TV Shows, you’re also good.
Agreed, but I don’t seem to be able to navigate to those locations from within plex. My last screen shot shows a list of the folders I’m able to see when going through that process and /disks does not show up.