Hi there,
I have a dfs related problem. When copying multiple small files from dfs path it gets very slow.
If dfs path only includes one folder with target (e.g. \\contoso.com\rootshare\folder_with_target ) everything is fine. If folders without target are included in the path (e.g. \\contoso.com\rootshare\folder\folder_with_target ) it gets slower because additional
interaction with domain controller takes place (see netmon trace) for each file operation ("query directory" on folder without target). Is there any way to get rid of this?
- Client in this case is windows Server 2008 R2 (latest patches)
- no sites in AD are implemented
- dfs permissions don't matter, same behavior no matter what
- I only experience this on specific clients (servers)
- dfsutil /pktinfo seems fine, same as on other servers where it's OK.
Thanks,
Peter
This is what happens per file:
09:33:09.5183649 1399 System 10.4.29.98 10.1.10.201 SMB2 SMB2:C CREATE (0x5), Sh(RWD), DHnQ+MxAc+QFid, File=hct\shares\US@#1399 {SMB2:136, SMBOverTCP:27, TCP:26, IPv4:25}
09:33:09.6034924 1402 System 10.1.10.201 10.4.29.98 SMB2 SMB2:R CREATE (0x5), MxAc+QFid, FID=0xFFFFFFFF00000061(hct\shares\US@#1399) {SMB2:136, SMBOverTCP:27, TCP:26, IPv4:25}
09:33:09.6036592 1403 System 10.4.29.98 10.1.10.201 SMB2 SMB2:C CLOSE (0x6), FID=0xFFFFFFFF00000061(hct\shares\US@#1399) {SMB2:136, SMBOverTCP:27, TCP:26, IPv4:25}
09:33:09.6885599 1405 System 10.1.10.201 10.4.29.98 SMB2 SMB2:R CLOSE (0x6), File=hct\shares\US@#1399 {SMB2:136,
SMBOverTCP:27, TCP:26, IPv4:25}
09:33:09.6888048 1406 System 10.4.29.98 10.1.10.201 SMB2 SMB2:C CREATE (0x5), Sh(RWD), DHnQ+MxAc+QFid, File=hct\shares@#1406 {SMB2:137, SMBOverTCP:27, TCP:26, IPv4:25}
09:33:09.7738729 1409 System 10.1.10.201 10.4.29.98 SMB2 SMB2:R CREATE (0x5), MxAc+QFid, FID=0xFFFFFFFF00000065(hct\shares@#1406) {SMB2:137, SMBOverTCP:27, TCP:26, IPv4:25}
09:33:09.7740231 1410 System 10.4.29.98 10.1.10.201 SMB2 SMB2:C QUERY DIRECTORY (0xe), FID=0xFFFFFFFF00000065, File=US {SMB2:137,
SMBOverTCP:27, TCP:26, IPv4:25}
09:33:09.8589329 1413 System 10.1.10.201 10.4.29.98 SMB2 SMB2:R QUERY DIRECTORY (0xe), File=hct\shares@#1406 {SMB2:137,
SMBOverTCP:27, TCP:26, IPv4:25}
09:33:09.8590188 1414 System 10.4.29.98 10.1.10.201 SMB2 SMB2:C CLOSE (0x6), FID=0xFFFFFFFF00000065(hct\shares@#1406) {SMB2:137, SMBOverTCP:27, TCP:26, IPv4:25}
09:33:09.9439217 1416 System 10.1.10.201 10.4.29.98 SMB2 SMB2:R CLOSE (0x6), File=hct\shares@#1406 {SMB2:137, SMBOverTCP:27,
TCP:26, IPv4:25}