didn't have a changer configured, so I set it to chg-manual. This then happily
ejected the tape, and then allowed me to pipe the output of amtape show to
mailx to email.
Lovely I thought, and happily went home. However last night, despite
having a tape in the drive, it failed to backup
Am 08.07.2012 23:33, schrieb Alex Threlfall:
Does anyone have an idea on how to overcome this problem? I've
reverted back to using mt -F /dev/st0 eject to eject the tape, but
can't send the status email each day with the next tape Amanda wants
without using amtape...
Maybe I don't
I had to change another line in the chg-manual script. I don't no if his is a
mt specific problem in Solaris but hera are my changes for chg-lib.sh
diff /opt/sfw/libexec/amanda/chg-lib.sh /opt/sfw/libexec/amanda/chg-lib.sh.off
if echo $amdevcheck_output | $EGREP VOLUME_MISSING
But I'm using the chg-manual changer script , it is configured to send email
when next tape should be loaded.
$ cat changer.conf
#
# Changer config file (changerfile)
#
resend_mail=36000 # 10 timmar
timeout_mail=604800 # 7 days
request=email
amanda.conf
tpchanger chg
I had only written label on one tape before I ran amdump, could that
explain my problems below, runtapes is set to 4 in my config.
On Sat, Oct 25, 2008 at 02:24:47PM +0200, Gunnarsson, Gunnar wrote:
Hey everyone,
I'm having problem setting up chg-manual changer script in Solaris 10.
From
On Sun, Oct 26, 2008 at 12:40 PM, Gunnarsson, Gunnar
[EMAIL PROTECTED] wrote:
I had only written label on one tape before I ran amdump, could that
explain my problems below, runtapes is set to 4 in my config.
No, you're definitely seeing weird behavior from your tape changer.
You may want to
Hey everyone,
I'm having problem setting up chg-manual changer script in Solaris 10.
From the taped.debug:
mt: unknown command: eject
I tried to change the eject command to rewoffl instead
# diff /opt/sfw/libexec/amanda/chg-lib.sh
/opt/sfw/libexec/amanda/chg-lib.sh.off
134c134
On Sat, Oct 25, 2008 at 02:24:47PM +0200, Gunnarsson, Gunnar wrote:
Hey everyone,
I'm having problem setting up chg-manual changer script in Solaris 10.
From the taped.debug:
mt: unknown command: eject
I tried to change the eject command to rewoffl instead
# diff /opt/sfw/libexec
On Sat, Oct 25, 2008 at 11:01 AM, Jon LaBadie [EMAIL PROTECTED] wrote:
My mt command often would return while the tape
was still rewinding. If run from the command
line, I would get the next shell prompt and yet
could still hear the tape drive and see the
tape's activity lights.
Yeah, a few
Hi,
I noticed that chg-manual was doing eject with mt command on Solaris 10
which is a unknown command see below. Instead
offline, rewoffl should be used I assume. From the taper.debug:
mt: unknown command: eject
Thanks GG
Hello!
I'm using Amanda 2.4.4 with chg-manual. Here's the piece of
amanda.conf:
tpchanger chg-manual # the tape-changer glue script
tapedev /dev/nsa0 # the no-rewind tape device to be used
rawtapedev /dev/rsa0 # the raw device to be used (ftape only)
changerfile /usr/adm/amanda/changer
both partition using level 0 which is bigger than the tape can hold.
It won't do that if you've told amanda how big your tapes are.
Each partition is bigger than holding disk. Can I setup Amanda to use
chg-manual script to backup the partitions to multiple tapes? I know I need
Yes. You'll need
On Thu, 25 Sep 2003 at 5:32pm, [EMAIL PROTECTED] wrote
Each partition is bigger than holding disk. Can I setup Amanda to use
chg-manual script to backup the partitions to multiple tapes? I know I need
For the holding disk space to be used by amanda, the tape image must fit
entirely
On Friday 26 September 2003 06:06 am, Joshua Baker-LePain wrote:
On Thu, 25 Sep 2003 at 5:32pm, [EMAIL PROTECTED] wrote
Yes. You'll need to run amdump in the foreground so it can tell you when
to change tapes.
You can also setup the chg-manual script to email you notifications when it's
-Original Message-
From: Stefan Keel [mailto:[EMAIL PROTECTED]
Sent: Friday, September 26, 2003 11:01 AM
To: [EMAIL PROTECTED]
Subject: Re: Using chg-manual question
On Friday 26 September 2003 06:06 am, Joshua Baker-LePain wrote:
On Thu, 25 Sep 2003 at 5:32pm, [EMAIL PROTECTED
the tape can hold. Each partition is bigger than holding disk.
Can I setup Amanda to use chg-manual script to backup the partitions to
multiple tapes? I know I need to change the tape manually. I read
somewhere in the past that Amanda can not span tapes.
Thanks,
Yan
Hi everyone,
I'm having trouble with chg-manual, specifically the changerfile contents.
I can't seem to find any documentation that discusses what should be in
the following files...
/usr/adm/amanda/daily/changer-clean
/usr/adm/amanda/daily/changer-access
/usr/adm/amanda/daily/changer-slot
chg-manual, complaining about a command not found in line 33. Now
I'm not a shell programming expert, but
| EGREP=grep -E
certainly looked wrong to me. Quoting did it:
| EGREP='grep -E'
Mine is a Linux system where /bin/sh is a link to bash, but I don't
think the Bourne shell would like the above
the manual changer method --
but amcheck failed to run chg-manual, complaining about a command
not found in line 33. Now I'm not a shell programming expert, but
| EGREP=grep -E
certainly looked wrong to me. Quoting did it:
| EGREP='grep -E'
I don't use this but that is how it is in my copy
Hi Gene,
on Monday, 2003-07-28 at 07:25:08, you wrote:
| EGREP=grep -E
certainly looked wrong to me. Quoting did it:
| EGREP='grep -E'
I don't use this but that is how it is in my copy of
amanda-2.4.4p1-20030716, at line 33, with the quotes.
Must have been fixed meanwhile -- my install
On Tue, Jul 29, 2003 at 01:32:19AM +0800, Matthias Bethke wrote:
Hi Gene,
on Monday, 2003-07-28 at 07:25:08, you wrote:
| EGREP=grep -E
certainly looked wrong to me. Quoting did it:
| EGREP='grep -E'
I don't use this but that is how it is in my copy of
amanda-2.4.4p1-20030716,
Hi Gene,
on Monday, 2003-07-28 at 16:25:00, you wrote:
Hmm...I was a bit surprised about this value already, but according
to both the DIP switch and mt, compression is off.
First, mt doesn't know or report on its setting, it can only issue the
commands. Amtapetype has an option to check
On Monday 28 July 2003 20:27, Matthias Bethke wrote:
Hi Gene,
on Monday, 2003-07-28 at 16:25:00, you wrote:
Hmm...I was a bit surprised about this value already, but
according to both the DIP switch and mt, compression is off.
First, mt doesn't know or report on its setting, it can only
the library system in have the first 18
slots and its drive belong to a certain number of hosts. The other
half is meant for one host ane one host alone.
The first have uses one tape device and the chg-zd-mtx tape
changer and that works well. When I tried to configure RAIT
with chg-manual I
: Thu, 28 Nov 2002 14:42:59 -0600
From: Craig Hancock [EMAIL PROTECTED] [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Subject: RAIT and chg-manual
User-Agent: Mutt/1.4i
Precedence: bulk
There has been alot of discussion lately on how to use
RAIT. I have attempted to setup rait on my site and I haven't had
drive belong to a certain number of hosts. The other
half is meant for one host ane one host alone.
The first have uses one tape device and the chg-zd-mtx tape
changer and that works well. When I tried to configure RAIT
with chg-manual I am getting prompted to insert tapes that are
already
have uses one tape device and the chg-zd-mtx tape
changer and that works well. When I tried to configure RAIT
with chg-manual I am getting prompted to insert tapes that are
already in the library.
Good, chg-manual do exactly what it should, ask the operator
to manually change the tape.
I
belong to a certain number of hosts. The other
half is meant for one host ane one host alone.
The first have uses one tape device and the chg-zd-mtx tape
changer and that works well. When I tried to configure RAIT
with chg-manual I am getting prompted to insert tapes that are
already in the library
Hi all
My weekly off-site fulldumps dont fit in a single tape. So
I set up a manual changer but I realised that it cannot run from
a cronjob, it needs to be interactive. I wonder if someone has tweaked
the script to set this to be non interactive.
Regards,
Jordi
On Monday 18 November 2002 04:34, jordivi wrote:
Hi all
My weekly off-site fulldumps dont fit in a single tape. So
I set up a manual changer but I realised that it cannot run from
a cronjob, it needs to be interactive. I wonder if someone has
tweaked the script to set this to be non
amanda-2.4.2p2
Can someone explain to me how the chg-manual works?
I want to use more than one tape with runtape 2
When I enable the chg-manual option and try to use
something like amlabel the system complains.
[rootzeus tmp]# su amanda -c amlabel -f DailySet1 DMP01 slot 0
Can anyone help me?
I'm using the chg-manual on a DLT-8000, with runtapes=2. I've un-commented
the section in the script that sends mail once an hour, asking for the next
Amanda tape.
Right now, I started an amflush after last night's failure to find the right
tape. It rejected the first
Try this :
In chg-manual, comment or remove the line
DD if=$tape count=1 $logfile 21
Bye
- Original Message -
From: Brashers, Bart -- MFG, Inc. [EMAIL PROTECTED]
To: Amanda Users (E-mail) [EMAIL PROTECTED]
Sent: Tuesday, August 20, 2002 5:16 PM
Subject: chg-manual problems
Can
Yes i do.
The file mentionned by changerfile in amanda.conf must NOT exist or be
empty.
In chg-manual, comment the line
DD if=$tape count=1 $logfile 21
This command reads the beginning of the tape (only to log it) and causes an
Input/Output Error in amanda when it try to get tape label.
Bye
On Sun, Aug 18, 2002 at 08:29:57PM +0200, Sébastien GALLET wrote:
Yes i do.
The file mentionned by changerfile in amanda.conf must NOT exist or be
empty.
In chg-manual, comment the line
DD if=$tape count=1 $logfile 21
This command reads the beginning of the tape (only to log
On Sunday 18 August 2002 14:29, Sébastien GALLET wrote:
Yes i do.
The file mentionned by changerfile in amanda.conf must NOT exist
or be empty.
In chg-manual, comment the line
DD if=$tape count=1 $logfile 21
This command reads the beginning of the tape (only to log it) and
causes an Input
Investigating a recent posting I looked at the chg-manual code.
It contains the following:
if [ -f $changerfile ]; then
. $changerfile
fi
$changerfile is configdir/changer.conf normally.
It is being sourced in this code such that the lines should
be shell script
I'm using chg-manual, after commenting out the function request() and
un-commenting the alternate version that sends email to root once an hour.
I also changed the sleep command from 60 to 300 sec, since it takes a long
time for my DLT8000 to load a tape (back and forth, trying to sense
20/35
Hello!
I'm using Amanda 2.4.2p1 with chg-manual on FreeBSD. Everything used
to work just fine but now one weirdness has appeared in Amanda's
behaviour.
If amdump starts and correct tape is not in slot, Amanda ejects the
tape and sends me mail asking to insert the correct tape. But when I
Sorry to everyone who isn't interested, but I think this does have
some relevance to the list. Now we just need someone to write the
chg-lego script.
The amazing lego DAT tape changer:
http://slashdot.org/articles/02/01/31/2247249.shtml
Jeff Pratt
If you have time to submit a diff or patch to amanda-hackers that would be
very helpful.
-Original Message-
From: Hartmann, O. [mailto:[EMAIL PROTECTED]]
Sent: Friday, April 20, 2001 2:09 PM
To: Bort, Paul
Cc: [EMAIL PROTECTED]
Subject: RE: chg-manual "poor man's" change
in the script chg-manual contains
no identifying expression to detect that a tape is 'online'. I added there
a string which is only present if a tape has been sucessfully loaded into
the drive and now, voila, it works fine also for FreeBSD driven UNIX boxes ;-)
Thanks a lot ...
:(Warning: Stream-Of-Trace
t operator-writeable.
A amanda.conf file exists and is clearly read out by
AMANDA. The important configuration tags are:
tpchanger "chg-manual"
tapedev
(Warning: Stream-Of-Trace)
OK, I'm getting closer. The reason that it keeps asking for a tape in the
same slot is because it doesn't know what slot it's on. The message:
- loaded
Should really have a slot number in the , but doesn't. The variable $used
in chg-manual is empty for unknown
FAQ-based stuff.
If I'm right, I have to setup the following in amanda.conf:
(here are only the relevant entries)
tpchanger "chg-manual"
tapedev "/dev/nsa0"
changerfile "/usr/local/perfector/amanda/services-backup/changer.conf
The config stuff looks OK to me, I would suggest leaving off the slot part
of the amlabel command. When I label tapes through chg-manual, I always just
`amlabel Config2 NextTapeName`, and if it asks me to put a tape in a
specific slot, I just re-insert the tape in the drive, wait for it to settle
into "changer.conf" as configured with "changerfile"
in amanda.conf I receive errors about that line - so I omit all lines, I simple
"touch" a changerfile 'changer.conf' to get the control files as expected from
"chg-manual".
When trying 'amcheck config'
, Paul
Cc: [EMAIL PROTECTED]
Subject: RE: chg-manual "poor man's" changer problems
On Wed, 18 Apr 2001, Bort, Paul wrote:
Hello.
Thanks for responding.
Our systems are all based on FreeBSD 4.3-RC3, I forgot to mention that.
well, the backup operator is 'operator' and this user has full
Hi,
I am trying to set up a manual changer. I set the tapedev and and set the
tpchanger, but i am not able to find the file where i can set up the
parameters for the manual changer.(eg. changer-src)
Can someone please tell me, where i can find this file.
Thanks,
-vijay
49 matches
Mail list logo