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

Hi all,

 

i'm sorry but i don't understand clearly the share functionality. In my unraid server i have 4 HDD, the disk3 is used to save my movie, i have the following structure :

 

- Disk3

  - MOVIES

  - DOCUMENTS

  - CONCERTS

  - COMICS

 

My need is simple, i must have a directory named tvixhd1, it's obligatory for my HDD multimedia Dvico. And in this directory i would like to add the folders of my disk3. Is it possible ?

 

Thanks for help  ;)

 

 

This will get you close...

 

type the following commands, or add them to the end of your "go" script and then reboot the unRaid server.  (If you type them, you do not need to do the "sleep" command, it is only to give the array time to come on-line in the "go" script.  You only need the echo commands.

 

It will create a new read-only share named "tivxhd1", pointing to /mnt/disk3 where it will then have access to the folders within it. 

The last line, smbcontrol will request that the samba process re-reads the smb.shares file to create the new share for your media player.

 

Yes, there are other ways to do this, but this is probably the easiest.  To have a user share automatically created would have required you to have a top-level directory named tvixhd1 on disk3 and the other directories within it.  This is messy for your other PCs on your lan.  By simply adding an entry as I show below using the name "tvixhd1" you get a SAMBA share/alias to the exact same folders that are on disk3, but with the name you need for your media player.

 

Joe L.

 

sleep 30

echo "[tvixhd1]" >>/etc/samba/smb.shares

echo "path = /mnt/disk3" >>/etc/samba/smb.shares

echo "read only = Yes" >>/etc/samba/smb.shares

echo "force user = root" >>/etc/samba/smb.shares

echo "map archive = Yes" >>/etc/samba/smb.shares

echo "map system = Yes" >>/etc/samba/smb.shares

echo "map hidden = Yes" >>/etc/samba/smb.shares

echo "create mask = 0711" >>/etc/samba/smb.shares

echo "directory mask = 0711" >>/etc/samba/smb.shares

smbcontrol smbd reload-config

 

 

wow, magic :)

 

 

  • Author

Hi Joe,

 

1000 thanks to you, i tested quickly and it's work fine.

 

Tomorrow i will test more.  ;)

 

 

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.