[Samba] Re: Still trying to backup 66 GB from LINUX to W2K

Dragan Krnic dkrnic at lycos.com
Mon Nov 24 13:52:04 GMT 2003


But there's a little rub - the redirection on W2K side
introduces a carriage-return character before each
line-feed, like ftp in ascii mode. Sorry about that. 
Even the cygWin filter "dd" can't help it.

>|% You may use "rexec" from W2K to remotely start a process on
>|% a Linux box and then redirect the output to a file, like this:
>|%
>|%   C:\Temp>rexec p92 "cd /local;tar cbf 64 - pst" > here.tar
>|%   Name (p92.p.n.d.d:root):
>|%   Password (p92.p.n.d.d:root):
>|%   C:\Temp>dir here.tar
>|%   Medium in Drive C: No designation
>|%   Medium srl. no.: 582D-A5D8
>|%   Directory C:\Temp
>|%   20.11.2003  14:17        2.462.627.947 here.tar
>|%               1 File(s)    2.462.627.947 Bytes
>|%               0 Directory 46.868.381.696 Bytes free
>|%   So it's bigger than 2 GB.
>|
>| Hi Dragan,can you please try to rexec a five (5)
>| gigabyte file?I'm wondering what's happening then....
>
>From Linux side:
>   p92:/local # du -sk SAS
>   5041017 SAS
>
>From W2K Side:
>   C:\Temp>timethis rexec pmn92 "cd /local;tar cbf 64 - SAS">here.tar
>   TimeThis :  Elapsed Time :  00:08:31.890
>
>   C:\Temp>dir here.tar
>   24.11.2003  13:47        5.102.475.224 here.tar
>
> What did you expect?
> Works also with "dd if=file" > here.tar to just copy
> a single 5 GB file to W2K.



More information about the samba mailing list