Amanda-Users

Can't do amlabel

2003-06-15 10:20:31
Subject: Can't do amlabel
From: Junaidi <junaidi AT securecirt DOT com>
To: <amanda-users AT amanda DOT org>
Date: Sun, 15 Jun 2003 22:15:31 +0800
Hello,

i'm currently stuck. I cant do any backup, amcheck says it's not an amanda 
tape. I tried to label the tape but amlabel says that the label is already on 
the tape. So i did a amrmtape. Now i'm having trouble labelling the tape 
again. These tapes have been used before for amanda.. abt six mths ago, so 
now i'm doing a new installation, that's why the labels are still there.

This is my "dmesg"

blk: queue f7e16e18, I/O limit 4095Mb (mask 0xffffffff)
  Vendor: BNCHMARK  Model: DLT1              Rev: 5032
  Type:   Sequential-Access                  ANSI SCSI revision: 02
blk: queue c8eaa218, I/O limit 4095Mb (mask 0xffffffff)
(scsi0:A:5): 20.000MB/s transfers (10.000MHz, offset 15, 16bit)
Attached scsi tape st0 at scsi0, channel 0, id 5, lun 0

My tapetype.
define tapetype daily {
        comment "just produced by tapetype program"
        length 34798 mbytes
        filemark 152 kbytes
        speed 2578 kbytes
}


amanda@luke amanda $ amcheck tuesday
Amanda Tape Server Host Check
-----------------------------
Holding disk /backup: 9092960 KB disk space available, that's plenty
ERROR: /dev/nst0: not an amanda tape
       (expecting a new tape)
NOTE: skipping tape-writable test
Server check took 5.045 seconds

Amanda Backup Client Hosts Check
--------------------------------
Client check: 1 host checked in 0.226 seconds, 0 problems found

(brought to you by Amanda 2.4.4)
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
amanda@luke amanda $ amlabel tuesday tuesday2
amlabel: label tuesday2 already on a tape

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
amanda@luke tuesday $ amrmtape tuesday tuesday2
amrmtape: preserving original database in curinfo.orig.28037 (exported).

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
amanda@luke tuesday $ amlabel tuesday tuesday2
rewinding, reading label, not an amanda tape
rewinding, writing label tuesday2, checking label
amlabel: no label found, are you sure /dev/nst0 is non-rewinding?


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