Jump to content

Shares Best Practice


Recommended Posts

Simple questions often don't have simple answers. It's not because the answers are too hard. It's rather because the questions are too simple.

 

The answers you arrive at will depend on the way you use these particular user shares. Not everyone will use them the same even if they choose the same names for them.

 

Go to the Settings page for one of your user shares and turn on help. Let us know if you have any further questions about what each of the settings do.

Link to comment
2 hours ago, tdallen said:

Personal Preference - I feel like a Media folder is too general and prefer Movies, TV Shows, etc.  Why would I want to spin up all the disks where TV Shows are located when I want to watch a movie?  Downloads will generally be on your cache drive, not the array.

 

If Gladiator is on Disk 1 and Sopranos is on Disk 1 and 2, you're saying both disks would spin up when playing Gladiator?

Link to comment

If you create a "Media" share (well, any share), and you don't use a solution like cachedirs, then when you access the Media share the only way unRAID will have to determine the contents is to spin up all the drives associated with that share.  Unused drives will spin back down after the standard delay.  My personal preference is setup more granular shares - TV Shows, Movies, etc.  And I target certain drives to be associated with each share.  That minimizes the number of drives that need to spin up when a share is accessed.

Edited by tdallen
Link to comment
4 minutes ago, tdallen said:

If you create a "Media" share (well, any share), and you don't use a solution like cachedirs, then when you access the Media share the only way unRAID will have to determine the contents is to spin up all the drives associated with that share.  Unused drives will spin back down after the standard delay.  My personal preference is setup more granular shares - TV Shows, Movies, etc.  And I target certain drives to be associated with each share.  That minimizes the number of drives that need to spin up when a share is accessed.

 

Interesting.

 

I'd like to implement what you have set up. I have 5 4tb drives. Does the below look correct? Not sure what allocation method to use though.

 

Disk 1 - Movies, split-level 1

Disk 2 - Movies, split-level 1

Disk 3 - TV Shows, split-level 2

Disk 4 - TV Shows, split-level 2

Disk 5 - Other

Link to comment
2 hours ago, surfshack66 said:

Also, if I have an existing share called "Files", where files reside on multiple Disks, but then I change it to include Disk 5 (in my example), what happens to the files on the other disks? Are they moved to Disk 5?

No.  There are a couple of ways you can arrange to move them.  But, simply adding/rearranging the disks in the share settings doesn't automatically cause files to be moved.

  • Like 1
Link to comment

I started off my unRAID server with High Watermark and all disks included in all shares.  It's a good setting for a new user to start with, and remains a good setting for users who just like to use their server rather than tinker with it.

 

That said, I came to three conclusions.  One, I actively manage my server - disks aren't going to fill up without my knowing.  Two, I didn't like having files in a share scattered unnecessarily across multiple disks.  Three, while having equal amounts of data smoothly spread across all disks seems appealing, it's actually a pain to manage.

 

So, at the recommendation of some folks here like @SSD I switched over to having shares "include" only the disks I want the data on, and all shares are set to "Fill" each disk (with a nice big minimum free space).  I also use the diskmv/consld8 utilities to move data from one set of disks to another when infrequently needed.  Warning, this is a more advanced approach that requires you to actively manage your server - one disk could fill up while you have space available on others.  But I prefer it so far.

Link to comment

I still use High Water, but what I do is only include a disk in a share as that share needs additional space. Many of my shares are confined to a single disk. Some are on a single disk with other shares. And because of the way they are used they will probably never need more. Other shares got too big for a single disk so I added a disk and included it for the share. So the way I am managing things Allocation Method is probably moot.

Link to comment

Yea, understanding split level and the fact that a disk can be excluded from a user share but still get files based on the split level is important to understand. The included disks only come into play when writing and there is no split level match.

 

For tv shows shares, you can use something like most free. That will result in new TV shows going to the disk with the most free space. But with the split level set properly, new episodes of tv shows are steered to the disks containing that show.

Link to comment
2 hours ago, SSD said:

Yea, understanding split level and the fact that a disk can be excluded from a user share but still get files based on the split level is important to understand. The included disks only come into play when writing and there is no split level match.

 

For tv shows shares, you can use something like most free. That will result in new TV shows going to the disk with the most free space. But with the split level set properly, new episodes of tv shows are steered to the disks containing that show.

 

