I have a shared Directory on my TeamCity Server, C:\Work which is about 9 GB and I want to move it to a separate Disk E:. When I copy the C:\Work to E:\Work and do mklink /D to make a symlink, the target folder is shared but the link does not appear to be shared. I simply want to delete C:\Work and create a symlink at C:\ that directs to E:\Work so that I may clear some space on the C:\ drive. It is important that the share still appears to be at C:\ since programs depend on it. What is the best practice here?
In this case I'd use a directory mounted volume. That would make C:\Work it's own volume, and not dependent upon the boot volume for providing space. It's more reliable than a symlink, and preserves the wince-worthy dependency you're working around.