question

SGChum-5472 avatar image
0 Votes"
SGChum-5472 asked SGChum-5472 answered

Robocopy to DFS Share on iSCSI SAN Fails unless /nocopy used

Hello,


Thanks for looking at my question.


Environment: W2K12 R2 file servers on VMware 6.5


Task: Move the file system for our document management system to another drive hosted by a cluster such that patching can go forward without user interruption.


Source: W2K12R2 with "File iSCSI Services" but no DFS/Namespace - Drive is a "local" VMDK - Share is a 'standard' share

-The only permission on the share and all folders/files in the source is "Everyone: Full Control"

  • Size is 3.5TB, 616K folders, 3.6million files according to the "properties" of the root dir for the share


Destination: W2K12R2 stand-alone clustered file server with DFS -Share is a DFS share on a SCSI-attached SAN disk

  • SAN is a TrueNAS HA-20X

  • Drive size is 4TB

  • Destination Perms: Everyone: Full Control; Domain Administrator: Full Control


Command line Used: robocopy \\source \\destination /MIR /E /Z /ZB /TBD /NP /FFT /R:2 /W:2 /MT:40


Issue: I cannot get robocopy to connect to the destination share at all unless I use the /nocopy switch. Any other /dcopy or /copy switches or leaving at the default causes me to get "Error 87 (0x00000057) Accessing Destination Directory The parameter is incorrect."


If I add the /nocopy to the line above it will "run successfully" but not copy any files, only folders, which makes sense I believe. I ran it this way and it did, in 26 minutes, enumerate all 616K folders to the new share...but no files. I can't get robocopy to copy a single flipping file to this share.


I have run this from the source and destination servers, and as my domain "super" admin account and as the built-in domain admin account (GUID:500) and I get the same thing every time.


Any help would be greatly appreciated!


SGChum

windows-server-2012
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

1 Answer

SGChum-5472 avatar image
0 Votes"
SGChum-5472 answered

OK I found it....

To get files to copy I had to use /copy:DT /dcopy:T .

I thought I had tried that but I guess I hadn't!

SGChum

5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.