Amanda-Users

Re: My First changer.debug

2005-08-04 01:41:35
Subject: Re: My First changer.debug
From: Jon LaBadie <jon AT jgcomp DOT com>
To: amanda-users AT amanda DOT org
Date: Thu, 4 Aug 2005 01:25:19 -0400
On Wed, Aug 03, 2005 at 07:06:48PM -0700, Marcus wrote:
> Hi, I'm sure this is simple but I don't know how to
> figure it out.
> So far I can make my Adic Fastor do basic stuff with
> tar, mt and mtx. So I try to get amlabel to pick a
> slot and label it, and this happens
> 
> MT -> /usr/sbin/ammt -f
> DD -> /usr/sbin/amdd
> Args -> -slot 1
>      -> loaded -1
>      -> load   1
>      -> status 1
>      -> res
> Exit -> 1
> 
> So I mtx -f /dev/sg1 load 1 the drive, and nix the
> slot option for amlabel. That gets me:
> 
> MT -> /usr/sbin/ammt -f
> DD -> /usr/sbin/amdd
> Args -> -slot current
>      -> loaded -1
> Exit -> 1 /dev/nst0
> 
> I don't understand how to read this. They look like
> incomplete commands? If there's something that
> explains how to decipher this I'd check it out. Here's
> the hardware section of amanda.conf:
> 
> runtapes 7             
> tpchanger "chg-mtx"    
> tapedev "/dev/nst0"    
> rawtapedev "/dev/null" 
> #changerfile "/var/lib/amanda/DailySet1/changer"
> #changerfile
> "/var/lib/amanda/DailySet1/changer-status"
> #changerfile "/etc/amanda/DailySet1/changer.conf"
> changerdev "/dev/sg1"
> tapetype DLT         
> labelstr "^camorigs[0-9][0-9]*$"  
> 

chg-mtx requires a configuration file.
Its identity is specified with the changerfile directive.
All yours are commented out.
IIRC you name it <whatyouwant>.conf but you specify it
without the ".conf".
In the example copy with the source there are a number
of parameters that must be set before use.
-- 
Jon H. LaBadie                  jon AT jgcomp DOT com
 JG Computing
 4455 Province Line Road        (609) 252-0159
 Princeton, NJ  08540-4322      (609) 683-7220 (fax)

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