Start a Conversation

Unsolved

This post is more than 5 years old

1940

June 13th, 2013 11:00

Not able to copy files from one CIFS share to other

I'm trying to copy some files in a sub directory from one CIFS share to another on the same CIFS server and to a different one. I used emcopy to do this, i did not receive any errors or warnings and the task completed in 1 sec, the files are not getting copied. I guess emcopy is skipping them. What can be the issue. We are using Celerra on 6.0.41.

Regards

9 Legend

 • 

20.4K Posts

June 13th, 2013 11:00

Errors ?

June 13th, 2013 11:00

System information

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

Client OS                   : Microsoft Windows XP Professional Service Pack 3 (

build 2600)

Server SRC                  : USTRCLRUC01     5.0 EMC-SNAS:T6.0.41.3

Server DEST                 : USTRCLRTEST01   5.0 EMC-SNAS:T6.0.41.3

Command information

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

Date                        : 13/06/2013 14:37:28

Source path                 : \\ustrclruc01\SIT\SHARED\NOS\

Desti. path                 : \\ustrclrtest01\XPTEST_TELECOM\NOS_SHARED\

Files and Dirs filter(s)    : *

Directory options           :

List/Modify/Create options  :

Security options:           :

Retry options               : /r:100 /w:30

Processing the copy from \\ustrclruc01\SIT\SHARED\NOS\ to \\ustrclrtest01\XPTEST

_TELECOM\NOS_SHARED\ ...

Copy engine Statistics

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

File(s) copied                            : 0

Directory(ies) created                    : 0

Amount of copied byte(s)                  : 0 Byte(s) (0 Byte(s))

Elapsed time: secs: 00

June 13th, 2013 11:00

This is the output I receive. No errors

275 Posts

June 13th, 2013 12:00

When specifying source do you use "*"?

If so don't, you just need to give the name of the source directory (and use other switches to copy security, owner etc...)

Also suggest that you map a drive for src and dst instead of UNC and set r: and w: otherwise these will be set to default

Claude

June 13th, 2013 12:00

and when I use robo copy it shows it is skipping the folders. We used one more tool beyond compare it actually copy's the data but the ACL's are missing

275 Posts

June 13th, 2013 12:00

You specified no options

Have you looked at them in the EMCopy command line, try /s to copy the content of subdirectories

Claude

June 13th, 2013 13:00

Hello Claude Thanks for the reply..I donot use "*" I used the options /s /o /a but I see the audit info is not copied and so are the security ACL's. What is the option for copying the security.

275 Posts

June 13th, 2013 13:00

Could you post the exact command that you are using?

Claude

June 13th, 2013 13:00

and I got Security Descriptor Setting(s) failed     : 53 !

June 13th, 2013 14:00

got it right now, I'm not part of the Administrators in the particular cifs server. Once I'm Administrator the ACL's are being copied. Thank You Claude.

9 Legend

 • 

20.4K Posts

June 13th, 2013 15:00

backup operator is sufficient

275 Posts

June 13th, 2013 15:00

Make sure you understand all options of EMCopy, especially /d and /de

/d will copy files if newer on source based on mdate (but not necessarily if restored from backup)

/de will copy if date or size differ (if modified on destination they will be repalced)

The new options (/dhsm and /mapfile) are for Isilon

Claude

275 Posts

June 13th, 2013 16:00

Correct Dymamox that should be enough

Don't forget that the user running EMCopy or Robocopy will become owner of any orphan SIDs

Also all too often we forgot that EMCopy is only working in backup mode (Robocpy is not unless /B)

This can lead in discrepancy when coming to performance in between both programs

Claude

June 13th, 2013 19:00

Thank You Claude and dynamox..so do this mean robocopy is better than emcopy

9 Legend

 • 

20.4K Posts

June 13th, 2013 22:00

i find robocopy just as good as emcopy when running on a Win2k8 R2 and higher, it's multi-threaded just like emcopy. Some people are just more familiar with robocopy.

No Events found!

Top