Discussion:
Question about DFS
(too old to reply)
t***@posteo.de
2016-04-28 09:00:59 UTC
Permalink
Hello,

i'm trying to figure out some specific things about Samba DFS.

1. What is the ordering method of a DFS Share with multiple servers
(e.g. msdfs:serverB\\share,serverC\\share linkb ; Source:
https://www.samba.org/samba/docs/man/Samba-HOWTO-Collection/msdfs.html)?
With a Microsoft DFS i have 3 options regarding the target. (Targets in
a client's site are listed first in a referral. Nevertheless i can
choose between: Random order, Lowest cost, Exclude targets outside of
the client's site). Is it possible to achieve something similar with a
samba DFS?

2. DFSR within samba is "not yet implemented." - is there any timetable
for it?

3. Is there a way to provide the dfs "links" directly under the
servername, without the namespace? (e.g. \\sambadfs\here)
In Windows this is possible with a "Workaround", the solution for that
is a dfs consolidation root.
(Source: http://virot.eu/setting-up-a-dfs-consolidation-root/)

Any help is welcome - thank you very much in advance.

Regards

Tom
--
To unsubscribe from this list go to the following URL and read the
instructions: https://lists.samba.org/mailman/options/samba
Reindl Harald
2016-04-28 09:16:50 UTC
Permalink
Post by t***@posteo.de
i'm trying to figure out some specific things about Samba DFS.
1. What is the ordering method of a DFS Share with multiple servers
https://www.samba.org/samba/docs/man/Samba-HOWTO-Collection/msdfs.html)?
With a Microsoft DFS i have 3 options regarding the target. (Targets in
a client's site are listed first in a referral. Nevertheless i can
choose between: Random order, Lowest cost, Exclude targets outside of
the client's site). Is it possible to achieve something similar with a
samba DFS?
2. DFSR within samba is "not yet implemented." - is there any timetable
for it?
3. Is there a way to provide the dfs "links" directly under the
servername, without the namespace? (e.g. \\sambadfs\here)
In Windows this is possible with a "Workaround", the solution for that
is a dfs consolidation root.
(Source: http://virot.eu/setting-up-a-dfs-consolidation-root/)
Any help is welcome - thank you very much in advance
wouldn't it be better to setup a redundant cluster FS like ceph on the
backend storage and so have just a simple, large share from the
viewpoint of samba?
t***@posteo.de
2016-04-28 10:14:55 UTC
Permalink
Post by Reindl Harald
Post by t***@posteo.de
i'm trying to figure out some specific things about Samba DFS.
1. What is the ordering method of a DFS Share with multiple servers
https://www.samba.org/samba/docs/man/Samba-HOWTO-Collection/msdfs.html)?
With a Microsoft DFS i have 3 options regarding the target. (Targets in
a client's site are listed first in a referral. Nevertheless i can
choose between: Random order, Lowest cost, Exclude targets outside of
the client's site). Is it possible to achieve something similar with a
samba DFS?
2. DFSR within samba is "not yet implemented." - is there any
timetable
for it?
3. Is there a way to provide the dfs "links" directly under the
servername, without the namespace? (e.g. \\sambadfs\here)
In Windows this is possible with a "Workaround", the solution for that
is a dfs consolidation root.
(Source: http://virot.eu/setting-up-a-dfs-consolidation-root/)
Any help is welcome - thank you very much in advance
wouldn't it be better to setup a redundant cluster FS like ceph on the
backend storage and so have just a simple, large share from the
viewpoint of samba?
Good idea - but no, not possible (Legacy problems...).
--
To unsubscribe from this list go to the following URL and read the
instructions: https://lists.samba.org/mailman/options/samba
Jason Chang
2016-04-28 17:08:54 UTC
Permalink
1. What is the ordering method of a DFS Share with multiple servers (e.g.
msdfs:serverB\\share,serverC\\share linkb ; Source:
https://www.samba.org/samba/docs/man/Samba-HOWTO-Collection/msdfs.html)?
With a Microsoft DFS i have 3 options regarding the target. (Targets in a
client's site are listed first in a referral. Nevertheless i can choose
between: Random order, Lowest cost, Exclude targets outside of the client's
site). Is it possible to achieve something similar with a samba DFS?

In my setup, the order method puts the first entry as default primary
target. Initially I thought this would be a either round-robin or random
distribution in hopes to somewhat balance the load between the listed
servers. Unfortunately this wasn't the case. It just put a massive load on
the first listed server and very minimal amount of traffic being sent to
others. Maybe there is a setting that I don't know of but I had to change
that to a single entry RRDNS method to distribute the load.
Post by t***@posteo.de
Post by Reindl Harald
Post by t***@posteo.de
i'm trying to figure out some specific things about Samba DFS.
1. What is the ordering method of a DFS Share with multiple servers
https://www.samba.org/samba/docs/man/Samba-HOWTO-Collection/msdfs.html)?
With a Microsoft DFS i have 3 options regarding the target. (Targets in
a client's site are listed first in a referral. Nevertheless i can
choose between: Random order, Lowest cost, Exclude targets outside of
the client's site). Is it possible to achieve something similar with a
samba DFS?
2. DFSR within samba is "not yet implemented." - is there any timetable
for it?
3. Is there a way to provide the dfs "links" directly under the
servername, without the namespace? (e.g. \\sambadfs\here)
In Windows this is possible with a "Workaround", the solution for that
is a dfs consolidation root.
(Source: http://virot.eu/setting-up-a-dfs-consolidation-root/)
Any help is welcome - thank you very much in advance
wouldn't it be better to setup a redundant cluster FS like ceph on the
backend storage and so have just a simple, large share from the
viewpoint of samba?
Good idea - but no, not possible (Legacy problems...).
--
To unsubscribe from this list go to the following URL and read the
instructions: https://lists.samba.org/mailman/options/samba
--
To unsubscribe from this list go to the following URL and read the
instructions: https://lists.samba.org/mailman/options/samba
Jason Chang
2016-04-28 22:05:39 UTC
Permalink
I see. I based my answer on a older distribution. 4.1.6. Thanks Jeremy for
the info.
Post by t***@posteo.de
Post by Jason Chang
1. What is the ordering method of a DFS Share with multiple servers (e.g.
https://www.samba.org/samba/docs/man/Samba-HOWTO-Collection/msdfs.html)?
With a Microsoft DFS i have 3 options regarding the target. (Targets in a
client's site are listed first in a referral. Nevertheless i can choose
between: Random order, Lowest cost, Exclude targets outside of the
client's
Post by Jason Chang
site). Is it possible to achieve something similar with a samba DFS?
4.4.x and 4.3.x have "msdfs shuffle referrals"
<description>
<para>If set to <constant>yes</constant>, Samba will shuffle
Dfs referrals for a given Dfs link if multiple are available,
allowing for load balancing across clients. For more information
on setting up a Dfs tree on Samba, refer to the MSDFS chapter in
the Samba3-HOWTO book.</para>
</description>
--
To unsubscribe from this list go to the following URL and read the
instructions: https://lists.samba.org/mailman/options/samba
t***@posteo.de
2016-05-08 15:16:22 UTC
Permalink
Sorry for the late reply. Thank you Jason, Harald and Jeremy - your
input helped me a lot :)

Best wishes

Tom
Post by Jason Chang
I see. I based my answer on a older distribution. 4.1.6. Thanks Jeremy for
the info.
Post by t***@posteo.de
Post by Jason Chang
1. What is the ordering method of a DFS Share with multiple servers (e.g.
https://www.samba.org/samba/docs/man/Samba-HOWTO-Collection/msdfs.html)?
With a Microsoft DFS i have 3 options regarding the target. (Targets in a
client's site are listed first in a referral. Nevertheless i can choose
between: Random order, Lowest cost, Exclude targets outside of the
client's
Post by Jason Chang
site). Is it possible to achieve something similar with a samba DFS?
4.4.x and 4.3.x have "msdfs shuffle referrals"
<description>
<para>If set to <constant>yes</constant>, Samba will shuffle
Dfs referrals for a given Dfs link if multiple are available,
allowing for load balancing across clients. For more
information
on setting up a Dfs tree on Samba, refer to the MSDFS chapter in
the Samba3-HOWTO book.</para>
</description>
--
To unsubscribe from this list go to the following URL and read the
instructions: https://lists.samba.org/mailman/options/samba
Continue reading on narkive:
Loading...