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.

Adding New Share

Featured Replies

I have a 12 disk array.

I run just a single share right now.

My share is called Root.

This is a portion of my directory structure.

 

  Root

      - Apps

      - Backups

      - Videos

              - Tv

              - Movies

              - Kid Movies

                          - Shrek

                          - Ben 10

 

I'm setting up a device to play videos in my kids room.

The device uses smb shares.

When I add the share "Root" to the device my kids have access to all the directories.

Can I add a new share to unraid that would just access the "Kid Movies"

folder under my current share.

 

Thanks

When I add the share "Root" to the device my kids have access to all the directories.

Can I add a new share to unraid that would just access the "Kid Movies" folder under my current share.

Telnet to your server and type the following:

echo '[kids]' >> /boot/config/smb-extra.conf
echo '  path = /mnt/user/Root/Videos/Kid Movies' >> /boot/config/smb-extra.conf

Now you have a new samba share accessible through  \\Tower\kids

 

I have a 12 disk array.

I run just a single share right now.

My share is called Root.

This is a portion of my directory structure.

 

  Root

      - Apps

      - Backups

      - Videos

               - Tv

               - Movies

               - Kid Movies

                           - Shrek

                           - Ben 10

 

I'm setting up a device to play videos in my kids room.

The device uses smb shares.

When I add the share "Root" to the device my kids have access to all the directories.

Can I add a new share to unraid that would just access the "Kid Movies"

folder under my current share.

 

Thanks

Yes, but not through the unRAID web-interface.

 

Create a file in your config folder on the flash drive.  It must be named:

smb-extra.conf

It will not exist unless you create it, but you can check by typing

ls -l /boot/config/smb-extra.conf

 

In it, put these three lines:

[Kids Movies]

 path = /mnt/user/Root/Videos/Kid Movies

 read only = Yes

 

The file must have unix style line endings, so you might need to put it through "fromdos" if you use an editor that adds carriage returns to the ends of the lines in addition to newline characters.

cp  /boot/config/smb-extra.conf  /tmp/

fromdos </tmp/smb-extra.conf >/boot/config/smb-extra.conf

 

Alternatively, you can just type the following lines at the command prompt to create the file if it does not exist and not use an editor at all:

echo "[Kids Movies]" >> /boot/config/smb-extra.conf

echo " path = /mnt/user/Root/Videos/Kid Movies" >>/boot/config/smb-extra.conf

echo " read only = Yes" >>/boot/config/smb-extra.conf

 

You only need to do this once.   The file is examined for changes every minute, so the new share should show up on your lan shortly after you create the file with the entry.

  • Author

Thanks purko and Joe.

 

I'll try this when I get home.

Seems simple enough.

 

Just to confirm, this won't mess up my current share.

 

Thanks

Just to confirm, this won't mess up my current share.

Your server may catch on fire. But other than that, your current share should be fine.

 

Just to confirm, this won't mess up my current share.

Your server may catch on fire. But other than that, your current share should be fine.

 

It will not do anything to the existing shares. The entry you create in the file is used in addition to those defined in the web-interface.

 

Of course, now that I've said, that it may cause a miniature black-hole which provides massive clean energy through Hawking radiation, resulting an a complete reformat of purko's current hard disks, and the inability to store anything but zeros on any he may purchase in the future due to the time-dilation tendencies of space-time in such an intense gravity field.  ;D

 

Hope your kids enjoy their movies.

 

Joe L.

Of course, now that I've said, that it may cause a miniature black-hole which provides massive clean energy through Hawking radiation, resulting an a complete reformat of purko's current hard disks, and the inability to store anything but zeros on any he may purchase in the future due to the time-dilation tendencies of space-time in such an intense gravity field.  ;D

Yes but just imagine the amount of zeeeros I'll be able to store!!  MUHAHAHAHA!!!

I'll store all the zeros there are and not leave anything for you!

 

Of course, now that I've said, that it may cause a miniature black-hole which provides massive clean energy through Hawking radiation, resulting an a complete reformat of purko's current hard disks, and the inability to store anything but zeros on any he may purchase in the future due to the time-dilation tendencies of space-time in such an intense gravity field.  ;D

Yes but just imagine the amount of zeeeros I'll be able to store!!  MUHAHAHAHA!!!

 

You can even exclusive-or the zeros together, for a HUGE compression factor, and store even more.  You'll be the zero-hero.  Just remember to store them in a small font, so they take less room.

 

Joe L.

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.