Trouble getting SAMBA to work with AMANDA
2002-12-05 15:34:07
Greetings everyone,
I am hoping someone can see what I am doing wrong. I have scoured
the list archives for an answer, but have had no luck so far. I have
an otherwise working setup for all my *nix clients. I am using a
separate test configuration to troubleshoot as I can't get my Windows
clients backed up in my regular setup.
If anyone can look at this and give me a clue, I'd really appreciate it!
Please let me know if I need to provide more information.
Thanks!
Here's my configuration & log information:
------------------------------------------------------------------
-> Computers involved
------------------------------------------------------------------
Amanda Server =
"garfield" - Red Hat Linux v7.2 & Amanda v2.4.3
Amanda Client / Samba Host =
"zeus" - Red Hat Linux v7.2 & Amanda v2.4.3 & SAMBA v2.2.1a-4
Windows Client #1 =
"frenchfry" - Windows 98SE (Shared C:\barcode)
Windows Client #2 =
"meggie" - Windows 2000 (Shared C:\ known as "c$")
------------------------------------------------------------------
-> Disklist on garfield
------------------------------------------------------------------
zeus //frenchfry/barcode nocomp-user-tar
zeus //meggie/c$ nocomp-user-tar
------------------------------------------------------------------
-> dumptype from amanda.conf on garfield
------------------------------------------------------------------
define dumptype nocomp-user-tar {
program "GNUTAR"
comment "user partitions dumped with tar and no compression"
options no-compress
priority medium
}
------------------------------------------------------------------
-> /etc/amandapass from zeus
------------------------------------------------------------------
//meggie/c$ backup%amanda WORKGROUP
//frenchfry/barcode backup%amanda
------------------------------------------------------------------
-> result of "amcheck skytest" on garfield (no tape in drive)
------------------------------------------------------------------
Amanda Tape Server Host Check
-----------------------------
Holding disk /space/scsi1/amanda/dumps_test: 6018912 KB disk space
available, that's plenty
ERROR: /dev/nst0: rewinding tape: No medium found
(expecting a new tape)
NOTE: skipping tape-writable test
NOTE: info dir /var/lib/amanda/skytest/curinfo: does not exist
NOTE: it will be created on the next run
Server check took 30.110 seconds
Amanda Backup Client Hosts Check
--------------------------------
Client check: 1 host checked in 0.680 seconds, 0 problems found
(brought to you by Amanda 2.4.3)
------------------------------------------------------------------
-> backup report from garfield showing failed attempt
------------------------------------------------------------------
*** A TAPE ERROR OCCURRED: [rewinding tape: No medium found].
Some dumps may have been left in the holding disk.
Run amflush to flush them to tape.
The next tape Amanda expects to use is: a new tape.
FAILURE AND STRANGE DUMP SUMMARY:
zeus //frenchfry/barcode lev 0 FAILED [can't switch to incremental dump]
zeus //meggie/c$ lev 0 FAILED [can't switch to incremental dump]
STATISTICS:
Total Full Daily
-------- -------- --------
Estimate Time (hrs:min) 0:03
Run Time (hrs:min) 0:03
Dump Time (hrs:min) 0:00 0:00 0:00
Output Size (meg) 0.0 0.0 0.0
Original Size (meg) 0.0 0.0 0.0
Avg Compressed Size (%) -- -- --
Filesystems Dumped 0 0 0
Avg Dump Rate (k/s) -- -- --
Tape Time (hrs:min) 0:00 0:00 0:00
Tape Size (meg) 0.0 0.0 0.0
Tape Used (%) 0.0 0.0 0.0
Filesystems Taped 0 0 0
Avg Tp Write Rate (k/s) -- -- --
NOTES:
planner: Adding new disk zeus://frenchfry/barcode.
planner: Adding new disk zeus://meggie/c$.
DUMP SUMMARY:
DUMPER STATS TAPER STATS
HOSTNAME DISK L ORIG-KB OUT-KB COMP% MMM:SS KB/s MMM:SS KB/s
-------------------------- --------------------------------- ------------
zeus -ry/barcode 0 FAILED ---------------------------------------
zeus //meggie/c$ 0 FAILED ---------------------------------------
(brought to you by Amanda version 2.4.3)
------------------------------------------------------------------
-> selfcheck.*.debug from /tmp/amanda on zeus
------------------------------------------------------------------
selfcheck: debug 1 pid 25911 ruid 33 euid 33: start at Thu Dec 5 14:18:29 2002
/usr/local/libexec/selfcheck: version 2.4.3
selfcheck: time 0.000: checking disk //meggie/c$
selfcheck: time 0.000: spawning /usr/bin/smbclient in pipeline
selfcheck: argument list: smbclient \\meggie\c$ -U backup -E -W WORKGROUP -c
quit
selfcheck: time 0.360: disk "//meggie/c$" OK
selfcheck: time 0.360: amdevice "//meggie/c$" OK
selfcheck: time 0.360: device "\\meggie\c$" OK
selfcheck: time 0.360: extra info: added interface ip=10.0.0.65
bcast=10.0.0.255 nmask=255.255.255.0: Domain=[WORKGROUP] OS=[Windows 5.0]
Server=[Windows 2000 LAN Manager]
selfcheck: time 0.360: checking disk //frenchfry/barcode
selfcheck: time 0.360: spawning /usr/bin/smbclient in pipeline
selfcheck: argument list: smbclient \\frenchfry\barcode -U backup -E -c quit
selfcheck: time 0.642: disk "//frenchfry/barcode" OK
selfcheck: time 0.642: amdevice "//frenchfry/barcode" OK
selfcheck: time 0.642: device "\\frenchfry\barcode" OK
selfcheck: time 0.642: extra info: added interface ip=10.0.0.65
bcast=10.0.0.255 nmask=255.255.255.0
selfcheck: time 0.643: pid 25911 finish time Thu Dec 5 14:18:30 2002
------------------------------------------------------------------
-> sendsize.*.debug from /tmp/amanda on zeus
------------------------------------------------------------------
sendsize: debug 1 pid 24377 ruid 33 euid 33: start at Thu Dec 5 14:02:39 2002
sendsize: version 2.4.3
sendsize[24377]: time 0.013: waiting for any estimate child
sendsize[24379]: time 0.013: calculating for amname '//frenchfry/barcode',
dirname '//frenchfry/barcode', spindle -1
sendsize[24379]: time 0.013: getting size via smbclient for //frenchfry/barcode
level 0
sendsize[24379]: time 0.013: spawning /usr/bin/smbclient in pipeline
sendsize[24379]: argument list: smbclient \\frenchfry\barcode -d 0 -U backup -E
-c "archive 0;recurse;du"
sendsize[24379]: time 0.027: added interface ip=10.0.0.65 bcast=10.0.0.255
nmask=255.255.255.0
sendsize[24379]: time 0.292:
sendsize[24379]: time 0.293: 38919 blocks of size 524288. 34267
blocks available
sendsize[24379]: time 0.294: Total number of bytes: 1236989
sendsize[24379]: time 0.295: .....
sendsize[24379]: estimate time for //frenchfry/barcode level 0: 0.282
sendsize[24379]: estimate size for //frenchfry/barcode level 0: 1208 KB
sendsize[24379]: time 0.295: waiting for /usr/bin/smbclient
"//frenchfry/barcode" child
sendsize[24379]: time 0.295: after /usr/bin/smbclient "//frenchfry/barcode" wait
sendsize[24379]: time 0.296: done with amname '//frenchfry/barcode', dirname
'//frenchfry/barcode', spindle -1
sendsize[24377]: time 0.296: child 24379 terminated normally
sendsize[24377]: time 0.296: waiting for any estimate child
sendsize[24381]: time 0.296: calculating for amname '//meggie/c$', dirname
'//meggie/c$', spindle -1
sendsize[24381]: time 0.296: getting size via smbclient for //meggie/c$ level 0
sendsize[24381]: time 0.297: spawning /usr/bin/smbclient in pipeline
sendsize[24381]: argument list: smbclient \\meggie\c$ -d 0 -U backup -E -W
WORKGROUP -c "archive 0;recurse;du"
sendsize[24381]: time 0.304: added interface ip=10.0.0.65 bcast=10.0.0.255
nmask=255.255.255.0
sendsize[24381]: time 193.381:
sendsize[24381]: time 193.382: 38170 blocks of size 524288. 18758
blocks available
sendsize[24381]: time 193.383: Total number of bytes: 8536530264
sendsize[24381]: time 193.384: .....
sendsize[24381]: estimate time for //meggie/c$ level 0: 193.087
sendsize[24381]: estimate size for //meggie/c$ level 0: 8336456 KB
sendsize[24381]: time 193.384: waiting for /usr/bin/smbclient "//meggie/c$"
child
sendsize[24381]: time 193.384: after /usr/bin/smbclient "//meggie/c$" wait
sendsize[24381]: time 193.385: done with amname '//meggie/c$', dirname
'//meggie/c$', spindle -1
sendsize[24377]: time 193.385: child 24381 terminated normally
sendsize: time 193.385: pid 24377 finish time Thu Dec 5 14:05:52 2002
------------------------------------------------------------------
-> amandad.*.debug (1 of 2 generated) from /tmp/amanda on zeus
------------------------------------------------------------------
amandad: debug 1 pid 25909 ruid 33 euid 33: start at Thu Dec 5 14:18:29 2002
amandad: version 2.4.3
amandad: build: VERSION="Amanda-2.4.3"
amandad: BUILT_DATE="Thu Dec 5 11:17:51 EST 2002"
amandad: BUILT_MACH="Linux zeus 2.4.18-18.7.x #1 Wed Nov 13 20:29:30 EST
2002 i686 unknown"
amandad: CC="gcc"
amandad: CONFIGURE_COMMAND="'./configure' '--with-user=amanda'
'--with-group=disk'"
amandad: paths: bindir="/usr/local/bin" sbindir="/usr/local/sbin"
amandad: libexecdir="/usr/local/libexec" mandir="/usr/local/man"
amandad: AMANDA_TMPDIR="/tmp/amanda" AMANDA_DBGDIR="/tmp/amanda"
amandad: CONFIG_DIR="/usr/local/etc/amanda" DEV_PREFIX="/dev/"
amandad: RDEV_PREFIX="/dev/" DUMP="/sbin/dump"
amandad: RESTORE="/sbin/restore" SAMBA_CLIENT="/usr/bin/smbclient"
amandad: GNUTAR="/bin/gtar" COMPRESS_PATH="/bin/gzip"
amandad: UNCOMPRESS_PATH="/bin/gzip" MAILER="/usr/bin/Mail"
amandad: listed_incr_dir="/usr/local/var/amanda/gnutar-lists"
amandad: defs: DEFAULT_SERVER="zeus" DEFAULT_CONFIG="DailySet1"
amandad: DEFAULT_TAPE_SERVER="zeus" DEFAULT_TAPE_DEVICE="/dev/null"
amandad: HAVE_MMAP HAVE_SYSVSHM LOCKING=POSIX_FCNTL SETPGRP_VOID
amandad: DEBUG_CODE AMANDA_DEBUG_DAYS=4 BSD_SECURITY USE_AMANDAHOSTS
amandad: CLIENT_LOGIN="amanda" FORCE_USERID HAVE_GZIP
amandad: COMPRESS_SUFFIX=".gz" COMPRESS_FAST_OPT="--fast"
amandad: COMPRESS_BEST_OPT="--best" UNCOMPRESS_OPT="-dc"
amandad: time 0.000: got packet:
--------
Amanda 2.4 REQ HANDLE 000-A0AA0808 SEQ 1039115909
SECURITY USER amanda
SERVICE noop
OPTIONS features=fffffeff9f00;
--------
amandad: time 0.000: sending ack:
----
Amanda 2.4 ACK HANDLE 000-A0AA0808 SEQ 1039115909
----
amandad: time 0.001: bsd security: remote host garfield user amanda local user
amanda
amandad: time 0.001: amandahosts security check passed
amandad: time 0.001: running service "noop"
amandad: time 0.002: sending REP packet:
----
Amanda 2.4 REP HANDLE 000-A0AA0808 SEQ 1039115909
OPTIONS features=fffffeff9f00;
----
amandad: time 0.008: got packet:
----
Amanda 2.4 ACK HANDLE 000-A0AA0808 SEQ 1039115909
----
amandad: time 0.008: pid 25909 finish time Thu Dec 5 14:18:29 2002
------------------------------------------------------------------
-> amandad.*.debug (2 of 2 generated) from /tmp/amanda on zeus
------------------------------------------------------------------
amandad: debug 1 pid 25910 ruid 33 euid 33: start at Thu Dec 5 14:18:29 2002
amandad: version 2.4.3
amandad: build: VERSION="Amanda-2.4.3"
amandad: BUILT_DATE="Thu Dec 5 11:17:51 EST 2002"
amandad: BUILT_MACH="Linux zeus 2.4.18-18.7.x #1 Wed Nov 13 20:29:30 EST
2002 i686 unknown"
amandad: CC="gcc"
amandad: CONFIGURE_COMMAND="'./configure' '--with-user=amanda'
'--with-group=disk'"
amandad: paths: bindir="/usr/local/bin" sbindir="/usr/local/sbin"
amandad: libexecdir="/usr/local/libexec" mandir="/usr/local/man"
amandad: AMANDA_TMPDIR="/tmp/amanda" AMANDA_DBGDIR="/tmp/amanda"
amandad: CONFIG_DIR="/usr/local/etc/amanda" DEV_PREFIX="/dev/"
amandad: RDEV_PREFIX="/dev/" DUMP="/sbin/dump"
amandad: RESTORE="/sbin/restore" SAMBA_CLIENT="/usr/bin/smbclient"
amandad: GNUTAR="/bin/gtar" COMPRESS_PATH="/bin/gzip"
amandad: UNCOMPRESS_PATH="/bin/gzip" MAILER="/usr/bin/Mail"
amandad: listed_incr_dir="/usr/local/var/amanda/gnutar-lists"
amandad: defs: DEFAULT_SERVER="zeus" DEFAULT_CONFIG="DailySet1"
amandad: DEFAULT_TAPE_SERVER="zeus" DEFAULT_TAPE_DEVICE="/dev/null"
amandad: HAVE_MMAP HAVE_SYSVSHM LOCKING=POSIX_FCNTL SETPGRP_VOID
amandad: DEBUG_CODE AMANDA_DEBUG_DAYS=4 BSD_SECURITY USE_AMANDAHOSTS
amandad: CLIENT_LOGIN="amanda" FORCE_USERID HAVE_GZIP
amandad: COMPRESS_SUFFIX=".gz" COMPRESS_FAST_OPT="--fast"
amandad: COMPRESS_BEST_OPT="--best" UNCOMPRESS_OPT="-dc"
amandad: time 0.000: got packet:
--------
Amanda 2.4 REQ HANDLE 000-68AF0808 SEQ 1039115910
SECURITY USER amanda
SERVICE selfcheck
OPTIONS features=fffffeff9f00;maxdumps=1;hostname=zeus;
GNUTAR //meggie/c$ 0 OPTIONS |;auth=bsd;
GNUTAR //frenchfry/barcode 0 OPTIONS |;auth=bsd;
--------
amandad: time 0.000: sending ack:
----
Amanda 2.4 ACK HANDLE 000-68AF0808 SEQ 1039115910
----
amandad: time 0.001: bsd security: remote host garfield user amanda local user
amanda
amandad: time 0.001: amandahosts security check passed
amandad: time 0.001: running service "/usr/local/libexec/selfcheck"
amandad: time 0.651: sending REP packet:
----
Amanda 2.4 REP HANDLE 000-68AF0808 SEQ 1039115910
OPTIONS features=fffffeff9f00;
OK //meggie/c$
OK //meggie/c$
OK \\meggie\c$
OK //frenchfry/barcode
OK //frenchfry/barcode
OK \\frenchfry\barcode
OK /bin/gtar executable
OK /etc/amandates read/writable
OK /usr/local/var/amanda/gnutar-lists/. read/writable
OK /usr/bin/smbclient executable
OK [/etc/amandapass is readable, but not by all]
OK /bin/gzip executable
OK /dev/null read/writable
OK /tmp/amanda has more than 64 KB available.
OK /tmp/amanda has more than 64 KB available.
OK /etc has more than 64 KB available.
----
amandad: time 0.653: got packet:
----
Amanda 2.4 ACK HANDLE 000-68AF0808 SEQ 1039115910
----
amandad: time 0.653: pid 25910 finish time Thu Dec 5 14:18:30 2002
------------------------------------------------------------------
--
+----------------------------------------------------------------+
| Jeffery Smith - Systems Administrator - smith AT skycomputers DOT com |
| Sky Computers, Inc. (www.skycomputers.com) |
+----------------------------------------------------------------+
|
|
|