> On Jul 6, 2016, at 3:55 AM, Stefan G. Weichinger <[email protected]> wrote:
> 
> Am 2016-07-05 um 17:21 schrieb Jean-Louis Martineau:
>> On 30/06/16 03:06 AM, Stefan G. Weichinger wrote:
>>> Am 2016-06-27 um 11:07 schrieb Stefan G. Weichinger:
>>>> Am 2016-06-21 um 10:38 schrieb Stefan G. Weichinger:
>>>> 
>>>>> If the admin forgets to change tapes every week and the next tape to
>>>>> use
>>>>> is NOT in the library, amanda goes wild and doesn't stop scanning for
>>>>> the next tape ... it goes through the 8 slots over and over again and
>>>>> even spawns processes over and over until we have to kill the amdump
>>>>> etc
>>>> 
>>>> [..]
>>>> 
>>>>> thanks for any pointers, Stefan
>>> 
>>> @JLM: should I provide any debug logs or so?
>> 
>> run amdump with '-odebug_taper=9' and post the taper debug file.
> 
> Did that.
> 
> amdump stops immediately and requests a specific tape inserted (the one
> which we removed from the library to trigger that search behavior):
> 
> 
> amanda@samba ~ $ amdump myconf -odebug_taper=9 &
> [1] 24124
> amanda@samba ~ $ No acceptable volumes found
> 
> Insert volume labeled 'CMR920' in robot
> and press <enter> enter, or ^D to abort.
> 
> [1]+  Stopped                 amdump myconf -odebug_taper=9
> 
> -
> 
> $ amadmin myconf tape
> The next Amanda run should go onto tape CMR920 or a new tape.
>                                   tape CMR925 or a new tape.
>                                   tape CMR926 or a new tape.
> 
> -
> 
> $ cat taper.20160706103915.debug
> Wed Jul  6 10:39:15 2016: thd-0x55cb190d9800: taper: pid 24307 ruid 87
> euid 87 version 3.3.5: start at Wed Jul  6 10:39:15 2016
> Wed Jul  6 10:39:15 2016: thd-0x55cb190d9800: taper: Arguments: myconf
> -odebug_taper=9
> Wed Jul  6 10:39:15 2016: thd-0x55cb190d9800: taper: config_overrides:
> debug_taper 9
> Wed Jul  6 10:39:15 2016: thd-0x55cb190d9800: taper: pid 24307 ruid 87
> euid 87 version 3.3.5: rename at Wed Jul  6 10:39:15 2016
> Wed Jul  6 10:39:15 2016: thd-0x55cb190d9800: taper: chg-robot: using
> statefile '/var/lib/amanda/myconf/chg-robot-dev-sg1'
> Wed Jul  6 10:39:15 2016: thd-0x55cb190d9800: taper: taper/driver <<
> START-TAPER worker0 20160706103915
> Wed Jul  6 10:39:15 2016: thd-0x55cb190d9800: taper:
> Amanda::Taper::Scribe: starting
> Wed Jul  6 10:39:15 2016: thd-0x55cb190d9800: taper: invoking
> /usr/sbin/mtx -f /dev/sg1 status
> Wed Jul  6 10:39:16 2016: thd-0x55cb190d9800: taper: mtx:   Storage
> Changer /dev/sg1:1 Drives, 8 Slots ( 0 Import/Export )
> Wed Jul  6 10:39:16 2016: thd-0x55cb190d9800: taper: mtx: Data Transfer
> Element 0:Full (Storage Element 8 Loaded):VolumeTag = CMR919L6
> 
> Wed Jul  6 10:39:16 2016: thd-0x55cb190d9800: taper: mtx:       Storage
> Element 1:Full :VolumeTag=CMR921L6
> Wed Jul  6 10:39:16 2016: thd-0x55cb190d9800: taper: mtx:       Storage
> Element 2:Full :VolumeTag=CMR922L6
> Wed Jul  6 10:39:16 2016: thd-0x55cb190d9800: taper: mtx:       Storage
> Element 3:Full :VolumeTag=CMR923L6
> Wed Jul  6 10:39:16 2016: thd-0x55cb190d9800: taper: mtx:       Storage
> Element 4:Full :VolumeTag=CMR924L6
> Wed Jul  6 10:39:16 2016: thd-0x55cb190d9800: taper: mtx:       Storage
> Element 5:Full :VolumeTag=CMR918L6
> Wed Jul  6 10:39:16 2016: thd-0x55cb190d9800: taper: mtx:       Storage
> Element 6:Full :VolumeTag=CMR917L6
> Wed Jul  6 10:39:16 2016: thd-0x55cb190d9800: taper: mtx:       Storage
> Element 7:Empty
> Wed Jul  6 10:39:16 2016: thd-0x55cb190d9800: taper: mtx:       Storage
> Element 8:Empty
> Wed Jul  6 10:39:16 2016: thd-0x55cb190d9800: taper: robot: updating state
> Wed Jul  6 10:39:16 2016: thd-0x55cb190d9800: taper: new
> Amanda::Changer::Error: type='failed', reason='notfound', message='No
> acceptable volumes found'
> 
> --- but it should simply skip the fact that there is no valid next tape
> in the library and dump to the holdingdisk. And not wait for an operator
> to do something ;-)

Is there room on your holding disk?   I noticed earlier that you said the 
holding disk "reserveā€
was at 40.   Since I have nothing but amanda stuff on my holding disk,  I set 
mine to 02 percent
reserved for incremental type backups.

However, if you have space for at least one of your DLEs,  it probably should 
be writing something
to the holding disk.

Deb Baddorf
Fermilab


Reply via email to