Plex media server external hard drive - Raspbian

Hi all,

Currently I have installed PMS on a Raspbian, what works great.
But when I try to add an external hard drive into the PMS library, Plex doesn’t see anything.

I have already tried the Plex user to = PI, but further then this I don’t know which actions I need to do, to make sure that Plex can ready my external drive.

Does somebody knows more?

Thanks.

Sorry

1 Like

I’m still having a problem, even after I did all the things in the link and the other link just flat out won’t work, help!!!

1 Like

Need the following:

  1. cat /etc/fstab
  2. ls -la of the mount point with the volume unmounted
  3. ls -la of the mount point with the volume mounted

If you follow the procedure step-by-step it always works so something got missed.

I’m a linux noob. Had a Pi for a while, and used Kodi before; but I’ve been trying to step PMS. Everything was done in like 5 minutes, except that Plex couldn’t see past the top level of the drive. ( I know, that’s everyone’s problem, and it’s a permissions issue. )

I followed . ChuckPA’s Tutorial but even after I would chmod the newly made folders, the permissions would revert to dr-x------ root:root , once the drives were mounted regardless of the rw option set fstab. I’ve spent hour hours trying to figure this out, even thinking that maybe my disks had some bad sectors and learning about fsck and running checks on them… sigh.

Finally stumbled accross this post How to setup mount / auto-mount USB Hard Drive on Raspberry Pi

and the long and short of it, was that I needed ntfs-3g intalled. I’m guessing that it may have something to do with the fact that I’m re purposing drives that I’ve already used on Windows machines? Not sure. Either way, this is what I did to fix the issue:

  1. sudo apt-get install ntfs-3g to get ntfs-3g.
  2. id plex to get the plex user id and gid ( was 111 and 155 – not sure if that’s standard thought )
  3. pic /etc/fstab and edited the auto mount to this:
UUID="BAF27C7CF27C3F27" /disks/wd  ntfs-3g uid=111,gid=115,umask=007 0 1
  1. reboot

this finally mounted the drives under the user plex, with read / write and execute permissions:


pi@raspberrypi:~ $ sudo ls -la /disks
total 28
drwxr-xr-x  4 plex plex  4096 Sep 20 14:41 .
drwxr-xr-x 23 root root  4096 Sep 20 15:05 ..
drwxrwx---  1 plex plex  8192 Jul 24 08:16 fa
drwxrwx---  1 plex plex 12288 Sep  7 11:27 wd

Now I’m able to browse the drives and add the existing media, and plex is processing the library as I’m typing.

1 Like

You didn’t follow my instructions verbatim :smiley:

The permissions should be 755 not 770. oooops :slight_smile:

UUID="BAF27C7CF27C3F27" /disks/wd  ntfs-3g uid=111,gid=115,umask=007 0 1

Also, I did not instruct to assert a UID/GID. WIndows disks come across as 777.

Lastly, the umask you specificed results in the permissions you’re seeing. My instructions do not say to add a umask entry either.

Please go back through the How-To and follow it as written.

1 Like

This helped me. Kudos to you for the post.

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.