Cant Create Plex Storage - "...not distinct paths"

Not open for further replies.


Dec 27, 2017
All help is appreciated.

Full disclosure I'm not really a 'nix guy but i can do CLI-Fu and follow instructions.

The problem im getting is that the path for plex storage is not discreet. Which i think means that the storage and the plex install are in the same place? I've had a quick google and the only solution for this i can find, changing the default jail location by editing a file, is apparently not recommended.

Ive included the text of the error bellow and also a screen cap of my storage tree from the GUI.

[MiddlewareError: The path could not be mounted /mnt/Primus/winder: Mount failed 64 -> , mount_nullfs: /mnt/Primus/winder (/mnt/Primus/winder) and /mnt/Primus/winder/plexmediaserver_1/media/plex are not distinct paths]


Software Version: FreeNAS-11.1-U4 (89e3d93bc)
Request Method: POST
Request URL:

File "./freenasUI/jails/" in save
1271. obj.mount()
File "./freenasUI/jails/" in mount
710. mntopts=mntopts,
File "./freenasUI/common/" in mount
254. output[1]
File "/usr/local/lib/python3.6/site-packages/django/core/handlers/" in inner
42. response = get_response(request)
File "/usr/local/lib/python3.6/site-packages/django/core/handlers/" in _legacy_get_response
249. response = self._get_response(request)
File "/usr/local/lib/python3.6/site-packages/django/core/handlers/" in _get_response
178. response = middleware_method(request, callback, callback_args, callback_kwargs)
File "./freenasUI/freeadmin/" in process_view
162. return login_required(view_func)(request, *view_args, **view_kwargs)
File "/usr/local/lib/python3.6/site-packages/django/contrib/auth/" in _wrapped_view
23. return view_func(request, *args, **kwargs)
File "./freenasUI/jails/" in jail_storage_add
File "./freenasUI/jails/" in save
1277. 'error': e,

Exception Type: MiddlewareError at /jails/storage_add/1
Exception Value: [MiddlewareError: The path could not be mounted /mnt/Primus/winder: Mount failed 64 -> , mount_nullfs: /mnt/Primus/winder (/mnt/Primus/winder) and /mnt/Primus/winder/plexmediaserver_1/media/plex are not distinct paths]



Powered by Neutrality
Jan 1, 2016
Think of your Jail filesystem as completely separate from your FreeNAS host filesystem where you will keep media.

I would suggest creating /mnt/Primus/Jails and setting that as your jail root. Depending on how much work you did so far on your jail, just re-create it or optionally use zfs send | zfs recv to send that dataset to the new location to avoid the circular mount the system was borking at.

You should then be able to add the media storage (/mnt/Primus/winder) to the jail for access from within the jail (where you can define which path it should pop up as... i.e. where to mount it... like /mnt/media or just /media)

Then from Plex, you can browse to find your libraries at /mnt/media or /media or whatever the path you selected.
Not open for further replies.