On Thu, 2002-02-21 at 13:41, Samuel Renato Neves wrote:
> Hi, i hope you can help me out (please).
> 
> I'm using an identical system to yours HP Surestore Dat 24x6.
> 
> I've just recently instaled my first amanda server.
> 
> But, I'm having some problems related to the devices that amanda(mtx,
> mt)
> uses.
>  
> When using mt(with /dev/st0) or mtx(with /dev/sg0) everithing works
> fine.
> 
> But, I can't make it work with amanda.
> 
> This is my configuration:
> 
> 
> In the "amanda.conf" file:
> tpchanger     "chg-zd-mtx"
> changerfile   "/etc/amanda/DailySet1/chg-scsi-linux"
> runtapes      1
> changerdev    "/dev/sg0"
> tapedev       "/dev/st0"  
> tapetype        SURESTORE-1200E       
> 
> 
> In the "chg-scsi-linux.conf" file:
> number_configs        1
> #
> # Next comes the data for drive 0
> #
> config                0
> drivenum      0
> firstslot=1
> lastslot=3
> cleanslot=6
> AUTOCLEAN=0
> autocleancount=99
> havereader=0
> offlinestatus=0
> OFFLINE_BEFORE_UNLOAD=0
> statfile      /etc/amanda/DailySet1/tape0-slot
> cleanfile     /etc/amanda/DailySet1/tape0-clean
> usagecount    /etc/amanda/DailySet1/totaltime
> tapestatus    /etc/amanda/DailySet1/tapestatus
> havereader=1
> 
> 
> 
> 
> In the "chg-zd-mtx" file
> MT=mt
> MTF=-f
> MTX=mtx
> 
> 
> 
> I'm running some tests, this are the errors that I'm receiving:
> 
> 
> $ amcheck DailySet1
> Amanda Tape Server Host Check
> -----------------------------
> Holding disk /var/tmp: 341457 KB disk space available, that's plenty
> amcheck-server: slot 3: not an amanda tape
> amcheck-server: slot 1: not an amanda tape
> amcheck-server: slot 2: reading label: Input/output error
> ERROR: new tape not found in rack
>        (expecting a new tape)
> NOTE: skipping tape-writable test
> NOTE: info dir /var/lib/amanda/DailySet1/curinfo: does not exist
> NOTE: it will be created on the next run
> NOTE: index dir /var/lib/amanda/DailySet1/index/localhost: does not
> exist
> Server check took 179.262 seconds
> 
> Amanda Backup Client Hosts Check
> --------------------------------
> Client check: 1 host checked in 0.039 seconds, 0 problems found
> 
> (brought to you by Amanda 2.4.2p2)
> 
> 
> 
> $ amlabel DailySet1 DailySet101
> labeling tape in slot 3 (/dev/st0):
> rewinding, reading label, reading label: Input/output error
> rewinding, writing label DailySet101, checking label
> amlabel: no label found, are you sure /dev/st0 is non-rewinding?
> 
> 
> 
> $ amverify DailySet1
> Tape changer is chg-zd-mtx...
> 1 slot...
> Verify summary to [EMAIL PROTECTED]
> Defects file is /tmp/amanda/amverify.8103/defects
> amverify DailySet1
> Wed Feb 20 18:35:23 WET 2002
> 
> Loading current slot...
> Using device /dev/st0
> Waiting for device to go ready...
> Rewinding...
> Processing label...
> ** Error reading label on tape
> Advancing past the last tape...
> Errors found:
> /bin/dd: reading /dev/st0': Input/output error
> 0+0 records in
> 0+0 records out
> 
> 
> 
> Am I doing anything wrong? Am I missing something?
> 
> Can you help me out, or even send me a configuration file that fit my
> needs.
> 
> Thankx.
> 
> 
> Xemuel.
> 
> 
> -- 
> 010100110110000101101101011101010110010101101100
> 
> "A grandeza n�o consiste em receber honras, mas em merece-las"
>  Arist�teles
> 
> 
> 

Alright, I found the problem. I was using /dev/st0 instead of /dev/nts0.

Thankx anyway.

-- 
010100110110000101101101011101010110010101101100

"A grandeza n�o consiste em receber honras, mas em merece-las"
 Arist�teles




Reply via email to