Amanda-Users

Help I can't do amlabel

2003-07-31 10:05:00
Subject: Help I can't do amlabel
From: "Marcelo Block Teixeira" <cpd AT cadservice.com DOT br>
To: <amanda-users AT amanda DOT org>
Date: Thu, 31 Jul 2003 11:00:12 -0300
I read about it here and I think my problem is the blocksize between reading and writing, however I don't know how I can fix it.
Somebody can help me?
 
my setup:
 
$ amlabel DailySet1 DailySet100
 
labeling tape in slot 1 (/dev/st0):
rewinding, reading label, not an amanda tape
rewinding, writing label DailySet100, checking label
amlabel: no label found, are you sure /dev/st0 is non-rewinding?
 
$ mt -f /dev/st0 status
 
SCSI 2 tape drive:
File number=0, block number=0, partition=0.
Tape block size 0 bytes. Density code 0x13 (DDS (61000 bpi)).
Soft error count since last status=0
General status bits on (41010000):
BOT ONLINE IM_REP_EN
 
$ /etc/amanda/DailySet1/amanda.conf
 
org "DailySet1"  
mailto "cpd"
dumpuser "amanda"
inparallel 4 
netusage  600 Kbps 
dumpcycle 4 weeks 
runspercycle 4 weeks
tapecycle 25 tapes
 
bumpsize 20 Mb  
bumpdays 1  
bumpmult 4  
etimeout 300  
 
runtapes 1  
tpchanger "chg-multi" 
changerfile "/etc/amanda/DailySet1/changer.conf"
 
tapetype SONY-DAT
labelstr "^DailySet1[0-9][0-9]*$" 
 
holdingdisk hd1 {
    comment "main holding disk"
    directory "/var/tmp" 
    use 290 Mb  
    chunksize 2 Gb 
    }
 
infofile "/var/lib/amanda/DailySet1/curinfo" # database filename
logdir   "/var/lib/amanda/DailySet1"  # log directory
indexdir "/var/lib/amanda/DailySet1/index" # index directory
 
tapelist "/etc/amanda/DailySet1/tapelist"
 
define tapetype SONY-DAT {
    comment "SONY-DAT 5000"
    length 3157 mbytes
    filemark 2165 kbytes
    speed 204 kps
}
 
define dumptype global {
    comment "Global definitions"
}
 
define dumptype comp-user-tar {
    user-tar
    compress client fast
}
 

$ /etc/amanda/DailySet1/changer.conf
 
multieject 0
gravity 0
needeject 0
ejectdelay 0
statefile /etc/amanda/DailySet1/changer-status
firstslot 1
lastslot 1
slot 1 /dev/st0


 
 
 
 
 

 
 
 

Sem mais,
Atenciosamente
Marcelo Block - CPD
CADService Produtos Eletrônicos
Do more, Grow more, Be more....
ICQ: 319176888
Fone:55-19-3246-1333
<Prev in Thread] Current Thread [Next in Thread>