Amanda-Users

Re: ERROR: no tape online

2002-09-26 22:02:23
Subject: Re: ERROR: no tape online
From: Gene Heskett <gene_heskett AT iolinc DOT net>
To: John Koenig <jfkoenig AT vipb DOT com>, amanda-users AT amanda DOT org
Date: Thu, 26 Sep 2002 21:44:16 -0400
On Thursday 26 September 2002 20:43, John Koenig wrote:
>I need some suggestions from the community... I am trying to debug
> a problem however I am not sure how/where to look for more clues.
> I am open to any and all comments anyone has time to express. ...
> and thanks!!
>
>The issue is when amdump is run, something weird happens
>with the tape causing AMANDA to go into degraded mode... leaving
> the backups on the holding disk.
>
>I have an AIT2 tape media robot (Compaq SSL2020) driven by
>the software called Media Robot Utility v1.5
>
>I have been performing the role of the changer glue manually
> whenever I run actual backups... The AMANDA configuration is not
> configured as a tape changer at present.
>
>This last run had a problem... Here is some information about it:

Just this last run?  That almost disqualifies the suggestion I was 
going to make, which is, there was a period around 9 months back 
when the ioctl call amanda used to rewind the tape was broken, and 
this prevented the rewinding and reading of the tapes label.  Its 
been fixed for quite a while though.

OTOH, I cheerfully build and install every snapshot Jean-Louis puts 
up on his site, and a lot has been "smoothed up" in the current 
2.4.3b4 snapshots.  I might be worth the effort, maybe even the 
changer stuff works for you now, its running mine just fine.
 
