Greetings,
I got a working Amanda configuration and now my company wants to backup
the data on their windows machines; I tested samba using the tool
'smbclient' and so far i managed to tar a shared drive:
smbclient //10.1.20.26/MyDocuments -WMYDOMAIN -A auth -N -TXc backup.tar
'My Music' 'My Pictures' 'Personal' 'Messenger Service Received Files'
'./downloads'
(this command works just fine)
Also amcheck looks good, here is the debug trace:
selfcheck: debug 1 pid 26920 ruid 31 euid 31 start time Thu Mar 6
18:11:23 2003
/home/amanda/libexec/selfcheck: version 2.4.3b3
selfcheck: checking disk //10.1.20.44/MyDocuments2
selfcheck: spawning /usr/bin/smbclient in pipeline
selfcheck: argument list: smbclient \\10.1.20.44\MyDocuments2 -U backup
-E -W MY_DOMAIN -c quit
selfcheck: OK
selfcheck: extra info: added interface ip=10.1.20.107 bcast=10.1.20.255
nmask=255.255.255.0: session request to 10.1.20.44 failed (Called name
not present): session request to 10 failed (Called name not present):
Domain=[MY_DOMAIN] OS=[Windows 5.1] Server=[Windows 2000 LAN Manager]
selfcheck: checking disk //10.1.20.44/MyDocuments
selfcheck: spawning /usr/bin/smbclient in pipeline
selfcheck: argument list: smbclient \\10.1.20.44\MyDocuments -U backup
-E -W MY_DOMAIN -c quit
selfcheck: OK
selfcheck: extra info: added interface ip=10.1.20.107 bcast=10.1.20.255
nmask=255.255.255.0: session request to 10.1.20.44 failed (Called name
not present): session request to 10 failed (Called name not present):
Domain=[MY_DOMAIN] OS=[Windows 5.1] Server=[Windows 2000 LAN Manager]
selfcheck: checking disk //10.1.20.46/MyDocuments
selfcheck: spawning /usr/bin/smbclient in pipeline
selfcheck: argument list: smbclient \\10.1.20.46\MyDocuments -U
administrator -E -W MY_DOMAIN -c quit
selfcheck: OK
selfcheck: extra info: added interface ip=10.1.20.107 bcast=10.1.20.255
nmask=255.255.255.0: session request to 10.1.20.46 failed (Called name
not present): session request to 10 failed (Called name not present):
Domain=[MY_DOMAIN] OS=[Windows 5.0] Server=[Windows 2000 LAN Manager]
selfcheck: checking disk //10.1.20.43/MyDocuments
selfcheck: spawning /usr/bin/smbclient in pipeline
selfcheck: argument list: smbclient \\10.1.20.43\MyDocuments -U backup
-E -W MY_DOMAIN -c quit
selfcheck: OK
selfcheck: extra info: added interface ip=10.1.20.107 bcast=10.1.20.255
nmask=255.255.255.0: session request to 10.1.20.43 failed (Called name
not present): session request to 10 failed (Called name not present):
Domain=[MY_DOMAIN.COM] OS=[Windows 5.0] Server=[Windows 2000 LAN
Manager]
selfcheck: checking disk //10.1.20.40/MyDocuments
selfcheck: spawning /usr/bin/smbclient in pipeline
selfcheck: argument list: smbclient \\10.1.20.40\MyDocuments -U backup
-E -W MY_DOMAIN -c quit
selfcheck: OK
selfcheck: extra info: added interface ip=10.1.20.107 bcast=10.1.20.255
nmask=255.255.255.0: session request to 10.1.20.40 failed (Called name
not present): session request to 10 failed (Called name not present):
Domain=[MY_DOMAIN] OS=[Windows 5.0] Server=[Windows 2000 LAN Manager]
selfcheck: pid 26920 finish time Thu Mar 6 18:11:27 2003
But when i try to backup the server from amanda i got a weird message:
[amanda@linux0107 NEWBREAK_TAPE]$ amstatus MY_CONFIG
Using /home/amanda/MY_CONFIG/logs/amdump from Thu Mar 6 20:00:29 EST
2003
arbitrage:/dev/dsk/c0t0d0s0 1 244k dumping 0k (20:08:00)
arbitrage:/dev/dsk/c0t0d0s5 0 802352k wait for dumping
linux0107://10.1.20.40/MyDocuments 0 planner: [badly formatted response
from linux0107]
linux0107://10.1.20.43/MyDocuments 0 planner: [badly formatted response
from linux0107]
linux0107://10.1.20.44/MyDocuments 0 planner: [badly formatted response
from linux0107]
linux0107://10.1.20.44/MyDocuments2 0 planner: [badly formatted response
from linux0107]
linux0107://10.1.20.46/MyDocuments 0 planner: [badly formatted response
from linux0107]
lnxdev0002:/apps 2 19839k wait for dumping
lnxdev0002:/data 1 22k dump done (20:07:41), wait for writing
to tape
lnxdev0002:/etc 1 14k dump done (20:07:42), wait for writing
to tape
lnxdev0002:/export 3 244765k wait for dumping
lnxdev0002:/home/cvs/repository 1 219k dump done (20:07:44), wait
for writing to tape
lnxdev0002:/usr/java 1 49k dump done (20:07:47), wait for writing
to tape
lnxdev0002:/var 1 3362k dump done (20:08:00), wait for writing
to tape
lnxdev0003:/usr/local/tutos 1 5k dump done (20:07:52), wait for
writing to tape
lnxdev0003:/var/lib/pgsql/backups 1 36k dump done (20:07:49), wait
for writing to tape
SUMMARY part real estimated
size size
partition : 16
estimated : 11 1073307k
flush : 0 0k
failed : 5 0k ( 0.00%)
wait for dumping: 3 1066956k ( 99.41%)
dumping to tape : 0 0k ( 0.00%)
dumping : 1 0k 244k ( 0.00%) ( 0.00%)
dumped : 7 3707k 6107k ( 60.70%) ( 0.35%)
wait for writing: 7 3707k 6107k ( 60.70%) ( 0.35%)
wait to flush : 0 0k 0k (100.00%) ( 0.00%)
writing to tape : 0 0k 0k ( 0.00%) ( 0.00%)
failed to tape : 0 0k 0k ( 0.00%) ( 0.00%)
taped : 0 0k 0k ( 0.00%) ( 0.00%)
5 dumpers idle : not-idle
taper writing, tapeq: 0
network free kps: 2576
holding space : 13631488k (100.00%)
dumper0 busy : 0:00:13 ( 57.30%)
taper busy : 0:00:23 ( 99.83%)
0 dumpers busy : 0:00:00 ( 0.00%)
1 dumper busy : 0:00:23 (100.00%) not-idle: 0:00:23
(100.00%)
On the Sendsize debug file i got the following:
sendsize: debug 1 pid 27094 ruid 31 euid 31 start time Thu Mar 6
20:00:30 2003
/home/amanda/libexec/sendsize: version 2.4.3b3
REQ packet is bogus: extra text at end
sendsize: pid 27094 finish time Thu Mar 6 20:00:30 2003
I'm running Amanda 2.4.3b3 on Redhat Linux 7.2. Samba is 2.2.1a-4.
Does anyone else has seen this message?
Thanks in advance.
--
José Vicente Núñez Zuleta (josevnz at newbreak dot com)
Newbreak LLC System Administrator
http://www.newbreak.com
RHCE, SCJD, SCJP
|