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

2003-11-24 Thread Dragan Krnic
|% 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:\Temprexec p92 cd /local;tar cbf 64 - pst  here.tar
|%   Name (p92.p.n.d.d:root):
|%   Password (p92.p.n.d.d:root):
|%   C:\Tempdir here.tar
|%   Medium in Drive C: No designation
|%   Medium srl. no.: 582D-A5D8
|%   Directory C:\Temp
|%   20.11.2003  14:172.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:\Temptimethis rexec pmn92 cd /local;tar cbf 64 - SAShere.tar
   TimeThis :  Elapsed Time :  00:08:31.890

   C:\Tempdir here.tar
   24.11.2003  13:475.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.
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba


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

2003-11-24 Thread Dragan Krnic
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:\Temprexec p92 cd /local;tar cbf 64 - pst  here.tar
|%   Name (p92.p.n.d.d:root):
|%   Password (p92.p.n.d.d:root):
|%   C:\Tempdir here.tar
|%   Medium in Drive C: No designation
|%   Medium srl. no.: 582D-A5D8
|%   Directory C:\Temp
|%   20.11.2003  14:172.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:\Temptimethis rexec pmn92 cd /local;tar cbf 64 - SAShere.tar
   TimeThis :  Elapsed Time :  00:08:31.890

   C:\Tempdir here.tar
   24.11.2003  13:475.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.
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba


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

2003-11-24 Thread Dragan Krnic
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:495.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:\Temprexec p92 cd /local;tar cbf 64 - pst  here.tar
||%   Name (p92.p.n.d.d:root):
||%   Password (p92.p.n.d.d:root):
||%   C:\Tempdir here.tar
||%   Medium in Drive C: No designation
||%   Medium srl. no.: 582D-A5D8
||%   Directory C:\Temp
||%   20.11.2003  14:172.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:\Temptimethis rexec pmn92 cd /local;tar cbf 64 - SAShere.tar
|   TimeThis :  Elapsed Time :  00:08:31.890
|
|   C:\Tempdir here.tar
|   24.11.2003  13:475.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.
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba


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

2003-11-23 Thread Carsten Loeffler
 I'm still having that problem that my samba cannot backup
 more than 2 GB onto a Windows share (on a Win2K box) (see
 messages earlier in this forum - I have to backup a 66 GB
 file out of database).

% 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:\Temprexec p92 cd /local;tar cbf 64 - pst  here.tar
%   Name (p92.p.n.d.d:root):
%   Password (p92.p.n.d.d:root):
%   C:\Tempdir here.tar
%   Medium in Drive C: No designation
%   Medium srl. no.: 582D-A5D8
%   Directory C:\Temp
%   20.11.2003  14:172.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 thenRegards
Carsten Löffler
Email: [EMAIL PROTECTED]
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba


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

2003-11-20 Thread Dragan Krnic
 I'm still having that problem that my samba cannot backup 
 more than 2 GB onto a Windows share (on a Win2K box) (see 
 messages earlier in this forum - I have to backup a 66 GB 
 file out of database).

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:\Temprexec p92 cd /local;tar cbf 64 - pst  here.tar
   Name (p92.p.n.d.d:root):
   Password (p92.p.n.d.d:root):
   C:\Tempdir here.tar
   Medium in Drive C: No designation
   Medium srl. no.: 582D-A5D8
   Directory C:\Temp
   20.11.2003  14:172.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.
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba


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

2003-11-20 Thread Frank Schlottmann-Goedde
John H Terpstra schrieb:
On Thu, 20 Nov 2003, Stefan G. Weichinger wrote:

I do not want to nit pick, but please note that smbfs is not samba.
smbfs is a kernel driver in Linux.
smbclient is part of Samba. You should be able to use it to backup your
files to a Win2K system and it should not be 2GB limited.
Would be nice though if one could tar to a w2k share :-)

Frank

--
Fascinating creatures, phoenixes, they can carry immensely heavy loads,
  their tears have healing powers and they make highly faithful pets.
  - J.K. Rowling
--
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba


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

2003-11-20 Thread John H Terpstra
On Thu, 20 Nov 2003, Frank Schlottmann-Goedde wrote:

 John H Terpstra schrieb:
  On Thu, 20 Nov 2003, Stefan G. Weichinger wrote:
 
  I do not want to nit pick, but please note that smbfs is not samba.
  smbfs is a kernel driver in Linux.
 
  smbclient is part of Samba. You should be able to use it to backup your
  files to a Win2K system and it should not be 2GB limited.

 Would be nice though if one could tar to a w2k share :-)

Yep. That's what smbtar does. :)

-John T.
-- 
John H Terpstra
Email: [EMAIL PROTECTED]
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba


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

2003-11-20 Thread Frank Schlottmann-Goedde
John H Terpstra schrieb:

Yep. That's what smbtar does. :)
Seems that I'm to dumb to figure out how it works,
it looks like  a one way street (to dump smb shares to tar archives) to me.
Frank
--
Fascinating creatures, phoenixes, they can carry immensely heavy loads,
  their tears have healing powers and they make highly faithful pets.
  - J.K. Rowling
--
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba