Title: RE: Samba share offline?

I would guess that if you can use the smbclient command ("/usr/bin/smbclient '\\nitrous\backups' XXXXX -d 0 -U backup -E -c 'archive 0;recurse;du'") at a shell prompt and it works, the problem is in AMANADA, but if the command doesn't work, the problem is in SAMBA. You might also want to check the options AMANDA is using against your SAMBA docs. I'm using 2.0.6 here with no problems, I don't know what was changed in 2.0.7.


-----Original Message-----
From: Eric A. Sproul [mailto:[EMAIL PROTECTED]]
Sent: Monday, November 13, 2000 9:46 AM
To: [EMAIL PROTECTED]
Subject: Re: Samba share offline?


"Eric A. Sproul" wrote:
>
> "John R. Jackson" wrote:
> >
> > By "it" you mean Samba, right?  Because it's clearing giving Amanda
> > garbage and so isn't Amanda's fault.
>
> I guess so.  I have removed the rpm version and done a vanilla install
> of Samba 2.0.7 from source.
>
> >
> > Have you applied the patches on the Amanda web page (www.amanda.org)?
>
> Most of them seemed not to apply to the latest version, but I did apply
> samba2-20000418.diff and recompiled Amanda (also updating the location
> of smbclient).

Well that didn't work.  Amanda still reports a failure on that
partition, asking if it's offline.  However, sendsize.debug does look
different:

calculating for amname '//nitrous/backups', dirname '//nitrous/backups'
sendsize: getting size via smbclient for //nitrous/backups level 0
sendsize: running "/usr/bin/smbclient '\\nitrous\backups' XXXXX -d 0 -U
backup -E -c 'archive 0;recurse;du'"
added interface ip=xxx.xxx.xxx.xxx bcast=xxx.xxx.xxx.255
nmask=255.255.255.0

                34727 blocks of size 262144. 15501 blocks available
Total number of bytes: 514122752
.....
sendsize: pid 14191 finish time Mon Nov 13 01:45:27 2000


So the byte size is normal-looking but now it doesn't report the file
entries as it did before.  Is this a Samba issue?  If so I'll quit
bugging you guys...  ;^)

Eric

--
Eric Sproul, Systems Administrator
Cornerstone Networks Inc. (http://www.cstone.net)
-------------------------------------------------
Once we've got the bugs ironed out, we'll be running on flat bugs.

Reply via email to