Solved

DFS (Distributed File System) truncate share names

Posted on 2010-11-16
7
2,195 Views
Last Modified: 2012-05-10
Hello everyone. I'm implementing a DFS server and I'm trying to figure out how to keep my share names as short as possible. Right now, the DFS server only allows me to share my root folders individually and the rest of the files and folders are within that share. For example.

I have created a root called "Public". Inside public I have \\domain\public\department\document\pdfs.
I'd like to be able to type \\domain\pdfs and go straight there.

This is not a great example because I have some much longer folder structures, but it gets the point across. Using an XP machine to share files, I could always just share whatever folder I want and it works like \\domain\sharefolder, but if I manually go to the DFS server and do this then it creates a share at \\dfsserver\share rather than \\domain\share. I'm trying to stick to the \\domain rather than \\dfsserver so that I can replicate this DFS server to a secondary one without any share name issues.

Hopefully that all makes sense. Any help would be much appreciated!
0
Comment
Question by:sjl1986
  • 3
  • 2
7 Comments
 
LVL 42

Expert Comment

by:kevinhsieh
ID: 34148213
The shortest you can have in DFS is \\domain\DFS-root\share1, so you can have \\domain\public\pdfs if you want to make a link to a pdfs or pdfs$ share on some server. So, \\domain\public\pdfs can point to \\fileserver1\pdfs$, which is a share on D:\public\department\document\pdfs, for example. I like to use sharename$ because it doesn't show up when browsing the server, so people are forced to using the DFS path and mappings that you provide.

If you map a drive, you can map to \\domain\public\department\document\pdfs and that drive letter will have the pdfs directory as the root of the drive. They won't be able to browse up the tree.

I hope this helps.
0
 
LVL 8

Author Comment

by:sjl1986
ID: 34148458
Ok, that's what I pretty much figured. I was just trying to shorten things up to make it easier when I send a user a link to something it's not half a page long. I'll deal with it though.

One other question. Every folder I create has a folder inside called ".DFSFolderLink". If I add a folder in the same folder as .DFSFolderLink, it goes away and becomes present in the next folder down.

\\server\.dfsfolderlink   exists. When adding a share to \\server, it becomes:
\\server\share\.dfsfolderlink

So basically it's in every folder at the bottom of the tree. Do you know what purpose it serves and if it can be hidden? I don't want every one of my user's folders to have that empty folder in with their documents. It's not an accessible folder even by administrator. It gives and error that it is not accessible.
0
 
LVL 8

Author Comment

by:sjl1986
ID: 34163962
I'd appreciate just a little more help on this if possible.

I ran into one other problem today....Do I have to create New folders in the DFS Management console for every single folder I want in DFS? Or can I just create the root folders and let all the sub folders be copied in windows? It would take a really long time to build separate folders for everything. I just want to make sure the folders still work fine and replicate if I just create them within windows under the DFS roots folder.
0
Netscaler Common Configuration How To guides

If you use NetScaler you will want to see these guides. The NetScaler How To Guides show administrators how to get NetScaler up and configured by providing instructions for common scenarios and some not so common ones.

 
LVL 42

Accepted Solution

by:
kevinhsieh earned 500 total points
ID: 34166629
It all depends on the physical filesystem where your shares are located. You have to create a DFS link for every unique share that you map to.

For example, you could have \\domain\dfsrootshare\departments\Accounting, \\domain\dfsrootshare\departments\HR, \\domain\dfsrootshare\departments\Engineering, and have each of those pointing to their own share.  You can also do \\domain\dfsrootshare\departments, and have that point to \\fileserver\departments, as long as \\fileserver\departments conatained Accounting, HR, and Engineering.

You can also use dfsutil, which is a command line utility to do all things DFS related.

http://blogs.technet.com/b/josebda/archive/2009/05/01/using-the-windows-server-2008-dfsutil-exe-command-line-to-manage-dfs-namespaces.aspx 
0
 
LVL 8

Author Comment

by:sjl1986
ID: 34168026
Ok thanks. I still don't understand what the .DFSFolderLink is there for. I can't rename, delete, or even open it. I just left them in all the folders since nobody can open or edit them I guess they can't be hurt in any way. Thanks for the link. I'll look into that.
0
 
LVL 74

Expert Comment

by:Glen Knight
ID: 34824877
This question has been classified as abandoned and is being closed as part of the Cleanup Program. See my comment at the end of the question for more details.
0

Featured Post

Are your AD admin tools letting you down?

Managing Active Directory can get complicated.  Often, the native tools for managing AD are just not up to the task.  The largest Active Directory installations in the world have relied on one tool to manage their day-to-day administration tasks: Hyena. Start your trial today.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

I had a question today where the user wanted to know how to delete an SSL Certificate, so I thought that I would quickly add this How to! Article for your reference. WHY WOULD YOU WANT TO DELETE A CERTIFICATE? 1. If an incorrect certificate was …
The recent Microsoft changes on update philosophy for Windows pre-10 and their impact on existing WSUS implementations.
This tutorial will give a short introduction and overview of Backup Exec 2012 and how to navigate and perform basic functions. Click on the Backup Exec button in the upper left corner. From here, are global settings for the application such as conne…
This tutorial will walk an individual through the steps necessary to install and configure the Windows Server Backup Utility. Directly connect an external storage device such as a USB drive, or CD\DVD burner: If the device is a USB drive, ensure i…

785 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question