It's almost like unRAID gives you too many ways to control things.:D

Link to comment
2 hours ago, trurl said:

 

It's almost like unRAID gives you too many ways to control things.:D

 

I remember at the time these features were being implemented, there were a lot of problems with DVD files getting split across different disks, which resulted in pauses as the other disk spun up. Tom implemented a lot of different options trying to get the secret sauce (including spin up groups), so we have a lot of options that are somewhat similar.

Link to comment
9 hours ago, tdallen said:

I started off my unRAID server with High Watermark and all disks included in all shares.  It's a good setting for a new user to start with, and remains a good setting for users who just like to use their server rather than tinker with it.

 

That said, I came to three conclusions.  One, I actively manage my server - disks aren't going to fill up without my knowing.  Two, I didn't like having files in a share scattered unnecessarily across multiple disks.  Three, while having equal amounts of data smoothly spread across all disks seems appealing, it's actually a pain to manage.

 

So, at the recommendation of some folks here like @SSD I switched over to having shares "include" only the disks I want the data on, and all shares are set to "Fill" each disk (with a nice big minimum free space).  I also use the diskmv/consld8 utilities to move data from one set of disks to another when infrequently needed.  Warning, this is a more advanced approach that requires you to actively manage your server - one disk could fill up while you have space available on others.  But I prefer it so far.

 

Is there a difference if I use windows explorer to transfer files from one share to a newly configured share?

Link to comment
1 minute ago, Polopollo said:

Dumb question about granular shares and Plex: Do you setup your Plex docker that has access to /mnt/user ? Else how do you deal with feeding it all your different shares?

Some people do it that way, but of course that gives Plex access to ALL your user shares. Another way is to map specific user shares (Host Path) to different container paths. Do you understand docker volume mapping?

Link to comment
1 minute ago, trurl said:

Some people do it that way, but of course that gives Plex access to ALL your user shares. Another way is to map specific user shares (Host Path) to different container paths. Do you understand docker volume mapping?

 

Still new to it, but I think I got the gist of it. So the idea would be to have a mapping such as:

  • /tvshows <->  /mnt/user/TvShows/
  • /movies  <-> /mnt/user/Movies/

Then in Plex when asked the path to each one, I put the left ones (so "/tvshows" and "/movies"). Right?

 

I had a bad experience with Resilio the other day that did not remember some paths I mounted to it (but the docker image had to be updated), and I still need to sort some things out with it. And my media shares are still messy right now (emptying old external HDDs then i'll sort what I keep or not). But I want to apply the best practices!

Link to comment
17 minutes ago, Polopollo said:

Still new to it, but I think I got the gist of it. So the idea would be to have a mapping such as:

  • /tvshows <->  /mnt/user/TvShows/
  • /movies  <-> /mnt/user/Movies/

Then in Plex when asked the path to each one, I put the left ones (so "/tvshows" and "/movies"). Right?

 

Looks like you've got it! Don't forget that linux is case sensitive.

 

I know there are a lot of docker users here who don't really get it and have accidentally gotten things to work by following some instructions. Much better if you know how it works and can decide for yourself how you want to use it.

  • Like 1
Link to comment
  • 1 year later...

Hi I'm completely new to Unraid. When I have shares like:

TV shows/show/season 

Movies/movie

I'm thinking of using level 1 split to have movies and show on the same disks. 

Would it make sense to use include disk 1 for movies and disk 2 for shows or should I leave it to Unraid.

Have used some hours to go through it but I still see different options so what would be the best in my situation? 

Link to comment

Yes have already seen this. I'm more interested in what the general recommendation is for "disk include". Should it be leaved to Unraid to split it or would it be best to assign manually? 

Also if I go this route and set disk 1 and 2 for TV Shows and 3+4 for Movies would it still put files in Disk 2 and 4 when 1 and 3 is half full if I use High Water with Disk Include. 

Link to comment
45 minutes ago, Bjur said:

Should it be leaved to Unraid to split it or would it be best to assign manually?

That's really up to you and your preference, there's no wrong answer. 

 

46 minutes ago, Bjur said:

Also if I go this route and set disk 1 and 2 for TV Shows and 3+4 for Movies would it still put files in Disk 2 and 4 when 1 and 3 is half full if I use High Water with Disk Include. 

Yes.

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.

×
×
  • Create New...