Network and Storage Protocols

Robocopy

CHADRODRIGUEZ

I'm trying to run this command: robocopy /mir /sec "\\pr-share\G$\GDrive" \\pr-na-3210-a\Company_Share" and essentially get random "access is denied waiting 30 seconds, ERROR 5 (0x00000005)". I want to mirror the source ( NTFS) to destination (CIFS) so that I can properly cut this over. What command can I run that will secure permissions as well as not give me this error and others.

6 REPLIES 6

nitish

Do you see this error a some particular files or entire directory?

- Are you running this with Administrator privileges ?

- If you see this on particular files, check the ownership on them.

CHADRODRIGUEZ

- I'm running with Administrative credentials

- some files and folders, and I'm having to take ownership of them in order to proceed. But isn't there any addition to the command I'm using that would just copy them?

AGUMADAVALLI

use the snapmirror or ndmpcopy that would resolve your problem.

thank you,

AK G

so AGUMADAVALLI I'm trying to take an existing nfts shared and mapped drive and move it to my cifs share. How in the world would this work?

ivisinfo

Don't use /MIR and /SEC together. Use only /MIR.

See here: http://blogs.technet.com/b/filecab/archive/2008/07/31/robocopy-mir-switch-mirroring-file-permissions.aspx

brifinin5

Well, you can use long path tool for such issues...

Public