Windows Vista Tips

Windows Vista Tips > Newsgroups > Windows Server > File Systems > Re: How to configure DFS to "aggregate" shares?

Reply
Thread Tools Display Modes

Re: How to configure DFS to "aggregate" shares?

 
 
Maximilian K
Guest
Posts: n/a

 
      10-15-2008
Hi,

You need to go one level deeper! You can map not just share names, but
folders under them.

Map as follows:
\\domain.local\shared\Folder1 --> \\SERVER01\Data01$\Folder1
\\domain.local\shared\Folder2 --> \\SERVER01\Data01$\Folder2
\\domain.local\shared\Folder3 --> \\SERVER01\Data01$\Folder3

\\domain.local\shared\Folder4 --> \\SERVER02\Data02$\Folder4
\\domain.local\shared\Folder5 --> \\SERVER02\Data02$\Folder5
\\domain.local\shared\Folder6 --> \\SERVER02\Data02$\Folder6

\\domain.local\shared\Folder7 --> \\SERVER03\Data03$\Folder7
\\domain.local\shared\Folder8 --> \\SERVER03\Data03$\Folder8
\\domain.local\shared\Folder9 --> \\SERVER03\Data03$\Folder9

If there are lots of folders, you may want to use command DFSMAP with a FOR,
something like:

DFSCMD /Unmap "\\domain.local\shared\Data01"
FOR /D %F IN (\\SERVER01\Data01$\*.*) DO DFSCMD /Map
"\\domain.local\shared\%~nxF" "%F"
DFSCMD /Unmap "\\domain.local\shared\Data02"
FOR /D %F IN (\\SERVER02\Data02$\*.*) DO DFSCMD /Map
"\\domain.local\shared\%~nxF" "%F"
DFSCMD /Unmap "\\domain.local\shared\Data03"
FOR /D %F IN (\\SERVER03Data03$\*.*) DO DFSCMD /Map
"\\domain.local\shared\%~nxF" "%F"

Read FOR /? and DFSCMD /? to understand how this works.

What these commands do, they for each server unmap your high-level folder,
then For command lists all its SUBfolders, they map just subfolder name
(%~nxF - name+extension, i.e. last folder name! into %F, full folder path
as a target...

(I have done just today about 50 subfolders of different levels while
migrating data from old server... had to split DFS granularity really deep
into subfolders, as the data amount is up to 700GB... and you can't copy it
overnight... but I digress.) This is how you create a DFS link tree.

Cheers
Maximilian

<> wrote in message
news:67e73520-ff48-4cbb-82ee-...
> I have a problem getting DFS configured the way I would like my users
> to see folders. My environment is 100% Win2k3 R2. However, AD is
> running in Mixed Mode (if it matters) because of an older app we can't
> decom yet.
>
> I have three shares:
>
> SERVER01\Data01$
> SERVER02\Data02$
> SERVER03\Data03$
>
>
> Each share has its own unique folders and data under it, as shown
> below:
>
> SERVER01\Data01$
> -> Folder1
> -> Folder2
> -> Folder3
>
> SERVER02\Data02$
> -> Folder4
> -> Folder5
> -> Folder6
>
> SERVER03\Data03$
> -> Folder7
> -> Folder8
> -> Folder9
>
>
> What I would like is one domain-based DFS root that "aggregates" all
> of the folders under each share into one list, like below:
>
> DOMAIN.LOCAL\shared
> -> Folder1
> -> Folder2
> -> Folder3
> -> Folder4
> -> Folder5
> -> Folder6
> -> Folder7
> -> Folder8
> -> Folder9
>
> I can't seem to get DFS configured properly to do this. When I
> created the three links (Data01, Data02, Data03) under DOMAIN.LOCAL
> \shared root, I end up with:
>
> DOMAIN.LOCAL\shared
> -> Data01
> -> Data02
> -> Data03
>
>
> What am I missing? How can I set up DFS to show all of the folders
> under each share into one list? Thanks in advance for your help and
> advice!
>

 
Reply With Quote
 
 
 
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
"Configure server backup" wizard for SBS 2008 freezes Geoff Spillane Windows Small Business Server 10 07-27-2009 12:43 PM
Re: IE 8 broke "Configure IE ESC" tool in Server Manager on 2008 Term PA Bear [MS MVP] Server Security 1 07-22-2009 11:47 AM
"WMP Network Sharing Service" crashes PC, cant configure extender. John S Windows Vista Networking 1 04-29-2009 11:11 AM
"Configure Sharing" button not showing in WMP - Library - Options PaulG Windows Media Player 2 12-13-2007 09:58 AM
CEICW wizard fails with "unable to configure network connection" e Tad Price Windows Small Business Server 3 07-13-2007 05:55 PM



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59