UNSOLVED

asyahdo1

updated

14 years ago

A

asyahdo1

13 Posts

1

13739

December 6th, 2012 12:00

EMCOPY - switches and interpretation

Hi,

I have run EMCopy over the file system in List mode that we are looking to migrate to the VNX Unified array

I’m looking for a couple of things,

  1. What other options should I consider?
  2. Assistance with interpreting the results

What causes the file the file to be renamed?

In general why can the exe get content from the directory? Incorrect security permissions, deleted user and unresolvable SID, exclusive owner….etc does emcopy need to be run with additional privileges, eg backupwapper.exe for the CDMS tools?

What is the difference between errors 1450 and 53

This is the string used, plus I have used ShareDUP.exe to copy shares, but not lgdup.

emcopy.exe E:\ \\DR-testf1-Rep\E$\ *.* /l /o /a /s /c /r:1 /w:1 /th 10 /q /sdd /xd E:\RECYCLER /log:C:E_Drive_List.log

Command information

===================

Date                               : 06/12/2012 19:23:22

Source path                   : E:\

Desti. path                     : \\DR-testf1-Rep\E$\

Files and Dirs filter(s)      : *.*

Directory options           : /s /sdd

Excluded Dir                : E:\RECYCLER

List/Modify/Create options          : /l

Security options:           : /o /a

Thread count                : 10

Retry options                : /r:1 /w:1 /c

Log file                          : /log:C:\CifsTools_7.1.47.5\CifsTools\emcopy\nt\E_Drive_List.log

Processing the evaluation of the copy from E:\ to \\DR-testf1-Rep\E$\ ...

Results – partial

TH001 : 19:23:22 : E:\RECYCLER : Excluded

TH001 : 19:23:25 : WARNING : \\DR-testf1-Rep\E$\UsersCTX\adm-am.MCR\ntuser.dat.LOG -> renamed to \\DR-testf1-Rep\E$\UsersCTX\adm-am.MCR\NTUSER.DAT.LOG

TH003 : 19:23:25 : WARNING : \\DR-testf1-Rep\E$\UsersCTX\adahl.MCR\NTUSER.DAT.LOG -> renamed to \\DR-testf1-Rep\E$\UsersCTX\adahl.MCR\ntuser.dat.LOG

TH001 : 19:29:38 : ERROR (1450) : \\DR-testf1-Rep\E$\WorkSiteData\Working\ACALDWEL\6070\ -> Unable to get content, Retrying in 1 seconds...

TH009 : 19:29:38 : ERROR (1450) : \\DR-testf1-Rep\E$\WorkSiteData\Working\ACALDWEL\6069\ -> Unable to get content, Retrying in 1 seconds...

TH007 : 19:44:40 : ERROR (53) : \\DR-testf1-Rep\E$\WorkSiteData\Working\AMUIR\2101\ -> Unable to get content, Failed after 1 retries.

TH002 : 20:33:39 : ERROR (1450) : \\DR-testf1-Rep\E$\WorkSiteData\Working\DBOORMAN\3060\ -> Unable to get content, Failed after 1 retries.

Copy engine Statistics : results should be like this

====================================================

File(s) copied                                         : 4019029

File(s) recovered                                     : 0

Directory(ies) created                              : 1549073

File(s) renamed                                      : 2

Creation of Directory(ies) failed                : 92 !

Security Descriptor Setting(s) done:        : 4018987

Amount of copied byte(s)                        : 1132 GB (1 216 520 230 454 Byte(s))

Thanks in advance

Mike

  • dynamox

    11 Legend

    •

    20419 Posts

    •

    87439 Points

    6690

    0

    Posted December 6th, 2012 14:00

    i would also add /d if you are going to run this multiple times

  • christopher_ime

    6 Operator

    •

    1962 Posts

    6690

    0

    Posted December 9th, 2012 13:00

    There are quite a few questions but I'll take an initial stab at it. 

    1) In regards to the error messages, they are standard Windows error codes so you can look them up as follows:

    ERROR (53)

    C:\> net helpmsg 53

    The network path was not found.

    ERROR (1450)

    C:\> net helpmsg 1450

    Insufficient system resources exist to complete the requested service

    So it appears the requested resource wasn't available.  This could have been either the target filesystem or even the attempt to resolve the SID (as you'll read next).

    2) In reference to required permissions for the account running emcopy:

    [...]

    The user account must grant the Backup and Restores privileges. It must

    be also a member of administrators or account operators on both the

    source and the destination computers.

    [...]

    3) In reference to your question about unknown SID's

    Commonly as part of the migration it *may* make sense to configure the following data mover parameters

    param cifs acl.retryAuthSid=600

    param cifs acl.FailOnSDRestoreError=0

    param cifs acl.mappingErrorAction=3

    For more information review the following KB article:

    emc46968: "EMCopy utility fails with error 'Security Descriptor Error: Unable to set SD' while migrating data from source to target server."

    4) In regards to any additional switches have a look at the release notes which gives a brief description of each.  While it is fair to say that the same emcopy script used by one user is generic enough to work for others (search the forums for many examples), you should review them all to see what pertains to your desired results.

    https://support.emc.com/tool22088_EMCOPY_Usage_and_Release_Notes.txt

    If you should still have questions about specific switches, do not hesitate to post them.

    5) In reference to your comment about (file) ownership

    By specifying the switch "/o", you are copying the original file's owner.  Otherwise, as you will read in the release notes, the owner of the copied file would be the user running the copy (which you probably wouldn't want but of course depends).