[Samba] DFS with two target

Stefan Kania stefan at kania-online.de
Wed Feb 17 18:07:36 UTC 2021


I used the wiki to setup dfs. I use dfs for many years now, but only
with linking single server, but the wiki is telling that it will work
with links to two shares. It's not DFS-R as I understand the wiki. I
know that DFS-R is not supported.

Am 17.02.21 um 18:08 schrieb Michael Wandel via samba:
> Hi Stefan,
> 
> 
> 
> Am 17.02.21 um 17:36 schrieb Stefan Kania via samba:
>> Hi everybody,
>>
>> I try to setup a DFS with two targets. I have three fileserver:
>> fs-01 => the dfs-root
>> fs-02 => with shares
>> fs-03 => with share
>>
>> -----------
>>
>> I created the directory /dfstree and creted the following links:
>> -------------
>> ln -s msdfs:fs-03\\tabellen tabellen
>> ln -s msdfs:fs-02\\briefe briefe
>> ln -s msdfs:fs-02\\failover,msdfs:fs-03\\failover failover
>> -------------
>>
>> Connecting from a Windows-Client to the share [dfstree] works, and I can
>> write to "tabellen" and "briefe" and the files are stored on the correct
>> server. If I write a file to the directory "failover" inside the share,
>> The file will only be stored on fs-02 but not on fs-3.
>>
>> I can mount both "failover" shares as a single share and write to it.
>>
>> I can't figure out where the problem is :-(
> 
> there is a nice wiki page:
>  https://wiki.samba.org/index.php/Distributed_File_System_(DFS)
> 
> Can it be, that you search for DFS-R ?
> 
> IMHO this is not yet implemented.
> 
> best regards
> Michael Wandel
> 






More information about the samba mailing list