Not an amanda tape: Difference between revisions

From wiki.zmanda.com
Jump to navigation Jump to search
(reformatted, padded out)
Line 1: Line 1:
--- This text was originally contributed to the AMANDA-FAQ-O-Matic by gyles19@visi.com. ---
{{Troubleshooting Category|Tape Drives}}{{Troubleshooting Category|Amcheck}}
{{Troubleshooting Problem}}
An error message from Amanda:
... not an amanda tape
{{Troubleshooting Solution}}
Amanda requires you to label tapes before it uses them. Run [[amlabel]] in order to label a tape.  


Because Amanda requires you to label tapes before it uses them. Run `amlabel' in order to label a tape.  
You may also be able to use <tt>label_new_tapes</tt> in [[amanda.conf]] to automatically label tapes.


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.  
If, even after labeling a tape, [[amcheck]] still complains about it, make sure the regular expression specified via <tt>labelstr</tt> 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, 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'll have to label them again.
If you have labeled any tapes using the rewinding device configuration, you may have to label them again (see [[Talk:{{PAGENAME}}|Discussion]]).


 
=Credits=
----
This text was originally contributed to the AMANDA-FAQ-O-Matic by gyles19@visi.com.
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)
 
----
See more [[amcheck issues]]

Revision as of 23:12, 6 April 2007

Template:Troubleshooting CategoryTemplate:Troubleshooting Category Template:Troubleshooting Problem An error message from Amanda:

... not an amanda tape

Template:Troubleshooting Solution Amanda requires you to label tapes before it uses them. Run amlabel in order to label a tape.

You may also be able to use label_new_tapes in amanda.conf to automatically label tapes.

If, even after labeling a tape, amcheck still complains about it, make sure the regular expression specified via labelstr 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, 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].