Re: Trouble getting SAMBA to work with AMANDA
2002-12-06 13:06:15
Hi Tom,
Thanks for that command. I tried it out and don't see any problems
right off. Here are the results:
------------------------------------------------------------------
[amanda@zeus /]# smbclient '\\frenchfry\barcode' amanda -d 3 -U backup
-c 'recurse;dir'
added interface ip=10.0.0.65 bcast=10.0.0.255 nmask=255.255.255.0
Client started (version 2.2.1a).
resolve_lmhosts: Attempting lmhosts lookup for name frenchfry<0x20>
resolve_hosts: Attempting host lookup for name frenchfry<0x20>
Connecting to 10.0.0.3 at port 139
directory recursion is now on
received 3 entries (eos=1)
. D 0 Tue Feb 26 15:08:46 2002
.. D 0 Tue Feb 26 15:08:46 2002
filecopy D 0 Fri Apr 5 09:38:28 2002
\filecopy
received 9 entries (eos=1)
. D 0 Fri Apr 5 09:38:28 2002
.. D 0 Fri Apr 5 09:38:28 2002
cmdlist.txt A 747 Wed Aug 11 15:34:14 1999
AUTOLOG.TXT A 233 Tue Feb 26 15:30:24 2002
EXE2ABS.EXE A 17793 Thu Apr 29 11:21:30 1999
t24fcopy.exe A 604160 Tue Jan 16 15:16:14 2001
itcfc.dll A 81920 Thu May 20 11:56:12 1999
FileCopy4.3.exe A 531607 Tue Feb 26 15:09:48 2002
IMFILECP.INI A 529 Mon Aug 19 09:56:22 2002
38919 blocks of size 524288. 34291 blocks available
Total bytes listed: 1236989
------------------------------------------------------------------
It looks to me like SAMBA is working properly. I can mount the share
and the smbclient command works fine for reporting the size. I was also
seeing the size reported correctly in the Amanda logs.
Jeff
On Thu, 2002-12-05 at 17:35, Tom Schutter wrote:
> I pulled this comment from my disklist file:
> # PCs via Samba
> # If you edit this section, you must also edit ./amandapass
> # To test a new entry, use the commands:
> # smbclient '\\HOST\backup' PASSWORD -d 3 -U USER -c 'recurse;dir'
> # amcheck -c daily
>
> The smbclient command is what the estimation phase sends to the PC.
> By running it from a command prompt, you usually can find the problem.
> Don't forget to replace HOST, PASSWORD, and USER when running the
> command.
>
--
+----------------------------------------------------------------+
| Jeffery Smith - Systems Administrator - smith AT skycomputers DOT com |
| Sky Computers, Inc. (www.skycomputers.com) |
+----------------------------------------------------------------+
|
|
|