* Jean-Francois Malouin <[EMAIL PROTECTED]> [20070620 06:52]:
> * Jean-Louis Martineau <[EMAIL PROTECTED]> [20070619 13:39]:
> > The '-d' option is ignored if you use a changer.
> > 
> > What is your tapedev? `amgetconf stk_80-conf2 tapedev`
> > Is it valid?
> 
> /opt/amanda/amanda2/sbin/amgetconf stk_80-conf2 tapedev
> /hw/tape/tps22d2nrnsv
> 
> > What's in the amfetchdump.*.debug?
> 
> No debug files for amfetchdump. That gave me the tip: I had
> seen this before on a test config. A mix of 2 different config
> apparantly as I found the amfetchdump.*.debug files in 
> /tmp/amanda-spantest/server/stk_80-conf2. My mistake.
> I distcleaned and recompiled from scratch just to be sure.
> I have appended the amfetchdump debug file just in case.
> amfetcdump just stops after reaching the end of the first tape:
> 
> ./icbm/inv_xfm/mni_icbm_00241_t1_nl_118_step4.xfm
> ./icbm/inv_xfm/mni_icbm_00241_t1_nl_118_step4_grid_0.mnc
> could not fsf /hw/tape/tps22d2nrnsv: No space left on device
> amfetchdump: could not fsf /hw/tape/tps22d2nrnsv: No space left on device
> /usr/freeware/bin/tar: Unexpected EOF in archive
> /usr/freeware/bin/tar: Unexpected EOF in archive
> /usr/freeware/bin/tar: Error is not recoverable: exiting now
> 
> I'm must be missing something right in front of my eyes...

Following on my previous post: here's what I get

/opt/amanda/amanda2/sbin/amfetchdump -p -l stk_80-conf2 yorick
/data/ipl/ipl10
20070630 -o stk_80-conf2 | /usr/freeware/bin/tar -xvGpf -
"(null)", line 0: Must specify a value for stk_80-conf2.

7 tape(s) needed for restoration
cc 
dd (null)
The following tapes are needed: stk_40-conf2-000017
stk_40-conf2-000018
stk_40-conf2-000019 stk_40-conf2-000020 stk_40-conf2-000014
stk_40-conf2-000015 stk_40-conf2-000001
Press enter when ready
ee (null)
ff /hw/tape/tps22d2nrnsv
gg /hw/tape/tps22d2nrnsv
Scanning stk_40-conf2-000017 (slot 28)

./broche/simul/spect/simset/refzubal_subject04/N2/Sim_9/Proj_weights_Sim_9_Scat.hdr
./broche/simul/spect/simset/refzubal_subject04/N2/Sim_9/Proj_weights_Sim_9_Scat.img.gz
could not fsf /hw/tape/tps22d2nrnsv: No space left on device
amfetchdump: could not fsf /hw/tape/tps22d2nrnsv: No space left on
device
/usr/freeware/bin/tar: Unexpected EOF in archive
/usr/freeware/bin/tar: Unexpected EOF in archive
/usr/freeware/bin/tar: Error is not recoverable: exiting now

I've attached the amfetchdump debug file.

jf

