John R. Jackson wrote:

>>using an IBM SCSI tape drive with DDS4 cartridges.  I have confirmed
>>that the tape drive is working when I use it manually (ie: I can read
>>and write to /dev/sa0).
>>
> 
> Is this the device name you gave Amanda?  Are you sure it's the no-rewind
> name (I would expect an 'n' in it someplace, e.g. /dev/nsa0)?


No, I gave amanda the name nsa0.


>>driver: result time 40.863 from taper:
>>...
>>writing taper command: Broken pipe
>>
> 
> This sequence is bad.  It implies taper died rather abruptly.
> 
> Do you have any core files in /tmp/amanda, in particular ones from taper?
> If so, can you run gdb on one of them and taper and get a stack traceback
> ("where")?  If all you get are addresses and not source files and line
> numbers, can you rebuild Amanda with -g on the cc line to keep the debug
> info and try it again?


There are no core files anywhere.  Nothing from the taper.  I'm so 
confused.  Here are the files amanda left:

amnesiac:263[/tmp/amanda]$ ls
amandad.20010619140339.debug    killpgrp.20010619140342.debug 
sendsize.20010619140339.debug
amtrmidx.20010619140420.debug   runtar.20010619140339.debug
amtrmlog.20010619140420.debug   runtar.20010619140340.debug

And their outputs (the ones I didn't include in the first message...)

amnesiac:264[/tmp/amanda]$ cat runtar.20010619140339.debug
runtar: debug 1 pid 94656 ruid 2 euid 0 start time Tue Jun 19 14:03:39 2001
/usr/local/bin/gtar: version 2.4.2p2
running: /usr/local/bin/gtar: /usr/local/bin/gtar --create --directory / 
--listed-incremental /usr/local/var/amanda/gnutar-lists/amnesiac__0.new 
--sparse --one-file-system --ignore-failed-read --totals --file 
/dev/null --exclude-from /usr/local/etc/amanda/exclude.gtar .
amnesiac:265[/tmp/amanda]$ cat runtar.20010619140340.debug
runtar: debug 1 pid 94657 ruid 2 euid 0 start time Tue Jun 19 14:03:40 2001
/usr/local/bin/gtar: version 2.4.2p2
running: /usr/local/bin/gtar: /usr/local/bin/gtar --create --directory 
/var --listed-incremental 
/usr/local/var/amanda/gnutar-lists/amnesiac_var_0.new --sparse 
--one-file-system --ignore-failed-read --totals --file /dev/null 
--exclude-from /usr/local/etc/amanda/exclude.gtar .
amnesiac:266[/tmp/amanda]$ cat killpgrp.20010619140342.debug
killpgrp: debug 1 pid 94658 ruid 2 euid 0 start time Tue Jun 19 14:03:42 
2001
/usr/local/libexec/amanda/killpgrp: version 2.4.2p2
sending SIGTERM to process group 94658
child process exited with status 3
amnesiac:267[/tmp/amanda]$ cat amtrmlog.20010619140420.debug
amtrmlog: debug 1 pid 94681 ruid 2 euid 2 start time Tue Jun 19 14:04:20 
2001
/usr/local/libexec/amanda/amtrmlog: version 2.4.2p2
Keeping 2 log files
amtrmlog: pid 94681 finish time Tue Jun 19 14:04:20 2001
amnesiac:268[/tmp/amanda]$ cat amtrmidx.20010619140420.debug
amtrmidx: debug 1 pid 94682 ruid 2 euid 2 start time Tue Jun 19 14:04:20 
2001
/usr/local/libexec/amanda/amtrmidx: version 2.4.2p2
Keeping 2 index files
amnesiac /
amnesiac /var
amtrmidx: pid 94682 finish time Tue Jun 19 14:04:20 2001

Oh, and one more:

amnesiac:196[/usr/local/var]$ cat log.20010619.0
START driver date 20010619
START planner date 20010619
INFO planner Adding new disk amnesiac:/.
INFO planner Adding new disk amnesiac:/var.
FATAL taper shmget: (983160 tapebufs) Cannot allocate memory
INFO planner Adding new disk amnesiac:/usr.
FINISH planner date 20010619
STATS driver startup time 40.863
FAIL driver amnesiac / 0 [can't switch to incremental dump]
FAIL driver amnesiac /var 0 [can't switch to incremental dump]
FAIL driver amnesiac /usr 0 [can't switch to incremental dump]
FINISH driver date 20010619 time 40.865

I just noticed the Cannot allocate memory message.  Could that be the 
problem?  If so, what do I do about it?

Thanks once again.

-- 
Dan Diephouse <http://www.compassarts.org/>

Reply via email to