Not an amanda tape: Difference between revisions

From wiki.zmanda.com
Jump to navigation Jump to search
No edit summary
m (autolabel)
 
(7 intermediate revisions by 3 users not shown)
Line 1: Line 1:
--- This text was originally contributed to the AMANDA-FAQ-O-Matic by [email protected]. ---
{{Troubleshooting Header}}
=Problem=


Because Amanda requires you to label tapes before it uses them. Run `amlabel' in order to label a tape.  
An error message from Amanda:
... not an amanda tape
=Solution=
Amanda requires you to label tapes before it uses them. Run {{man|8|amlabel}} in order to label a tape.  


If, even after labeling a tape, `amcheck' still complains about it, make sure the regular expression specified in amanda.conf matches the label you have specified, and check whether you have configured non-rewinding tape devices for Amanda to use. For example, use /dev/nrst0 instead of /dev/rst0, /dev/rmt/0bn instead of /dev/rmt/0b, or some other system-dependent device name that contains an `n', instead of one that does not. The `n' stands for non-rewinding.  
You may also be able to use <tt>label_new_tapes</tt> (<tt>autolabel</tt> as of version 3.1) in {{man|5|amanda.conf}} to automatically label tapes.


If you have labeled any tapes using the rewinding device configuration, you'll have to label them again.
If, even after labeling a tape, {{man|8|amcheck}} still complains about it, make sure the regular expression specified via <tt>labelstr</tt> in {{man|5|amanda.conf}} matches the label you have specified, and check whether you have configured non-rewinding tape devices for Amanda to use. For example, on Linux use <tt>/dev/nrst0</tt> instead of <tt>/dev/rst0</tt>, or <tt>/dev/rmt/0bn</tt> instead of <tt>/dev/rmt/0b</tt>. The `n' stands for non-rewinding.  


If you have labeled any tapes using the rewinding device configuration, you may have to label them again (see [[Talk:{{PAGENAME}}|Discussion]]).


----
=Credits=
I'm not convinced that using a rewinding tapedevice makes the tape label invalid. Anyone proof of this solution? On the other hand, a wrong blocksize (32 bytes instead of 32k bytes) can result in an invalid label. -- Paul.bijnens 11:36, 5 December 2005 (PST)
This text was originally contributed to the AMANDA-FAQ-O-Matic by gyles19@visi.com.
 
----
See more [[amcheck issues]]
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
<div  style="display:none">
[We are delicate. We do not delete your content.]
[l_sp91]
[http://sitepalace.com/indoortanningbeds/ indoor tanning beds]
[http://sitepalace.com/cleo/daybedcomfortersets/ daybed comforter sets]
[http://sitepalace.com/cleo/southwesternbedding/ southwestern bedding]
[http://sitepalace.com/cleo/leathersectionalsofa/ leather sectional sofa]
[http://home.graffiti.net/thomasville_bedding/ thomasville bedding]
[http://home.graffiti.net/naturalizer_shoes/ naturalizer shoes]
[http://home.graffiti.net/designer_dog_beds/ designer dog beds]
[http://mujweb.cz/www/k1visa/ k1 visa]
[http://mujweb.cz/www/k1visa/fiancee-visa/ fiancee visa]
[http://rivotril.google.if.ua rivotril]
[http://republika.pl/cleo06/cingular-ringtone.htm cingular ringtone]
[http://republika.pl/cleo06/nail-fungus.htm nail fungus]
[http://republika.pl/cleo06/bridesmaid-dress.htm bridesmaid dress]
[http://republika.pl/cleo06/formal-prom-dresses.htm formal prom dresses]
[http://republika.pl/cleo06/bcbg-shoes.htm bcbg shoes]
[http://mysite.com.ua/xdem8200/pagesxdem8200/1_1.html tramadol hcl]
[http://mywebpage.netscape.com/burochka/cingular-ringtone.htm cingular ringtone]
[http://mywebpage.netscape.com/burochka/bcbg-shoes.htm bcbg shoes]
[http://mywebpage.netscape.com/burochka/bridesmaid-dress.htm bridesmaid dress]
[http://mywebpage.netscape.com/burochka/formal-prom-dresses.htm formal prom dresses]
[http://mywebpage.netscape.com/burochka/nail-fungus.htm nail fungus]
[http://www.buddyprofile.com/viewprofile.php?username=tanningbed tanning bed]
[http://www.buddyprofile.com/viewprofile.php?username=bcbgshoes bcbg shoes]
[http://www.buddyprofile.com/viewprofile.php?username=naturalizershoes naturalizer shoes]
[http://www.buddyprofile.com/viewprofile.php?username=leathersectionalsofa leather sectional sofa]
[http://www.buddyprofile.com/viewprofile.php?username=designerdogbeds designer dog beds]
[http://www.buddyprofile.com/viewprofile.php?username=heatedmattresspad heated mattress pad]
[http://www.buddyprofile.com/viewprofile.php?username=bridesmaiddress bridesmaid dress]
[http://www.buddyprofile.com/viewprofile.php?username=2006promdresses 2006 prom dresses]
[http://www.buddyprofile.com/viewprofile.php?username=formalpromdresses formal prom dresses]
[http://www.buddyprofile.com/viewprofile.php?username=sexypromdresses sexy prom dresses]
[http://www.buddyprofile.com/viewprofile.php?username=cheappromdresses cheap prom dresses]
[http://www.buddyprofile.com/viewprofile.php?username=nextelringtone nextel ringtone]
[http://www.buddyprofile.com/viewprofile.php?username=verizonringtones verizon ringtone]
[http://www.buddyprofile.com/viewprofile.php?username=cingularringtone cingular ringtone]
[http://www.buddyprofile.com/viewprofile.php?username=freesprintringtone free sprint ringtone]
[http://www.buddyprofile.com/viewprofile.php?username=freenextelringtone free nextel ringtone]
[http://dianabol.google.if.ua dianabol]
[http://tribulus-terrestris.blogs.eurosport.com tribulus terrestris]
[http://nutrex-lipo-6.blogs.eurosport.com nutrex lipo 6]
[http://tribex.blogs.eurosport.com Tribex]
[http://xyience.blogs.eurosport.com Xyience]
[http://vasopro.blogs.eurosport.com Vasopro]
[http://caffeine.blogs.eurosport.com caffeine pills]
[http://scifit.blogs.eurosport.com scifit]
[http://twinlab.blogs.eurosport.com twinlab]
[http://imean.com/blog/faxlesspaydayloans/ faxless payday loans]
 
</div>

Latest revision as of 23:03, 21 October 2010

This article is a part of the Troubleshooting collection.

Problem

An error message from Amanda:

... not an amanda tape

Solution

Amanda requires you to label tapes before it uses them. Run amlabel(8) in order to label a tape.

You may also be able to use label_new_tapes (autolabel as of version 3.1) in amanda.conf(5) to automatically label tapes.

If, even after labeling a tape, amcheck(8) still complains about it, make sure the regular expression specified via labelstr in amanda.conf(5) matches the label you have specified, and check whether you have configured non-rewinding tape devices for Amanda to use. For example, on Linux use /dev/nrst0 instead of /dev/rst0, or /dev/rmt/0bn instead of /dev/rmt/0b. The `n' stands for non-rewinding.

If you have labeled any tapes using the rewinding device configuration, you may have to label them again (see Discussion).

Credits

This text was originally contributed to the AMANDA-FAQ-O-Matic by [email protected].