Is there something like Microsoft Windows Server DFS for Linux? [closed]
Samba can do it through special symbolic link files. Samba has to be compiled with the --with-msdfs
option to make it work. Then you need to modify the smb.conf file to turn it on.
[global] host msdfs = yes #Add DFS as a share definition [dfs] path = /srv/smb/dfsroot msdfs root = yes
Once it does, you can make symlinks with this syntax to emulate linking to a remote host:
ln -s 'msdfs:server\volume` accounting
Lower-case is key. If you're replicating the data somehow (Samba, unlike Microsoft, doesn't bundle replication in with DFS) you can emulate that as well.
ln -s 'msdfs:server1\acct,msdfs:server2\acct' accounting
It's a good idea to ensure the links are owned by root. You don't want stray users redirecting other users to places nefarious.
You can also try MooseFS - an open-source distributed file system for Linux. It's fault-tolerant and has got a lot of different useful technical features.