Having problems with large files using smbclient

Jose Fernando Sanchez jfs at atlantic.net
Fri Jan 21 19:45:25 GMT 2000


I am using Samba 2.0.6 and FreeBSD 3.3-RELEASE #0

and I am having trouble backing up a file that is 6.82G's

Here is what I seen when I run smbclient:

> smbclient //DUBLIN/PLATBACK
added interface ip=209.208.0.57 bcast=209.208.0.255 nmask=255.255.255.0
Password: 
Domain=[WORKGROUP] OS=[Windows NT 4.0] Server=[NT LAN Manager 4.0]
smb: \> ls
  .                                   D        0  Thu Dec 30 04:16:31 1999
  ..                                  D        0  Thu Dec 30 04:16:31 1999
  master_backup.DAT                   A 13070464  Thu Dec 30 03:08:02 1999
  model_backup.DAT                    A   123008  Thu Dec 30 03:08:54 1999
  msdb2_backup.DAT                    A  1308800  Thu Dec 30 04:16:46 1999
  plat_dump4.DAT                      A 3031754880  Fri Jan 21 04:15:28
2000

                34985 blocks of size 262144. 5944 blocks available
smb: \> tar ca plat.tar
  13070464 (  572.0 kb/s) \master_backup.DAT
    123008 (  509.0 kb/s) \model_backup.DAT
   1308800 (  550.2 kb/s) \msdb2_backup.DAT
-1263212416 (  529.3 kb/s) \plat_dump4.DAT
tar: dumped 4 files and directories

First of all when I do an ls, the file sizes come up correctly except for
plat_dump4.DAT
which is in fact 7326722176 bytes long.  

When I try to do a test on the tar file that was created, I get the
following:

> tar -tvf plat.tar 
-rw-r--r-- 0/0        13070464 Dec 30 03:08 1999 ./master_backup.DAT
-rw-r--r-- 0/0          123008 Dec 30 03:08 1999 ./model_backup.DAT
-rw-r--r-- 0/0         1308800 Dec 30 04:16 1999 ./msdb2_backup.DAT
-rw-r--r-- 0/0     -1263212416 Jan 21 04:15 2000 ./plat_dump4.DAT
tar: Skipping to next file header...
> tar -xvf plat.tar 
./master_backup.DAT
./model_backup.DAT
./msdb2_backup.DAT
./plat_dump4.DAT
tar: Skipping to next file header...
> ls -l plat_dump4.DAT 
-rw-r--r--  1 backup  operator  0 Jan 21 04:15 plat_dump4.DAT
> 






More information about the samba mailing list