Skip to content
View in the app

A better way to browse. Learn more.

Unraid

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

"Shares" Question

Featured Replies

At the moment I only have 1 2TB parity disk and 1 2TB data disk. I will be adding more disks.

 

I am trying to set up shares and I am confused.

 

I understand how to create shares, I am going to use High-water, I understand how shares work across disks, and I understand "split-level"

 

I might be confusing share and folders.

 

I want to do something like:

 

Disk 1

 

    Media

 

          Movies-downloads

 

              Movie x

 

              Movie y

 

          Movies-DVD

 

              Movie a (ISO)

 

              Movie b (ISO)

 

          TV_Shows-downloads

 

          TV_Shows-DVD

 

          Recordings-WIN7MC

 

    Business 1

 

          Accounting Data

 

          Estimate Data

 

          Website Data

 

          Pictures

 

    Business 2

 

    Personal

 

          Pictures

 

          Documents

 

etc................................

 

My question is: Can I "Nest" shares. If so, how can I create a share as a sub-share to a parent share. So that in my example structure "Movies-DVD" would still get shared across multiple disks or are only top level folders able to be shared?

 

Or do I just want to use a folder structure and forget about shares?

 

Thanks

I'm 99% sure shares are top level only. I've been in the docs extensively for the past few days setting up my system and working on that tutorial.  With that said, someone may pipe up and prove me wrong :)

 

With that out of the way, for what you have shown you would need shares for Media, Business1, Business2, and Personal.  Anything inside those shares would just be a folder/directory.  The upside is that it's easy to configure, the downside is that you can only set permissions on the shares themselves and not at the folder level inside the shares, but that's beyond the scope of your question ;)

Shares, as defined by unRAID are the top level folders only.  In fact, all top level folders are automatically shares, even if you create them using linux commands.

 

You can create your own "Share" on a sub-folder though by creating a special file in the config folder. (The file does not usually exist)

 

The file is

config/smb-extra.conf

 

Type

mc

and use the editor in it to create the file.  (Don't use a windows editor that puts carriage returns at the ends of lines)

 

In that file put three lines for each of the additional shares you wish to define:

[Halloween Movies]

path = /mnt/user/sub/directory/path/Scary Movies

read only = Yes

 

The first line, with the name in square brackets, is the name you'll see in windows for the share name.

In the second line, the path to the sub-directory must be the full path starting at /mnt/user

The read only line can be set to yes or no as appropriate.

 

Once you add the lines you just need to stop and re-start the array to have them recognized.

 

Joe L.

  • Author

Thanks - got it! Shares are just the Top Level directory.

 

I got a bit confused by this discussion of split level in the Wiki:

 

If the share were organized differently, for example according to genre:

 

   * Movies

         o SciFi

               + Alien

         o Action

               + Basic

               + Dejavu

         o Kids

               + Cars

 

Then you would set Split level to 2. This will let the genres expand among all disks, but still ensure that the contents of the actual movie directories stay within the same disk.

 

It is actually pretty straightforward. I think i have spent too much time reading and re-reading the documentation and old posts. :)

 

I will have to re-think my share strategy a bit. I need a certain structure for Win7 MC w/ MediaBrowser with the ability to fill multiple discs, but I want other data to not be written across multiple disks. I should probably just go order a couple more 2 Tb disks already!

 

Thanks Again!

  • Author

Shares, as defined by unRAID are the top level folders only.  In fact, all top level folders are automatically shares, even if you create them using linux commands.

 

You can create your own "Share" on a sub-folder though by creating a special file in the config folder. (The file does not usually exist)

 

The file is

config/smb-extra.conf

 

Type

mc

and use the editor in it to create the file.   (Don't use a windows editor that puts carriage returns at the ends of lines)

 

In that file put three lines for each of the additional shares you wish to define:

[Halloween Movies]

path = /mnt/user/sub/directory/path/Scary Movies

read only = Yes

 

The first line, with the name in square brackets, is the name you'll see in windows for the share name.

In the second line, the path to the sub-directory must be the full path starting at /mnt/user

The read only line can be set to yes or no as appropriate.

 

Once you add the lines you just need to stop and re-start the array to have them recognized.

 

Joe L.

 

Awesome. This is exactly what I was hoping could be accomplished.

 

Thank You! This is definitely the best unnofficial user technical help forum ever! ;D

I have not tested it but try out split level 0.

 

You create the top level or Parent directory structure on each disk. This will be a combination of your root Media share with sub-directories under it. Then, a file copied to that directory structure must go to the disk that holds the parent directory.

 

Here is an example, say you create these top level directories.

 

Disk 1

    Media

          Movies-DVD

          TV_Shows-downloads

          TV_Shows-DVD

          Recordings-WIN7MC

 

Disk 2

    Media

          Movies-downloads

          Movies-DVD

          TV_Shows-downloads

          TV_Shows-DVD

 

 

If you write to the "Media\Movies-DVD" directory the files could go to either disk depending on which one High Water is presently filling.

If you write to the "Media\Movies-downloads" directory the files must go to disk2.

If you write to the "Media\Movies-WIN7MC" directory the files must go to disk1.

 

 

Of course, another option is to just pull up \\Tower\disk1 and write the files there.

 

Peter

 

Does manually creating this directory structure obviate the split level config?

Archived

This topic is now archived and is closed to further replies.

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.