I need to move a DFS share to a new larger drive on the same server. What is the best/easiest way to accomplish this. The Server in question is running Windows Server 2003 R2.
A couple of assumptions:
1) You're talking about a link target that has no links underneath it. The NTFS reparse points necessary to make link targets work won't copy with XCOPY (or, I believe, ROBOCOPY).
2) I am assuming that this not a DFS link that's subject to replication. That's a different ball of wax than the above procedure.
Copying the files is easy:
Changing the share without a lot of difficult involves a little hack. You can do this through "proper channels" in the GUI, but this involves as little mucking w/ DFS configuration as possible.
Since DFS refers to the share as a UNC, and not its physical path, DFS isn't even "aware" that the physical path of the folder changed.
All your users will immediately start using the new share (this is the beauty of DFS). Be sure to do this during off hours to be sure you capture all changed files during the copy/switch. Robocopy is a great utility to help you with this process.
It's not clear from your question what you're really concerned about, here's how I would approach the problem:
Note: DFS locations are cached on the clients, it can take a while for this to be updated. (Obviously not a concern if you re-use the same share name.)