Multiple Pools, same disks - different write policies.


Recommended Posts

Hi,

 

I'm looking to break an ubuntu based NAS into two separate servers and I'm thinking of using unraid for the media part of the new servers. I've done some research into unraid and I'm pretty satisfied that it does everything I want except for one thing. Not sure what to call it, but essentially I have been using mhddfs to present the same disks as different combinations of readonly and writable to support different use cases for those disks.

 

Essentially I have two main groups of disks - a large array (snapraid) of disks for the media, and I then have a smaller mirrored pair (zfs) of disks that hold all the metadata, background images etc for the media files. Both sets of disks use an identical folder structure I then use mhddfs to present those disks to different devices based on their use.

 

So for example, I have one pool that is 100% read only, which is shared via NFS to all my Kodi media devices. mhddfs combines all the disks and presents a single combined view of the media with the metadata alongside it.

 

I have another pool where the media disks are still read only, but the metadata is writable. This is used by the master Kodi instance that I use for managing the metadata.

 

My question, is there an equivalent of this functionality in unraid, and if so what is it called so I can read up on configuring it?

 

Thanks,

 

 

Link to comment

I use almost the same setup with UNRAID. But with SMB instead of NFS. And I use only ONE SHARE for both accesstypes, just with different user settings for readonly and writable Kodis. So the normal Kodi uses the user "film", the master Kodi uses "kodimaster" (of course both with the according password).

The database for all of them is on a seperate mysql server, here all Kodis use the same username/password.

(I also use a central share called "thumbnails" to which all Kodis are linked to too).

 

The difference to your setup is that all files reside in the same folders, no difference between metadata and movies.

But this does not really matter, I use a media manager to rename/move and fetch data/pics from the net and it autmatically creates an appropriate folder layout for each movie/series/episode. So it must be able to write ALL files.

 

In Unraid it is easy to setup

* create shares for "movies", "series" and "thumbnails as "user" type with 2 users each (one for read only, one for writing) (this should work with nfs too, although the user mapping is much more complicated than with SMB)

* create advance config files for kodi for these shares (thumbnails have to be remapped in advancedsettings.xml)

* create a central mysql database somewhere writable by Kodi (has to be remapped in advancedsettings.xml too)

* fire up the master Kodi and let him scrape everything (brace yourself, this will take a loooooooooooong time...). Watch the database grow and the thumbnail share getting filled.

* when done use your slave Kodis

 

Link to comment

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.