I'm having trouble with labelling my tape on a Seagate STT20000A (using Travan 20GB tapes). Example below. Have tried /dev/nht0 as per FAQ with same results. My OS is RedHat 7.2 and RPM's installed are: amanda-server-2.4.2p2-4, amanda-devel-2.4.2p2-4, amanda-2.4.2p2-4, amanda-client-2.4.2p2-4
What am I missing? Have set my tapetpye in /etc/amanda/iogta/amanda.conf to; runtapes 1 # number of tapes to be used in a single run of amdump tapedev "/dev/ht0" # the no-rewind tape device to be used tapetype STT20000A # what kind of tape it is (see tapetypes below) labelstr "^Tape[0-9][0-9]*$" # label constraint regex: all tapes must match define tapetype STT20000A { comment "just produced by tapetype program" length 9500 mbytes filemark 103 kbytes speed 914 kbytes } $ /usr/sbin/amlabel iogta Tape1 rewinding, reading label, not an amanda tape rewinding, writing label Tape1, checking label amlabel: no label found, are you sure /dev/nht0 is non-rewinding? $ /usr/sbin/amcheck iogta Amanda Tape Server Host Check ----------------------------- Holding disk /var/tmp: 1782512 KB disk space available, that's plenty ERROR: /dev/ht0: not an amanda tape (expecting a new tape) NOTE: skipping tape-writable test Server check took 16.655 seconds Amanda Backup Client Hosts Check -------------------------------- Client check: 1 host checked in 0.013 seconds, 0 problems found (brought to you by Amanda 2.4.2p2) -Brad