[Samba] copy files and it would NOT copy everything

Klaus Hartnegg hartnegg at gmx.de
Tue Apr 29 05:07:36 MDT 2014


On 29.04.2014 12:53, lejeczek wrote:
> I'm dealing here with a very very bizarre situation:
> on a Win7 I copy larger sets of data, between 10 and 30GB (~20K of files
> in 2.5K folders)  everything starts very normal, I select all the data,
> copy & paste.
> Copying begins and I see progress bar moving normally towards the finish
> and it finishes - no errors no messages - yes most of data does not get
> to the target folder.

This is probably not a samba issue. Have seen it also when copying very 
many gigabytes from Windows Server 2008-R2 to Windows Server 2012-R2.
The solution is to right-click on cmd.exe, select run as administrator, 
then enter the command
robocopy c:\source d:\destination /mir /copyall /b /mt
But be very careful with specifying the correct destination when using 
the /mir option, robocopy can wipe out huge directory trees with 
terabytes of data in seconds.
Other very useful options are /v /fp /log:logfile



More information about the samba mailing list