Amanda-Users

Re: Converting to FILE

2004-09-08 13:32:53
Subject: Re: Converting to FILE
From: Gene Heskett <gene.heskett AT verizon DOT net>
To: amanda-users AT amanda DOT org
Date: Wed, 8 Sep 2004 13:27:32 -0400
On Wednesday 08 September 2004 12:53, Stefan G. Weichinger wrote:
>Hi, Gene Heskett,
>
>on Mittwoch, 08. September 2004 at 18:02 you wrote to amanda-users:
>
>GH> Greeting, particularly to Stephan W.
>
>GH> I'm in the process of trying to duplicate my old tape
>GH> setup with a VLD, (very large disk, a 200 gigger)
>
>GH> In going thru your howto, I get to the point of doing
>GH> the labeling and bomb out with illegal requests.
>
>GH> [amanda@coyote DailySet1]$ amlabel DailySet1 DailySet1-00 slot
> 00 GH> amlabel: could not load slot "00": illegal request
>
>GH> The lines modified in amanda.conf are:
>GH> ---------------
>GH> runtapes 10             # number of tapes to be used in a single
> run of amdump
>
>GH> #tpchanger      "chg-scsi"      # the tape-changer glue script
>GH> tpchanger       "chg-disk"
>
>GH> #tapedev                "0"     # the no-rewind tape device to
> be used GH> tapedev         "FILE:/amandatapes/DailySet1"
>
>GH> #changerfile    "/usr/local/etc/amanda/DailySet1/chg-scsi.conf"
>GH> changerfile     "/usr/local/etc/amanda/DailySet1/chg-disk.conf"
>
>This should be
>
>changerfile "/usr/local/etc/amanda/DailySet1/changer"

Aha!  Thanks

>and chg-disk creates
>
>changer.conf-access
>changer.conf-clean
>changer.conf-slot
>changer.stat
>
>>>From the HOWTO:
>
>---
>
>The "changerfile"-parameter is used to give chg-disk the "prefix"
> for the "%s-changer, %s-clean, %s-slot" files it needs. Use
> something like "changer" in your config-dir. Please note that this
> file does NOT have to exist, but it won't hurt anyway.
>
>---
>
>What does
>
>amtape DailySet1 show
>
>tell you?
>
>For my setup this starts with slot 1, 2, ...
>
>Seems like you hit an error in my HOWTO.
>
>The loop to create the vtapes runs from 1 to 12, the loop to label
>starts with 01, 02, ...

I made them by hand, and chown-ed everything after.

>This should be the cause. I will correct this in a minute (gets in
> the online-docs).
>
>Sorry for the problem, thanks for digging it up.
Let me save the fixed amanda.conf and see what happens, but I think 
the installed libs are hardcoded to use /dev/nst0 thanks to my gh.cf 
that I've published since forever here on this list.  How should I 
modify that?  Its presently:
------------
#!/bin/sh
# since I'm always forgetting to su amanda...
if [ `whoami` != 'amanda' ]; then
        echo
 echo "!!!!!!!!!!!! Warning !!!!!!!!!!!!"
 echo "Amanda needs to be configured and built by the user amanda,"
 echo "but must be installed by user root."
 echo
 exit 1
fi
make clean
rm -f config.status config.cache
./configure --with-user=amanda \
 --with-group=disk \
 --with-owner=amanda \
 --with-gnu-ld --prefix=/usr/local \
 --with-tapedev=FILE:/amandatapes \
 --with-debugging=/tmp/amanda-dbg/ \
 --with-tape-server=coyote.coyote.den \
 --with-amandahosts \
 --with-configdir=/usr/local/etc/amanda

make
---------------

Is this anywhere near usable?

-- 
Cheers, Gene
"There are four boxes to be used in defense of liberty:
 soap, ballot, jury, and ammo. Please use in that order."
-Ed Howdershelt (Author)
99.25% setiathome rank, not too shabby for a WV hillbilly
Yahoo.com attorneys please note, additions to this message
by Gene Heskett are:
Copyright 2004 by Maurice Eugene Heskett, all rights reserved.

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