> 
> jf
> 
> > 
> > Jean-Louis
> > 
> > Jean-Francois Malouin wrote:
> > >with amanda-2.5.2p1 trying to pull the last full of a DLE
> > >using amfetchdump. All needed tapes are loaded in the library and I used
> > >amtape to load the first one. Same thing happens if I specify the tape
> > >device to amfetchdump '-d /hw/tape/tps22d2nrnsv' with or without '-a'.
> > >
> > ># /opt/amanda/amanda2/sbin/amfetchdump -p -a stk_80-conf2 \
> > >yorick /data/ipl/ipl10 20070616 | /usr/freeware/bin/tar -xvpf -
> > >6 tape(s) needed for restoration
> > >The following tapes are needed: stk_40-conf2-000028
> > >stk_40-conf2-000029 stk_40-conf2-000030 stk_40-conf2-000021
> > >stk_40-conf2-000032 stk_40-conf2-000022
> > >no tapedev specified
> > >amfetchdump: error reading file header: Bad file number
> > >Not an amanda tape
> > >Looking for tape stk_40-conf2-000028...
> > >no tapedev specified
> > >amfetchdump: error reading file header: Bad file number
> > >Not an amanda tape
> > >Looking for tape stk_40-conf2-000028...
> > >no tapedev specified
> > >amfetchdump: error reading file header: Bad file number
> > >Not an amanda tape
> > >Looking for tape stk_40-conf2-000028...
> > >no tapedev specified
> > >amfetchdump: error reading file header: Bad file number
> > >Not an amanda tape
> > >Looking for tape stk_40-conf2-000028...
> > >no tapedev specified
> > >amfetchdump: error reading file header: Bad file number
> > >Not an amanda tape
> > >Looking for tape stk_40-conf2-000028...
> > >no tapedev specified
> > >amfetchdump: error reading file header: Bad file number
> > >Not an amanda tape
> > >Looking for tape stk_40-conf2-000028...
> > >no tapedev specified
> > >amfetchdump: error reading file header: Bad file number
> > >Not an amanda tape
> > >Insert tape labeled stk_40-conf2-000028 in device (null) 
> > >and press enter, ^D to finish reading tapes
> > >
> > >
> > >thanks
> > >jf
> > >  
> 
> -- 
> <° ><

