"browse for media folder" doesn't show all folders

Server Version#: 3.104.2?
Player Version#: 3.104.2?

During initial setup, when I try to add a folder to the library, the file requester starts at root ("/"), and I see all the usual linux directories (bin, boot, dev, etc,) there, but I don’t see my main ZFS media drive “bertha”, which appears in that same root folder. To check if it was a permission issue, I set permissions on the folder to 777. It’s still not recognized. How do I select that folder when I can’t make it show up in the plex broswer? Is there a config file I can manually edit? Thanks,

When you have a graphical desktop, the mount point is actually more important than the permissions.

On any distribution which uses Nautilus as the file manager (Gnome), nautilus will claim unmounted drives and mount them for you. The difficulty here is: These drives are exclusively visible to you alone.

The easiest way to check this is with the df command.
If you see /media or /run/media (redhat/fedora), then it’s been automounted.

You’ll need to find a non-conflicting place to mount the drive.
Once you do, you can reset those permissions back to normal and all will be fine.

Appreciate the reply, but I think there’s a misunderstanding. Nautilus isn’t mounting the filesystem, it’s mounted when zfs starts up during system boot. So there’s no /media automount happening.

When I do a df, I get
z16/bertha 10033618176 6988645376 3044972800 70% /bertha

Nothing else in my system has any trouble accessing this folder. It’s my main repository for everything, from Steam Games to MythTV recordings to serving all my music files (via samba) to my Windows PC. I haven’t run into a problem like this in the 3 or 4 years I’ve had my zfs array.

Are you sure I can’t manually edit the location in a config file somewhere?

Not sure what OS you are running on but if I remember when I had ZFS and plex on my ubunutu box I had to adjust users/groups ZFS and plex belong to two different groups. So you either need to add the ZFS group to plex or plex user to the ZFS group.

I am using Fedora.

I did the following. Please tell me what I did wrong

sh-4.4# zpool create zfstest sdb1
Defaulting to 4K blocksize (ashift=12) for '/dev/sdb1'
sh-4.4# zpool list
NAME      SIZE  ALLOC   FREE    CAP  DEDUP  HEALTH  ALTROOT
zfstest  1.81T   528K  1.81T     0%  1.00x  ONLINE  -
sh-4.4# df
Filesystem          1K-blocks        Used   Available Use% Mounted on
devtmpfs              8171436           0     8171436   0% /dev
tmpfs                 8185936      256828     7929108   4% /dev/shm
tmpfs                 8185936        2340     8183596   1% /run
tmpfs                 8185936           0     8185936   0% /sys/fs/cgroup
/dev/sda5           134152192    81372020    52780172  61% /
tmpfs                 8185936      210320     7975616   3% /tmp
/dev/sda7           335849244   188672612   147176632  57% /home
/dev/sda3              534180      230788      303392  44% /boot
tmpfs                 1637184          20     1637164   1% /run/user/42
tmpfs                 1637184          80     1637104   1% /run/user/1026
zfstest            1915748040         144  1915747896   1% /zfstest
sh-4.4#

The next operations are standard:

  1. Copied a few files to the drive
  2. Apply directory permissions 755, files 644.
  3. Created a test library in PMS
  4. Verified basic Linux permissions.
sh-4.4# ls -la /zfstest/
total 38
drwxr-xr-x   5 chuck chuck    5 Aug 15 21:06  .
dr-xr-xr-x. 30 root  root  4096 Aug 15 20:31  ..
drwxr-xr-x   2 chuck chuck    3 Sep  2  2018 'Arrival (2016)'
drwxr-xr-x   2 chuck chuck    3 Sep  2  2018 'Batteries Not Included (1987)'
drwxr-xr-x   2 root  root     3 Aug 15 20:53 'Chappie (2015) [4K]'
sh-4.4# 

Added the directory to a ZFS test library section.

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