Multiple TrueNAS storage on single Interface

sukarechhe

Dabbler
Joined
Nov 16, 2021
Messages
35
Hello Folks,

Hope everyone doing well & safe here.

I am using multiple TrueNAS and it is difficult to create shared path with different hostname or IPs, is there any way, where I can use all the NAS on single interface and can share using main server IP ?

Thanks in advanced, stay healthy & safe.

Best regards,
 

sretalla

Powered by Neutrality
Moderator
Joined
Jan 1, 2016
Messages
9,703
Maybe you're looking for TrueNAS SCALE (and glusterfs)
 

Patrick M. Hausen

Hall of Famer
Joined
Nov 25, 2013
Messages
7,776
You are probably looking into something like Windows DFS?

This should be available in Samba, but I have not tried (not having more than one TrueNAS CORE at a single location) and I don't know if support is compiled in and if it's supposed to work.

@anodos, any helpful comment? Thanks!
 

Heracles

Wizard
Joined
Feb 2, 2018
Messages
1,401
Other than @sretalla and @Patrick M. Hausen options, you can create share1 on NAS1, share2 on NAS2 and share3 on NAS3. You then map share2 and 3 from NAS1, share1 and 3 on NAS2 and share 1 and 2 on NAS3. Then, each NAS can re-share the content it already mapped from the others, plus its own. You will end up with a nightmare for managing users and ACLs but it will be possible.

Maybe a more structured solution like Nextcloud would serve you better ?
 

Patrick M. Hausen

Hall of Famer
Joined
Nov 25, 2013
Messages
7,776
@Heracles How will you be mapping the shares from one NAS to the next? The smbclient in FreeBSD is to my knowledge dysfunctional and NFS does not provide the same semantics as local ZFS storage. Does that really work?
 

Heracles

Wizard
Joined
Feb 2, 2018
Messages
1,401
The OP did not mentioned the sharing protocol he is using. As such, if he is using NFS, then inter-Nas sharing over NFS is what needs to be done and will be compatible with the clients.

If he is sharing over SMB, he may faces some complications according to what you said. Here, I moved away from SMB for so long that I do not have experience with limitations that would exist. In theory it would work but if you said that in practice it does not, I trust you on that one.

But again, a structured service like Nextcloud and its federation would be much better for such a service.
 

ChrisRJ

Wizard
Joined
Oct 23, 2020
Messages
1,919
How many NAS instances and shares are we talking about? You about things being "difficult", but what exactly does that mean?

What I am going towards is that hardly anything in life comes for free. If you want to "simplify" things that are currently not like you want them to be, chances are that you are trading them for additional complexity somewhere else. Just a thought ...
 

Samuel Tai

Never underestimate your own stupidity
Moderator
Joined
Apr 24, 2020
Messages
5,399
Joined
Jan 4, 2014
Messages
1,644
Last edited:

sukarechhe

Dabbler
Joined
Nov 16, 2021
Messages
35
Oh! I'm overwhelmed with many quick response and this is happening very first time on any community or forum with me. :)

Thank you : @sretalla @Patrick M. Hausen @Heracles @ChrisRJ @Samuel Tai @Basil Hendroff

Well, my scenario is like :
I have 7 system with TrueNAS.
while sharing for AD users I have to create share as per storage requirement. So, here issue is what, people has to remember IP or name of certain freenas system and which is difficult for them.

This is the reason I'm looking for some solution if I can manager shared path with 1 main truenas system and rest of truenas system would be used as pool with main truenas.

Hope this has clear some idea about my need
 

Patrick M. Hausen

Hall of Famer
Joined
Nov 25, 2013
Messages
7,776
DFS then ...
 

Samuel Tai

Never underestimate your own stupidity
Moderator
Joined
Apr 24, 2020
Messages
5,399

Samuel Tai

Never underestimate your own stupidity
Moderator
Joined
Apr 24, 2020
Messages
5,399
I have another question, will this work with AD user's sharing permission too ? I just tested with local user, yet to test with AD user.

I expect it does, but I've never tried it myself. @Basil Hendroff, would you know one way or the other?
 
Joined
Jan 4, 2014
Messages
1,644
@Samuel Tai Neither have I. I don't use AD. The DFS setup is independent of user accounts so there's no reason why it shouldn't work with AD. Maybe the OP can advise further once he's completed testing.
 

sukarechhe

Dabbler
Joined
Nov 16, 2021
Messages
35
It is working fine with AD user's permission. Test in progress with different requirement, will post soon about each criteria while testing different parameter. Thank you everyone for help :smile:
 

sukarechhe

Dabbler
Joined
Nov 16, 2021
Messages
35
It works fine with permission we set on folder. Just a question. if my pc isn't in a domain then it doesn't ask for credentials to connect linked folder.. can we set any option here ?

1637598259994.png
 
Last edited:
Top