> amfetchdump: debug 1 pid 24434611 ruid 0 euid 0: start at Tue Jun 19 17:57:28 
> 2007
> amfetchdump: debug 1 pid 24434611 ruid 666 euid 666: rename at Tue Jun 19 
> 17:57:28 2007
> append_to_tapelist(tapelist=0, label='stk_40-conf2-000028', , file=56, 
> isafile=0)
> append_to_tapelist(tapelist=100a1930, label='stk_40-conf2-000028', , file=55, 
> isafile=0)
> append_to_tapelist(tapelist=100a1930, label='stk_40-conf2-000028', , file=54, 
> isafile=0)
> append_to_tapelist(tapelist=100a1930, label='stk_40-conf2-000028', , file=53, 
> isafile=0)
> append_to_tapelist(tapelist=100a1930, label='stk_40-conf2-000028', , file=52, 
> isafile=0)
> append_to_tapelist(tapelist=100a1930, label='stk_40-conf2-000028', , file=51, 
> isafile=0)
> append_to_tapelist(tapelist=100a1930, label='stk_40-conf2-000029', , file=11, 
> isafile=0)
> append_to_tapelist(tapelist=100a1930, label='stk_40-conf2-000029', , file=10, 
> isafile=0)
> append_to_tapelist(tapelist=100a1930, label='stk_40-conf2-000029', , file=9, 
> isafile=0)
> append_to_tapelist(tapelist=100a1930, label='stk_40-conf2-000029', , file=8, 
> isafile=0)
> append_to_tapelist(tapelist=100a1930, label='stk_40-conf2-000029', , file=7, 
> isafile=0)
> append_to_tapelist(tapelist=100a1930, label='stk_40-conf2-000029', , file=6, 
> isafile=0)
> append_to_tapelist(tapelist=100a1930, label='stk_40-conf2-000029', , file=5, 
> isafile=0)
> append_to_tapelist(tapelist=100a1930, label='stk_40-conf2-000029', , file=4, 
> isafile=0)
> append_to_tapelist(tapelist=100a1930, label='stk_40-conf2-000029', , file=3, 
> isafile=0)
> append_to_tapelist(tapelist=100a1930, label='stk_40-conf2-000029', , file=2, 
> isafile=0)
> append_to_tapelist(tapelist=100a1930, label='stk_40-conf2-000029', , file=1, 
> isafile=0)
> append_to_tapelist(tapelist=100a1930, label='stk_40-conf2-000030', , file=11, 
> isafile=0)
> append_to_tapelist(tapelist=100a1930, label='stk_40-conf2-000030', , file=10, 
> isafile=0)
> append_to_tapelist(tapelist=100a1930, label='stk_40-conf2-000030', , file=9, 
> isafile=0)
> append_to_tapelist(tapelist=100a1930, label='stk_40-conf2-000030', , file=8, 
> isafile=0)
> append_to_tapelist(tapelist=100a1930, label='stk_40-conf2-000030', , file=7, 
> isafile=0)
> append_to_tapelist(tapelist=100a1930, label='stk_40-conf2-000030', , file=6, 
> isafile=0)
> append_to_tapelist(tapelist=100a1930, label='stk_40-conf2-000030', , file=5, 
> isafile=0)
> append_to_tapelist(tapelist=100a1930, label='stk_40-conf2-000030', , file=4, 
> isafile=0)
> append_to_tapelist(tapelist=100a1930, label='stk_40-conf2-000030', , file=3, 
> isafile=0)
> append_to_tapelist(tapelist=100a1930, label='stk_40-conf2-000030', , file=2, 
> isafile=0)
> append_to_tapelist(tapelist=100a1930, label='stk_40-conf2-000030', , file=1, 
> isafile=0)
> append_to_tapelist(tapelist=100a1930, label='stk_40-conf2-000021', , file=10, 
> isafile=0)
> append_to_tapelist(tapelist=100a1930, label='stk_40-conf2-000021', , file=9, 
> isafile=0)
> append_to_tapelist(tapelist=100a1930, label='stk_40-conf2-000021', , file=8, 
> isafile=0)
> append_to_tapelist(tapelist=100a1930, label='stk_40-conf2-000021', , file=7, 
> isafile=0)
> append_to_tapelist(tapelist=100a1930, label='stk_40-conf2-000021', , file=6, 
> isafile=0)
> append_to_tapelist(tapelist=100a1930, label='stk_40-conf2-000021', , file=5, 
> isafile=0)
> append_to_tapelist(tapelist=100a1930, label='stk_40-conf2-000021', , file=4, 
> isafile=0)
> append_to_tapelist(tapelist=100a1930, label='stk_40-conf2-000021', , file=3, 
> isafile=0)
> append_to_tapelist(tapelist=100a1930, label='stk_40-conf2-000021', , file=2, 
> isafile=0)
> append_to_tapelist(tapelist=100a1930, label='stk_40-conf2-000021', , file=1, 
> isafile=0)
> append_to_tapelist(tapelist=100a1930, label='stk_40-conf2-000032', , file=10, 
> isafile=0)
> append_to_tapelist(tapelist=100a1930, label='stk_40-conf2-000032', , file=9, 
> isafile=0)
> append_to_tapelist(tapelist=100a1930, label='stk_40-conf2-000032', , file=8, 
> isafile=0)
> append_to_tapelist(tapelist=100a1930, label='stk_40-conf2-000032', , file=7, 
> isafile=0)
> append_to_tapelist(tapelist=100a1930, label='stk_40-conf2-000032', , file=6, 
> isafile=0)
> append_to_tapelist(tapelist=100a1930, label='stk_40-conf2-000032', , file=5, 
> isafile=0)
> append_to_tapelist(tapelist=100a1930, label='stk_40-conf2-000032', , file=4, 
> isafile=0)
> append_to_tapelist(tapelist=100a1930, label='stk_40-conf2-000032', , file=3, 
> isafile=0)
> append_to_tapelist(tapelist=100a1930, label='stk_40-conf2-000032', , file=2, 
> isafile=0)
> append_to_tapelist(tapelist=100a1930, label='stk_40-conf2-000032', , file=1, 
> isafile=0)
> append_to_tapelist(tapelist=100a1930, label='stk_40-conf2-000022', , file=8, 
> isafile=0)
> append_to_tapelist(tapelist=100a1930, label='stk_40-conf2-000022', , file=7, 
> isafile=0)
> append_to_tapelist(tapelist=100a1930, label='stk_40-conf2-000022', , file=6, 
> isafile=0)
> append_to_tapelist(tapelist=100a1930, label='stk_40-conf2-000022', , file=5, 
> isafile=0)
> append_to_tapelist(tapelist=100a1930, label='stk_40-conf2-000022', , file=4, 
> isafile=0)
> append_to_tapelist(tapelist=100a1930, label='stk_40-conf2-000022', , file=3, 
> isafile=0)
> append_to_tapelist(tapelist=100a1930, label='stk_40-conf2-000022', , file=2, 
> isafile=0)
> append_to_tapelist(tapelist=100a1930, label='stk_40-conf2-000022', , file=1, 
> isafile=0)
> search_tapes(prompt_out=2, prompt_in=0,  use_changer=1, tapelist=100a1930, 
> match_list=10025758, flags=10016550, features=0)
> num_entries(tapelist=100a1930)=6
> search_a_tape: desired_tape=100a1930 label=stk_40-conf2-000028
> tape:   numfiles = 6
> tape:   files[0] = 51
> tape:   files[1] = 52
> tape:   files[2] = 53
> tape:   files[3] = 54
> tape:   files[4] = 55
> tape:   files[5] = 56
> current tapefile_idx = 0
> amfetchdump: time 6270.780: could not fsf /hw/tape/tps22d2nrnsv: No space 
> left on device
> amfetchdump: time 6270.795: pid 24434611 finish time Tue Jun 19 19:41:59 2007


