Start a Conversation

This post is more than 5 years old

Solved!

Go to Solution

7722

November 25th, 2013 18:00

EMCOPY schedule job

HI ,

  We are migrating NetApp Source to Isilon Target.  ( 120TB)

emcopy64.exe \\NAS01\ folder1> \\nas02\IFS$\ folder1> /o /a /s /secfix /d /th 64 /c /cm md5 /r:0 /w:0 /log C:\Datalog\ .log

After the initial copy, i got following Summary and want to know best way to go forward and cut over after 2 weeks.

EMCOPY64 4.16 - File migration tool

System information

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

H000 : 17:41:12 : WARNING : Unable to retrieve the PDC of the domain DOMAINX nearby \\NAS01, error : 1717

TH000 : 17:41:12 : WARNING : The default primary group is set to "domain users"

File(s) copied                            : 433133

File(s) recovered                         : 0

Directory(ies) created                    : 51865

Creation of Directory(ies) failed         : 2 !

Security Descriptor Setting(s) done:      : 484977

Security Descriptor Setting(s) failed     : 21 !

Count of File MD5 checked                 : 429744

1.  How do i schedule the incremental backups? Create one bat file with multiple copy of above command?

2.  How to solve the following errors?

    TH014 : 18:45:56 : ERROR (2) : \\nas01\IFS$\Data\profiles\PROFILEDATA\skyec\Application Data\Sun\Java\Deployment\cache\6.0\44\ -> Unable to open object for SD setting

TH052 : 18:45:35 : ERROR (2) : \nas01\IFS$\Data\profiles\PROFILEDATA\skyec\Application Data\Macromedia\Flash Player\macromedia.com\support\flashplayer\sys\#media.washingtonpost.com -> SD not set

3. How do i compare Source and Target directories after the copy ?

Thanks,

22 Posts

November 25th, 2013 20:00

Repeat the same command to perform incremental copies. As dynamox suggested, you can create a batch file and output log filename with date appended to the filename and run it in scheduler.

Its worth looking at the logs to see which directories were missed. Also, only (and only) for the purpose of the migration, you can add the user that is running the emcopy command to the Isilon (target) share permissions with "run-as-root" permissions. Once migration is completed, that privilege must be removed.

I have used an inexpensive (commercial) tool (beyond compare) in the past to compare files and directories. I have to mention though that EMC does not recommend or suggest using any particular tool for comparing data.

2 Intern

 • 

20.4K Posts

November 25th, 2013 19:00

1) batch file and Task Scheduler should do it, what do you mean multiple copy of above command ?

2) Looks like garbage files, would not worry about them

3) du -ksh on Isilon ..not sure if there is an equivalent on NetApp

17 Posts

November 26th, 2013 04:00

HI,

Thanks,  How do i add the date to the log?

i got lots of big share folders so i run one by one for initial copy. So incremental i thought create one bat file and copy above command to call each folders.

Its bit hard to find the missing directories from each of the log file. Is there way to find this directories?

How do i find all the ACL are copied over ?

If beyond compare not recommending how do we compare?

Thanks,

AS

2 Intern

 • 

20.4K Posts

November 26th, 2013 06:00

google %date% and start   for your batch file questions.

for ACL i always did spot checks, there are tools that can dump ACLs into a flat file (again google subinacl)

22 Posts

November 26th, 2013 08:00

Yep. EMC also provides EMCACL.exe and then there's the Windows ICACLS.exe. You could put some scripting skills to run these utils on the shares and output to a text file and do a diff on those.

17 Posts

November 26th, 2013 19:00

  • you can add the user that is running the emcopy command to the Isilon (target) share permissions with "run-as-root" permissions
    Where is the location under SMB?

17 Posts

November 26th, 2013 20:00

Hi All,

How do i create hidden share name in Isilon ( New NAS)? My current share is \\nas01\share1$ and users are connecting to that share.

AS

2 Intern

 • 

20.4K Posts

November 26th, 2013 21:00

same thing, put a $ sign in the name

2 Intern

 • 

20.4K Posts

January 30th, 2014 08:00

did you look at source files permissions. Did you if they had entries that showed SID-4234-324234-423345 ...instead of real user names/group name ?

2 Intern

 • 

165 Posts

January 30th, 2014 08:00

Hi Dynamox,

I am stuck with the same issue "TH001 : 17:18:40 : ERROR (5) : -> Unable to open file for SD settings". I made sure that the user performing emcopy have enough permissions; also referred to the article posted by you emc46968 from Re: Emcopy or sharedup, still no luck. What do you mean garbage files - "2) Looks like garbage files, would not worry about them"

We are migrating from MS windows file server to OneFS 7.0.2.4.

In case i have to resolved unknown SID's, how do i perform that.

2 Intern

 • 

165 Posts

January 30th, 2014 09:00

I will look in to that in a while. Please let me know how should i proceed if i see those unresolved SID's

2 Intern

 • 

20.4K Posts

January 30th, 2014 10:00

so what happens when you get those errors, does the data get copied to Isilon or it gets skipped ? If it does get copied, does it not have ACLs ?

2 Intern

 • 

20.4K Posts

January 31st, 2014 12:00

what do you mean ACLs aren't proper ? It's one thing that source has valid ACLs and maybe one or two unresolvable SID ..you run emcopy and the target ends up looking just like the source (which is good, at least you did not lose valid ACLs). It's another thing that data got copies but ACLs did not get copied at all or ACLs were inherited from parent directory on target which could be incorrect either.

2 Intern

 • 

165 Posts

January 31st, 2014 12:00

Much appreciate your quick replies. Was unable to check on ACL till now.

The data seems to be copied but ACLs aren't properly. Also there exist some unresolved SID's

March 17th, 2015 04:00

hi

i have the same issue and i made sure that the User has RUN AS ROOT permission on the target share and Folder, however i am still getting the same warning

TH000 : 11:00:51 : WARNING : Unable to retrieve the PDC of the domain xxxxxxx nearby \\target, error : 1717

TH000 : 11:00:51 : WARNING : The default primary group is set to "domain users"

any help?

No Events found!

Top