>       ### ### ###
>
>Initially I ran the amcheck to remind myself of what tape was
> next...
>
>$ amcheck DailySet2
>Amanda Tape Server Host Check
>-----------------------------
>Holding disk /net/redeye/holding/amanda: 177292000 KB disk space
> available, that's plenty ERROR: /dev/ntape/tape0: no tape online
>       (expecting tape DailySet2-10 or a new tape)
>NOTE: skipping tape-writable test
>Server check took 119.557 seconds
>
>       ### ### ###
>
>
>       Cool.. that's slot 9!
>
>$ robot load slot 9
>LOADING SLOT 9 into DRIVE 0 using ROBOT /dev/changer/mc0.
>
>
>       ### ### ###
>
>
>$ nohup amdump DailySet2 &
>
>       output of amdump sent via e-mail and presented below...
>
>
>       ### ### ###
>
>$ robot unload slot 9
>ROBOT /dev/changer/mc0 is not responding: I/O error.
>
>
>       Hmmmm....... not good...
>       ${?} = 64 but Compaq does not
>       provide the damn info. F*ckers.
>
>
>       ### ### ###
>
>$ robot unload slot 9
>UNLOAD DRIVE 0 into SLOT 9 using ROBOT /dev/changer/mc0.
>
>
>       tape successfully unloaded
>
>=============================================
>
>Output of amdump:
>
>
>*** A TAPE ERROR OCCURRED: [no tape online].
>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: DailySet2-10.
>
>
>STATISTICS:
>                          Total       Full      Daily
>                        --------   --------   --------
>Estimate Time (hrs:min)    0:25
>Run Time (hrs:min)         0:33
>Dump Time (hrs:min)        0:08       0:00       0:08
>Output Size (meg)         447.3        0.0      447.3
>Original Size (meg)       832.6        0.0      832.6
>Avg Compressed Size (%)    53.7        --        53.7  
> (level:#disks ...) Filesystems Dumped           19          0    
>     19   (1:18 2:1) Avg Dump Rate (k/s)       975.5        --    
>   975.5
>
>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: Incremental of redeye:/net/adder/scratch1 bumped to
> level 2. planner: Full dump of redeye:/net/adder/scratch2
> promoted from 11 days ahead. planner: Full dump of
> bum:/net/bum/srv promoted from 11 days ahead. planner: Full dump
> of redeye:/var/amanda promoted from 11 days ahead. planner: Full
> dump of redeye:/net/redeye/home1 promoted from 11 days ahead.
> planner: Full dump of phish:/usr/local promoted from 11 days
> ahead. planner: Full dump of redeye:/net/redeye/lapb1 promoted
> from 11 days ahead. planner: Full dump of phish:/home/phish
> promoted from 11 days ahead. planner: Full dump of
> ringley:/net/ringley/camb1 promoted from 11 days ahead. planner:
> Full dump of ringley:/net/ringley/tamu1 promoted from 11 days
> ahead. planner: Full dump of redeye:/etc promoted from 11 days
> ahead. planner: Full dump of ringley:/etc promoted from 11 days
> ahead. planner: Full dump of bum:/etc promoted from 11 days
> ahead. planner: Full dump of anabelle:/etc promoted from 11 days
> ahead. planner: Full dump of redeye:/usr/local_redeye/etc
> promoted from 11 days ahead. planner: Full dump of phish:/etc
> promoted from 11 days ahead. planner: Full dump of bum:/var/yp
> promoted from 11 days ahead.
>
>
>DUMP SUMMARY:
>                                                                
> DUMPER STATS                     TAPER STATS HOSTNAME   DISK     
>                         L    ORIG-KB     OUT-KB   COMP% MMM:SS   
>  KB/s   MMM:SS     KB/s
> ----------------------------------------------
> --------------------------------------------- -----------------
> anabelle  /etc                               1         60        
> 32    53.3   0:01     59.4     N/A      N/A anabelle 
> /net/anabelle/scratch1             1     174750     166304   
> 95.2   1:15   2211.5     N/A      N/A bum       /etc             
>                  1         50         32    64.0   0:00    120.0 
>    N/A      N/A bum       /net/bum/srv                       1   
>   25900       3424    13.2   0:10    351.1     N/A      N/A bum  
>     /var/yp                            1         10         32  
> 320.0   0:00    300.6     N/A      N/A phish     /etc            
>                   1        170         32    18.8   0:00    262.1
>     N/A      N/A phish     /home/phish                        1  
>       80         32    40.0   0:00    244.5     N/A      N/A
> phish     /usr/local                         1       1000        
> 96     9.6   0:01    145.2     N/A      N/A redeye    /etc       
>                        1         70         32    45.7   0:00   
> 120.0     N/A      N/A redeye    /net/adder/scratch1             
>   2      62900       8608    13.7   3:17     43.6     N/A     
> N/A redeye    /net/adder/scratch2                1     161070    
>  40512    25.2   0:26   1536.8     N/A      N/A redeye   
> /net/redeye/home1                  1       1850        192   
> 10.4   0:09     21.1     N/A      N/A redeye    /net/redeye/lapb1
>                  1        350         64    18.3   0:03     21.8 
>    N/A      N/A redeye    /net/redeye/lbpb1                  1   
>  419480     236352    56.3   2:25   1634.2     N/A      N/A
> redeye    /usr/local_redeye/etc              1         50        
> 32    64.0   0:00    222.9     N/A      N/A redeye    /var/amanda
>                        1       4690       2208    47.1   0:01  
> 1548.6     N/A      N/A ringley   /etc                           
>    1         60         32    53.3   0:00    230.8     N/A     
> N/A ringley   /net/ringley/camb1                 1         10    
>     32   320.0   0:00    100.5     N/A      N/A ringley  
> /net/ringley/tamu1                 1         10         32  
> 320.0   0:00    780.2     N/A      N/A
>
>(brought to you by Amanda version 2.4.2p2)

-- 
Cheers, Gene
AMD K6-III@500mhz 320M
Athlon1600XP@1400mhz  512M
99.16% setiathome rank, not too shabby for a WV hillbilly

<Prev in Thread] Current Thread [Next in Thread>