-- 
<° ><
amfetchdump: debug 1 pid 42167985 ruid 0 euid 0: start at Tue Jul  3 15:00:33 
2007
amfetchdump: debug 1 pid 42167985 ruid 666 euid 666: rename at Tue Jul  3 
15:00:33 2007
append_to_tapelist(tapelist=0, label='stk_40-conf2-000017', , file=15, 
isafile=0)
append_to_tapelist(tapelist=100827a0, label='stk_40-conf2-000017', , file=14, 
isafile=0)
append_to_tapelist(tapelist=100827a0, label='stk_40-conf2-000018', , file=11, 
isafile=0)
append_to_tapelist(tapelist=100827a0, label='stk_40-conf2-000018', , file=10, 
isafile=0)
append_to_tapelist(tapelist=100827a0, label='stk_40-conf2-000018', , file=9, 
isafile=0)
append_to_tapelist(tapelist=100827a0, label='stk_40-conf2-000018', , file=8, 
isafile=0)
append_to_tapelist(tapelist=100827a0, label='stk_40-conf2-000018', , file=7, 
isafile=0)
append_to_tapelist(tapelist=100827a0, label='stk_40-conf2-000018', , file=6, 
isafile=0)
append_to_tapelist(tapelist=100827a0, label='stk_40-conf2-000018', , file=5, 
isafile=0)
append_to_tapelist(tapelist=100827a0, label='stk_40-conf2-000018', , file=4, 
isafile=0)
append_to_tapelist(tapelist=100827a0, label='stk_40-conf2-000018', , file=3, 
isafile=0)
append_to_tapelist(tapelist=100827a0, label='stk_40-conf2-000018', , file=2, 
isafile=0)
append_to_tapelist(tapelist=100827a0, label='stk_40-conf2-000018', , file=1, 
isafile=0)
append_to_tapelist(tapelist=100827a0, label='stk_40-conf2-000019', , file=11, 
isafile=0)
append_to_tapelist(tapelist=100827a0, label='stk_40-conf2-000019', , file=10, 
isafile=0)
append_to_tapelist(tapelist=100827a0, label='stk_40-conf2-000019', , file=9, 
isafile=0)
append_to_tapelist(tapelist=100827a0, label='stk_40-conf2-000019', , file=8, 
isafile=0)
append_to_tapelist(tapelist=100827a0, label='stk_40-conf2-000019', , file=7, 
isafile=0)
append_to_tapelist(tapelist=100827a0, label='stk_40-conf2-000019', , file=6, 
isafile=0)
append_to_tapelist(tapelist=100827a0, label='stk_40-conf2-000019', , file=5, 
isafile=0)
append_to_tapelist(tapelist=100827a0, label='stk_40-conf2-000019', , file=4, 
isafile=0)
append_to_tapelist(tapelist=100827a0, label='stk_40-conf2-000019', , file=3, 
isafile=0)
append_to_tapelist(tapelist=100827a0, label='stk_40-conf2-000019', , file=2, 
isafile=0)
append_to_tapelist(tapelist=100827a0, label='stk_40-conf2-000019', , file=1, 
isafile=0)
append_to_tapelist(tapelist=100827a0, label='stk_40-conf2-000020', , file=10, 
isafile=0)
append_to_tapelist(tapelist=100827a0, label='stk_40-conf2-000020', , file=9, 
isafile=0)
append_to_tapelist(tapelist=100827a0, label='stk_40-conf2-000020', , file=8, 
isafile=0)
append_to_tapelist(tapelist=100827a0, label='stk_40-conf2-000020', , file=7, 
isafile=0)
append_to_tapelist(tapelist=100827a0, label='stk_40-conf2-000020', , file=6, 
isafile=0)
append_to_tapelist(tapelist=100827a0, label='stk_40-conf2-000020', , file=5, 
isafile=0)
append_to_tapelist(tapelist=100827a0, label='stk_40-conf2-000020', , file=4, 
isafile=0)
append_to_tapelist(tapelist=100827a0, label='stk_40-conf2-000020', , file=3, 
isafile=0)
append_to_tapelist(tapelist=100827a0, label='stk_40-conf2-000020', , file=2, 
isafile=0)
append_to_tapelist(tapelist=100827a0, label='stk_40-conf2-000020', , file=1, 
isafile=0)
append_to_tapelist(tapelist=100827a0, label='stk_40-conf2-000014', , file=10, 
isafile=0)
append_to_tapelist(tapelist=100827a0, label='stk_40-conf2-000014', , file=9, 
isafile=0)
append_to_tapelist(tapelist=100827a0, label='stk_40-conf2-000014', , file=8, 
isafile=0)
append_to_tapelist(tapelist=100827a0, label='stk_40-conf2-000014', , file=7, 
isafile=0)
append_to_tapelist(tapelist=100827a0, label='stk_40-conf2-000014', , file=6, 
isafile=0)
append_to_tapelist(tapelist=100827a0, label='stk_40-conf2-000014', , file=5, 
isafile=0)
append_to_tapelist(tapelist=100827a0, label='stk_40-conf2-000014', , file=4, 
isafile=0)
append_to_tapelist(tapelist=100827a0, label='stk_40-conf2-000014', , file=3, 
isafile=0)
append_to_tapelist(tapelist=100827a0, label='stk_40-conf2-000014', , file=2, 
isafile=0)
append_to_tapelist(tapelist=100827a0, label='stk_40-conf2-000014', , file=1, 
isafile=0)
append_to_tapelist(tapelist=100827a0, label='stk_40-conf2-000015', , file=10, 
isafile=0)
append_to_tapelist(tapelist=100827a0, label='stk_40-conf2-000015', , file=9, 
isafile=0)
append_to_tapelist(tapelist=100827a0, label='stk_40-conf2-000015', , file=8, 
isafile=0)
append_to_tapelist(tapelist=100827a0, label='stk_40-conf2-000015', , file=7, 
isafile=0)
append_to_tapelist(tapelist=100827a0, label='stk_40-conf2-000015', , file=6, 
isafile=0)
append_to_tapelist(tapelist=100827a0, label='stk_40-conf2-000015', , file=5, 
isafile=0)
append_to_tapelist(tapelist=100827a0, label='stk_40-conf2-000015', , file=4, 
isafile=0)
append_to_tapelist(tapelist=100827a0, label='stk_40-conf2-000015', , file=3, 
isafile=0)
append_to_tapelist(tapelist=100827a0, label='stk_40-conf2-000015', , file=2, 
isafile=0)
append_to_tapelist(tapelist=100827a0, label='stk_40-conf2-000015', , file=1, 
isafile=0)
append_to_tapelist(tapelist=100827a0, label='stk_40-conf2-000001', , file=2, 
isafile=0)
append_to_tapelist(tapelist=100827a0, label='stk_40-conf2-000001', , file=1, 
isafile=0)
search_tapes(prompt_out=2, prompt_in=0,  use_changer=1, tapelist=100827a0, 
match_list=100257c8, flags=100165b0, features=0)
num_entries(tapelist=100827a0)=7
search_a_tape: desired_tape=100827a0 label=stk_40-conf2-000017
tape:   numfiles = 2
tape:   files[0] = 14
tape:   files[1] = 15
current tapefile_idx = 0
amfetchdump: time 2425.149: could not fsf /hw/tape/tps22d2nrnsv: No space left 
on device
amfetchdump: time 2425.155: pid 42167985 finish time Tue Jul  3 15:40:58 2007

Reply via email to