Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

Are there performance or permission or other considerations to think about when using a mklink path to a network share versus just a straight UNC path (or mapped drive for that matter).

For example, can these three ways of accessing a network resource be considered functionally equivalent and roughly interchangeable?

mklink /d c:\shares\warehouse \\server1\warehouse
xcopy /s c:\shares\warehouse d:\temp\warehouse_copy

.

xcopy /s \\server1\warehouse d:\temp\warehouse_copy

.

net use X: \\server1\warehouse
xcopy /s \\server1\warehouse d:\temp\warehouse_copy

Server is Windows 2003, clients are Win7 Pro. Network is mostly gigabit, though there are few 100mbit laggards here and there. I used a cmd shell in the example because it's easiest to explain, in practice the resource would be accessed by a variety of other methods also (Windows Explorer, Office "open" dialogs, system backup services, etc.)

share|improve this question
    
possibly related to the performance aspect, serverfault.com/questions/411110/… (though it's unclear from the answer if this is specific to symbolic links or a general MS-Office and network paths consideration) –  matt wilkie Sep 30 '13 at 20:41
    
some posts here, in 22-Jul-2011 indicate a potential issue with symbolic network links: "...linked folders are not watched in realtime, so the software doesn't see when files are changed or added. Only scanning them (verify selection) finds the changes in these folders.". This could be a real problem with large file collections (but perhaps mapped drives and UNC are also susceptible, so it's all a wash?) –  matt wilkie Sep 30 '13 at 21:44
add comment

1 Answer 1

I would strongly recommend NOT using symbolic links that have a remote target. My rationale being that a symbolic link makes an entry in the NTFS Master File Table, and although not substantiated, I reckon this could cause issues when performing low-level NTFS MFT operations (such as an offline CHKDSK).

As for performance, I can't see that there would be any difference at all. Both result in SMB traffic. The symbolic link route has to go via a redirection (handled by NTFS.SYS), but the "latency" here will be many thousands times smaller than any subsequent network delays...

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.