Multiple Samba instances


Recommended Posts

I'm new to Unraid having bought my license today after a month's trial and I'm very impressed.

 

I'm looking to consolidate two separate NAS devices into one single Unraid host. However, they are quite distinct beasts: one being a media server hosting Sonarr, Radarr, music etc. and the other an office server hosting document shares, email server and pbx. I want to retain the existing server names for compatibility and so that media shares are not visible on the office server and vice versa. 

 

Plan A is to run a separate Samba instance in a Docker container using a custom eth0 network to publish and access the office shares. This appears to achieve exactly what I want with minimal overhead, but being unfamiliar with the workings of Unraid I am starting to worry that by using a separate instance of Samba I am somehow circumventing its file system and that I'll start having problems later. Is this the case or am I worrying about nothing?

 

Plan B is to create a separate VM running the office server.

 

Any advice gratefully received

Link to comment

I have it running in a docker container using a separate IP (custom network on br0). It seems to be working very well - exactly what I wanted and without the overhead of a VM. It also reads the Samba user and passwords from the smbpasswd file on the flash drive which is very pleasing. Thanks for the confirmation about the integrity - reading in this forum that moving (mv) files from the command line could cause unexpected results made me nervous.

Link to comment
6 minutes ago, Torrox said:

moving (mv) files from the command line could cause unexpected results

Moving or copying files using any method could cause unexpected results if you mix user shares and disks.

 

Moving can also cause unexpected results when both source and destination are user shares.

 

See this post for an explanation of both scenarios:

 

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.