[Samba] DFS with two target

Aaron C. de Bruyn aaron at heyaaron.com
Wed Feb 17 18:56:49 UTC 2021


Just an FYI, DFSR isn't supported in Samba, but you can 'fake it' by using
something like "Syncthing" on the box.
I use it to keep a bunch of DFS shares in sync across ~25 boxes.

-A

On Wed, Feb 17, 2021 at 10:08 AM Stefan Kania via samba <
samba at lists.samba.org> wrote:

> 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
> >
>
>
>
>
> --
> To unsubscribe from this list go to the following URL and read the
> instructions:  https://lists.samba.org/mailman/options/samba
>


More information about the samba mailing list