hi everybody 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. source and target are on separate shares (copy everything from one share to another) which respectively are on separate storages - but it's all one samba on one host (RHEL 6.5) source (read-only) is a traditional HDD => ext4 (rw,noatime,nodiratime,barrier=0,usrjquota=aquota.user,grpjquota=aquota.group,jqfmt=vfsv0) target is a LVM's LV raid 0 (two SSDs) => xfs (rw,noatime,nodiratime,quota,pquota,nobarrier,discard) samba 3.6.9-168.el6_5 2.6.39-400.214.5.el6uek.x86_64 any any ideas? greatly! apreciated regards P.
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