Re: tapestatus file growing huge
2006-07-21 16:19:17
On Fri, Jul 21, 2006 at 06:21:34PM +0100, Rodrigo Ventura wrote:
> On Friday 21 July 2006 17:18, Jon LaBadie wrote:
> > I hesitate to say they are better. But perhaps more popular
> > are the scripts based on using the mtx command, either chg-mtx
> > or more commonly the newer chg-zd-mtx.
>
> Thanks. I switched to chg-zd-mtx. Doing a couple of amtape tests, however the
> output is cluttered with messages like
>
> changer: got exit: 0 str: 2 /dev/nst0
>
> How can I get rid of them?
Sounds like you have errors in either your amanda.conf
and/or ?chg-zd-mtx?.conf files.
In case you overlooked it, the first part of the chg-zd-mtx
is a set of instructions for setting up these files.
You can also test chg-zd-mtx without amtape. That is often
a good first step, then checkout amtape. To do this, you
need to be in the same directory as the amanda.conf and
changer-script file. The valid command options are at
the end of the. So you might do things like:
cd <amanda_config_dir>
<path_to>/chg-zd-mtx -slot 4
<path_to>/chg-zd-mtx -search <tapelabel>
<path_to>/chg-zd-mtx -info
<path_to>/chg-zd-mtx -reset
<path_to>/chg-zd-mtx -clean
--
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)
|
|
|