Problem with large files and smbclient -Tc
Michael Collin Nielsen
michael at hum.auc.dk
Mon Jun 11 11:22:46 GMT 2001
I'm trying to use smbclient and amanda to backup a win2000 server to my
tapestation which resides on a Sun450 running Solaris 2.7.
I've tryed with both 2.0.9 and 2.2.0 both gives me the following when
creating the backup tar file:
>smbclient //windows2k.mydomain.dk/backup -U user%passwd -T c backup.tar
added interface .... [snip]
Domain=[ITF] OS=[Windows 5.0] Server=[Windows 2000 LAN Manager]
directory \GHOST\
602893 ( 2571.0 kb/s) \GHOST\GHOST.EXE
8092 ( 607.9 kb/s) \GHOST\SYSTEM.GHO
3061 ( 93.4 kb/s) \GHOST.ERR
3944247 ( 3323.4 kb/s) \FC1.GHO
-2023426048 ( 3107.2 kb/s) \Backup.bkf
2551296 ( 2893.7 kb/s) \f_x86t32.exe
directory \WinZip\
24644 ( 962.7 kb/s) \WinZip\WZSHLSTB.DLL
1902 ( 42.2 kb/s) \WinZip\README.TXT
299 ( 73.0 kb/s) \WinZip\WINZIP.TXT
9654 ( 1346.8 kb/s) \WinZip\LICENSE.TXT
4024 ( 785.9 kb/s) \WinZip\VENDOR.TXT
9495 ( 843.0 kb/s) \WinZip\WHATSNEW.TXT
436 ( 71.0 kb/s) \WinZip\FILE_ID.DIZ
8655 ( 1207.4 kb/s) \WinZip\ORDER.TXT
116030 ( 1888.5 kb/s) \WinZip\WZINST.HLP
106020 ( 1725.6 kb/s) \WinZip\WZWIZARD.HLP
93722 ( 1830.5 kb/s) \WinZip\WZTUTOR.HLP
476876 ( 2661.1 kb/s) \WinZip\WINZIP.HLP
3919 ( 765.4 kb/s) \WinZip\WINZIP.CNT
77892 ( 2716.7 kb/s) \WinZip\WZSHLEX1.DLL
57407 ( 3114.5 kb/s) \WinZip\WZCAB3.DLL
49217 ( 2089.7 kb/s) \WinZip\WZVINFO.DLL
106564 ( 3357.0 kb/s) \WinZip\WZZPMAIL.DLL
270390 ( 3181.4 kb/s) \WinZip\WZ32.DLL
190976 ( 3330.4 kb/s) \WinZip\WZSEPE32.EXE
13346 ( 1861.9 kb/s) \WinZip\WZQKSTRT.RTF
1157 ( 282.5 kb/s) \WinZip\WZ.PIF
2339 ( 571.0 kb/s) \WinZip\WZ.COM
1753 ( 570.6 kb/s) \WinZip\EXAMPLE.ZIP
65536 ( 2206.9 kb/s) \WinZip\WZCAB.DLL
1425471 ( 2375.5 kb/s) \WinZip\WINZIP32.EXE
tar: dumped 33 files and directories
Total bytes written: 2281778176
which seems a bit odd, the \Backup.bkf file is reported to be
of size -2023426048k
When trying to restore the files (to another win2000 server) I get the
following error:
>smbclient //another2k.mydomain.dk/restore -U user%passwd -T x backup.tar
added interface... [snip]
Domain=[ARBEJDSGRUPPE] OS=[Windows 5.0] Server=[Windows 2000 LAN Manager]
restore directory \GHOST\
restore tar file \GHOST\GHOST.EXE of size 602893 bytes
restore tar file \GHOST\SYSTEM.GHO of size 8092 bytes
restore tar file \GHOST.ERR of size 3061 bytes
restore tar file \FC1.GHO of size 3944247 bytes
restore tar file \Backup.bkf of size -2023426048 bytes
checksums don't match 0 1633
abandoning restore, -1 from read tar header
Testing with GNU tar gives:
>gtar tvf backup.tar
drwxr-xr-x 0/0 0 2001-05-17 14:55 ./GHOST/
-rw-r--r-- 0/0 602893 1998-08-25 09:38 ./GHOST/GHOST.EXE
-rw-r--r-- 0/0 8092 2001-05-17 15:01 ./GHOST/SYSTEM.GHO
-rw-r--r-- 0/0 3061 2001-05-17 15:39 ./GHOST.ERR
-rw-r--r-- 0/0 3944247 2001-05-17 15:37 ./FC1.GHO
-rw-r--r-- 0/0 6566508544 2001-06-10 22:09 ./Backup.bkf
gtar: Unexpected EOF on archive file
gtar: Error is not recoverable: exiting now
the x option gives me approx the same:
>gtar xvf fildirektefrafc.tar
./GHOST/
./GHOST/GHOST.EXE
./GHOST/SYSTEM.GHO
./GHOST.ERR
./FC1.GHO
./Backup.bkf
gtar: Unexpected EOF on archive file
gtar: Error exit delayed from previous errors
Does smbclient have a problem with files greater than 2G ? (the Backup.bfk
file is approx. 2,2G) I have seen some reports of that beeing the case,
but no workarounds or things that can get me out of this mess...
Anyone ?
Regards
-Michael
--
Michael Collin Nielsen mailto:michael at hum.auc.dk
M.Sc.E.E. http://www.hum.auc.dk/~michael
Sysadm in Faculty of Humanities, Aalborg University
More information about the samba-technical
mailing list