Dragan Krnic
2003-Nov-24 15:06 UTC
[Samba] Re: Still trying to backup 66 GB from LINUX to W2K
Both "rexec.exe" and "rsh.exe" from W2K have the problem. However, the "rsh.exe" from Hummingbird's Exceed package works just fine. I copied it into my cygWin's /usr/bin directory and did cd /cygdrive/c/temp time rsh p92 "cd /local;tar cbf 64 - SAS" | dd of=here.tar and the file is OK. It tars out all the files in SAS directory. Unfortunately cygWin's "ls -l" shows the file size modulo 2 GB, like this: -rw-rw-rw- 1 root mkpasswd 786464768 Nov 24 15:49 here.tar But W2K's dir sees the size correctly as: 24.11.2003 15:49 5.081.432.064 here.tar Note that the file is quite a bit smaller than the one obtained with W2K's "rexec.exe" and "rsh.exe" (21,043,160 bytes shorter), because there is no LF->CR/LF translation with Hummingbird's rsh.exe. |> 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.
Apparently Analagous Threads
- Re: Still trying to backup 66 GB from LINUX to W2K
- Re: Still trying to backup 66 GB from LINUX to W2K
- Re: Still trying to backup 66 GB from LINUX to W2K
- Samba share of a NFS mount
- "anvil: Error: connect limit: disconnection for unknown pid 17659 + ident lmtp/backup@backup.invalid"