Trying to amlabel for amvault

2021-03-09 Thread Winston Sorfleet
re why amanda thinks that tapes are in a "slot" like the vtl, but I assume that's a coding idiosyncrasy.  I had thought that the "no acceptable volumes found" could be because this is a blank tape, so I've been trying various combinations to label it, e.g. backup@flamen:/etc/amanda/vtl$ am

Re: amlabel (v3.4.3) doesn't write tape line when first creating tapelist file

2017-03-16 Thread Nathan Stratton Treadway
t; $storage, $config, $comment) I manually applied this patch to the system Tapelist.pm file, and can confirm a newly-created tapelist file is populated correctly: # rm tapelist # su backup -c "amlabel TestBackup TESTBACKUP-01 slot 1" Reading label... Found an empty tape. Writi

Re: labelstr check missing in amlabel (v3.4.3)?

2017-03-16 Thread Nathan Stratton Treadway
kup -c "amtape TestBackup slot 2" slot 2: time X label TESTBACKUP-02 changed to slot 2 # su backup -c "amlabel TestBackup BLAH-03 slot 2" Reading label... Found label 'TESTBACKUP-02' but it doesn't match the labelstr '^TESTBACKUP-[0-9][0-9]*$'. Not writing label.

Re: labelstr check missing in amlabel (v3.4.3)?

2017-03-16 Thread Nathan Stratton Treadway
On Thu, Mar 16, 2017 at 11:46:10 -0400, Jean-Louis Martineau wrote: > Thanks for reporting the issue. > I committed the attached patch. Great, thanks. I applied to the patch to Label.pm and can confirm it works as expected now: # su backup -c "amlabel TestBackup BLAH-02 slot

Re: amlabel (v3.4.3) doesn't write tape line when first creating tapelist file

2017-03-16 Thread Jean-Louis Martineau
Nathan, Thanks for reporting the issue. I committed the attached patch. Jean-LouisOn 15/03/17 06:27 PM, Nathan Stratton Treadway wrote: > Summary: if the "tapelist" file doesn't exist, amlabel creates the file > but doesn't populate it. (Again, this is using Amanda 3.4.3.) >

Re: labelstr check missing in amlabel (v3.4.3)?

2017-03-16 Thread Jean-Louis Martineau
Nathan, Thanks for reporting the issue. I committed the attached patch. Jean-Louis On 15/03/17 05:45 PM, Nathan Stratton Treadway wrote: > I'm running Amanda 3.4.3 (built under Ubuntu from Jose's Debian > "experimental" source package, v3.4.3-1). > > The man page

amlabel (v3.4.3) doesn't write tape line when first creating tapelist file

2017-03-15 Thread Nathan Stratton Treadway
Summary: if the "tapelist" file doesn't exist, amlabel creates the file but doesn't populate it. (Again, this is using Amanda 3.4.3.) (In the following examples, I delete the 0.TESTBACKUP-01 file out of the vtape slot1 directory before each test run, so the only difference is the

labelstr check missing in amlabel (v3.4.3)?

2017-03-15 Thread Nathan Stratton Treadway
I'm running Amanda 3.4.3 (built under Ubuntu from Jose's Debian "experimental" source package, v3.4.3-1). The man page for "amlabel" includes the following paragraph: Label 'label' doesn't match labelstr 'labelstr' The given label does not match the confi

Re: What does this mean: "amlabel: could not load slot "1": unexpected EOF"

2016-03-19 Thread Robert Heller
ying to use Amazon S3 as a tape changer, but I am getting an error > from > amlabel: "amlabel: could not load slot "1": unexpected EOF" > > I set things up using the documentation at > http://wiki.zmanda.com/index.php/How_To:Backup_to_Amazon_S3#Old_chg-mu

What does this mean: "amlabel: could not load slot "1": unexpected EOF"

2016-03-18 Thread Robert Heller
OS: CentOS 6 Amanda version: 2.6.1p2-9.el6_6.x86_64 I am trying to use Amazon S3 as a tape changer, but I am getting an error from amlabel: "amlabel: could not load slot "1": unexpected EOF" I set things up using the documentation at http://wiki.zmanda.com/index.php/How_To

Re: amlabel problem

2015-10-29 Thread Jean-Louis Martineau
When reporting a problem, can you at least report which version you are using. We also need a way to reproduce the issue, the minum it hat case is the amlabel command line argument and all setting related to the changer. Bug get fixed a lot faster when enough information to reproduce

amlabel problem

2015-10-17 Thread Kamil Jońca
I want to add some new virtual tapes, but I got: --8<---cut here---start->8--- Reading label... Found an empty tape. amlabel: Can't use an undefined value as a subroutine reference at /usr/sbin/amlabel line 120. --8<---cut here-

Question about --assign of amlabel

2014-05-27 Thread Kazuhiro Takenaka
Hello, Everyone. I am reading the man page of the amlabel command of Amanda 3.3.3. There is an explanation about the '--assign' option in the man page, it says; If [--assign] is given, the barcode and meta-label are assigned to the label without labeling the volume. The label must already

Re: Question about --assign of amlabel

2014-05-27 Thread Jean-Louis Martineau
[--assign] must be used only when the volume is already labeled and the label already in the tapelist file, you already ran amlabel for the volume. eg. If you change from a config that do not use the barcode to a config that use it, you can use [--assign] to add the barcode to the tapelist

Re: Question about --assign of amlabel

2014-05-27 Thread Kazuhiro Takenaka
: [--assign] must be used only when the volume is already labeled and the label already in the tapelist file, you already ran amlabel for the volume. eg. If you change from a config that do not use the barcode to a config that use it, you can use [--assign] to add the barcode to the tapelist. Jean

Re: amlabel segmentation fault

2014-01-10 Thread Jean-Louis Martineau
. Is there a way to rebuild with '-g' for debugging support and to avoid stripping symbols? Would that help? Here is the gdb output... $ gdb --args perl /usr/local/sbin/amlabel --version GNU gdb (GDB) 7.6.1-ubuntu Copyright (C) 2013 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3

RE: amlabel segmentation fault

2014-01-10 Thread Kervin L. Pierre
-Louis Martineau [mailto:martin...@zmanda.com] Sent: Friday, January 10, 2014 8:35 AM To: Kervin L. Pierre Cc: amanda-users@amanda.org Subject: Re: amlabel segmentation fault Kervin, Did you try the patch? Jean-Louis On 01/06/2014 09:13 AM, Jean-Louis Martineau wrote: Kervin, Looks like

Re: amlabel segmentation fault

2014-01-06 Thread Jean-Louis Martineau
that help? Here is the gdb output... $ gdb --args perl /usr/local/sbin/amlabel --version GNU gdb (GDB) 7.6.1-ubuntu Copyright (C) 2013 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later http://gnu.org/licenses/gpl.html This is free software: you are free to change

Re: amlabel segmentation fault

2014-01-05 Thread Jean-Louis Martineau
Kevin, run amlabel under gdb: $ gdb perl (gdb) run /usr/local/sbin/amlabel --version (gdb) bt (gdb) list Jean-Louis On 01/04/2014 11:01 PM, Kervin L. Pierre wrote: Hi, This Segfault seems to occur occasionally and for different reasons. It's possible that amlabel do not handle unknown

amlabel segmentation fault

2014-01-04 Thread Kervin L. Pierre
Hi, This Segfault seems to occur occasionally and for different reasons. It's possible that amlabel do not handle unknown devices gracefully. But I'm still looking. My tapedevice is S3. But I just built 3.3.5 on a Ubuntu desktop and now I get a segfault whenever I run amlabel... $ perl -d

error whith amlabel and chg-rait

2013-06-27 Thread Dennis Benndorf
Hello, I am trying to set up a mirror of too robots using chg-rait. Tapes in both robots have the same barcodes. Now I want to label them with the name of their barcodes, but the following happens: /amanda@dl380-54:~$ amlabel -f --meta META225 --barcode D00225 mirror/ /Reading label

Re: error whith amlabel and chg-rait

2013-06-27 Thread Jean-Louis Martineau
chg-rait and chg-robot do not use meta label, don't try to set it. Only chg-disk use meta-label. The barcode is the combination of all barcodes, as the inventory told you, the barcode is '{D00225,D00225}' amlabel -f --barcode '{D00225,D00225}' mirror The same is true for the slot number

Re: error whith amlabel and chg-rait

2013-06-27 Thread Dennis Benndorf
: amanda@dl380-54:~$ amlabel -f mirror slot '{225,225}' Reading label... Found Amanda volume 'D00225'. amlabel: Can't call method make_new_meta_label on an undefined value at /usr/local/share/perl/5.14.2/Amanda/Changer.pm line 1632. amanda@dl380-54:~$ amlabel -f --barcode

Re: error whith amlabel and chg-rait

2013-06-27 Thread Jean-Louis Martineau
Jean-Louis Martineau: Dennis, Do you have 'meta-autolabel' set in your amanda.conf? unset it. Jean-Louis On 06/27/2013 08:33 AM, Dennis Benndorf wrote: Ok I understand but why does it tell me those messages: amanda@dl380-54:~$ amlabel -f mirror slot '{225,225}' Reading

Re: error whith amlabel and chg-rait

2013-06-27 Thread Dennis Benndorf
Hi, amanda@dl380-54:~$ amlabel -f mirror slot '{225,225}' Reading label... Found Amanda volume 'D00225'. Newly-generated label '' does not match labelstr '^D0[0-9]*$' Dont know why this happend, because labelstr is set to ^D0[0-9]*$ and autolabel to $b any . but if I set it by hand it works

Re: error whith amlabel and chg-rait

2013-06-27 Thread Jean-Louis Martineau
Dennis, Try the attached patch. The barcode for the rait is '{D00225,D00225}', You must adjust the labelstr. Jean-Louis On 06/27/2013 10:30 AM, Dennis Benndorf wrote: Hi, amanda@dl380-54:~$ amlabel -f mirror slot '{225,225}' Reading label... Found Amanda volume 'D00225'. Newly

Re: Error for amlabel

2013-02-28 Thread Amit Karpe
On Tue, Feb 26, 2013 at 3:50 AM, Marcus Pless mpl...@ucsd.edu wrote: On 02/25/2013 01:14:22 AM, Amit Karpe wrote: On Mon, Feb 25, 2013 at 4:55 PM, Amit Karpe amitka...@gmail.com wrote: On Fri, Nov 30, 2012 at 12:32 PM, Jon LaBadie j...@jgcomp.com wrote: On Fri, Nov 30, 2012 at

Re: Error for amlabel

2013-02-25 Thread Amit Karpe
On Fri, Nov 30, 2012 at 12:32 PM, Jon LaBadie j...@jgcomp.com wrote: On Fri, Nov 30, 2012 at 11:20:37AM +0800, Amit Karpe wrote: Any idea for my problem. The last line of your first message seems critical: ... I could not able to write anything using amdump or dd. If you can't read

Re: Error for amlabel

2013-02-25 Thread Amit Karpe
On Mon, Feb 25, 2013 at 4:55 PM, Amit Karpe amitka...@gmail.com wrote: On Fri, Nov 30, 2012 at 12:32 PM, Jon LaBadie j...@jgcomp.com wrote: On Fri, Nov 30, 2012 at 11:20:37AM +0800, Amit Karpe wrote: Any idea for my problem. The last line of your first message seems critical: ... I

Re: Error for amlabel

2013-02-25 Thread Jon Brown
There should be an option for 'Ignore Barcode Media ID' Have you tried enabling that? Amit Karpe amitka...@gmail.com 2/25/2013 2:14 AM On Mon, Feb 25, 2013 at 4:55 PM, Amit Karpe amitka...@gmail.com wrote: On Fri, Nov 30, 2012 at 12:32 PM, Jon LaBadie j...@jgcomp.com wrote: On Fri,

Re: Error for amlabel

2013-02-25 Thread Marcus Pless
On 02/25/2013 01:14:22 AM, Amit Karpe wrote: On Mon, Feb 25, 2013 at 4:55 PM, Amit Karpe amitka...@gmail.com wrote: On Fri, Nov 30, 2012 at 12:32 PM, Jon LaBadie j...@jgcomp.com wrote: On Fri, Nov 30, 2012 at 11:20:37AM +0800, Amit Karpe wrote: Any idea for my problem. The last

Re: Error for amlabel

2012-11-29 Thread Amit Karpe
Any idea for my problem. Very recently I buy new cleaning cartridge. I have confirm than cleaning process works. But while again trying for Labeling I got following errors. -bash-4.0$ for ((i=1; $i=3;i++)); do amlabel DailySet1 DailySet1-$i slot $i; done labeling tape in slot 1 (tape:/dev/st0

Re: Error for amlabel

2012-11-29 Thread Jon LaBadie
On Fri, Nov 30, 2012 at 11:20:37AM +0800, Amit Karpe wrote: Any idea for my problem. The last line of your first message seems critical: ... I could not able to write anything using amdump or dd. If you can't read or write using standard system tools like dd, there is nothing amanda can do

amlabel --barcode fails

2011-04-18 Thread Dennis Benndorf
Hello, testing 3.3beta1, fails for me when using the new feature amlabel --barcode: amlabel -f --barcode D10080 -olabelstr='^D1[0-9]*$' -otpchanger=l700-robot-MRO daily Reading label... barcode: D10080 sl_barcode: D10080 slot: 269 Found an empty tape. Writing label ''... ** ERROR:device.c:1144

Re: amlabel --barcode fails

2011-04-18 Thread Jean-Louis Martineau
Dennis Benndorf wrote: Hello, testing 3.3beta1, fails for me when using the new feature amlabel --barcode: amlabel -f --barcode D10080 -olabelstr='^D1[0-9]*$' -otpchanger=l700-robot-MRO daily Reading label... barcode: D10080 sl_barcode: D10080 slot: 269 Found an empty tape. Writing label

Re: amlabel --barcode fails

2011-04-18 Thread Dennis Benndorf
An: Dennis Benndorf dennis.bennd...@gmx.de CC: amanda-users@amanda.org Betreff: Re: amlabel --barcode fails Dennis Benndorf wrote: Hello, testing 3.3beta1, fails for me when using the new feature amlabel --barcode: amlabel -f --barcode D10080 -olabelstr='^D1[0-9]*$' -otpchanger

Re: amlabel --barcode fails

2011-04-18 Thread Dennis Benndorf
Oh yes, thank you! Nice feature.. Original-Nachricht Datum: Mon, 18 Apr 2011 10:21:25 -0400 Von: Jean-Louis Martineau martin...@zmanda.com An: Dennis Benndorf dennis.bennd...@gmx.de CC: amanda-users@amanda.org Betreff: Re: amlabel --barcode fails Dennis Benndorf wrote

Re: amlabel --barcode fails

2011-04-18 Thread Jean-Louis Martineau
Original-Nachricht Datum: Mon, 18 Apr 2011 10:10:24 -0400 Von: Jean-Louis Martineau martin...@zmanda.com An: Dennis Benndorf dennis.bennd...@gmx.de CC: amanda-users@amanda.org Betreff: Re: amlabel --barcode fails Dennis Benndorf wrote: Hello, testing 3.3beta1

[Amanda-users] amlabel error on 3.1.0beta1

2010-03-31 Thread whale
/amanda/gnutar-lists --with-index-server=localhost --with-bsd-security --with-smbclient=/usr/bin/smbclient --with-amandahosts --with-ssh-security --with-bsdtcp-security --with-bsdudp-security --without-ipv6 when I run: amlabel -f DailySet1 DLL4 slot 1 I get this error: amlabel

Re: [Amanda-users] amlabel error on 3.1.0beta1

2010-03-31 Thread Jean-Louis Martineau
Look in the amlabel.*.debug file, it might gives a better error message. Jean-Louis whale wrote: Hi, I testing amanda-3.1.0rc08-20100317 with chg:robot on ubuntu server 8.04 LTS and everything is working fine. I tried to upgrade to beta1 I'm able to compile and install from source. Config

[Amanda-users] amlabel syntax error

2009-08-05 Thread crom84
I had a reply at another forum that is linked to this one, but I do not see the reply anywhere in this forum. I'm still stuck anybody? Anybody at all? :D +-- |This was sent by cro...@hotmail.com via Backup Central.

Re: [Amanda-users] amlabel syntax error

2009-08-05 Thread Chris Hoogendyk
crom84 wrote: I had a reply at another forum that is linked to this one, but I do not see the reply anywhere in this forum. I'm still stuck anybody? Anybody at all? I don't see a response to Jean-Louis Martineau's suggestions. You did su backup ./amlabel daily daily-21 slot21

[Amanda-users] amlabel syntax error

2009-07-30 Thread crom84
Hi all :) I am trying to use amlabel to label some more slots that I have created for my daily backup configuration. Here is the command I am running: su backup ./amlabel daily daily-21 slot21. The set is daily, the label I want to set is daily-21 and the name of the folder (e.g. slot

Re: [Amanda-users] amlabel syntax error

2009-07-30 Thread Jean-Louis Martineau
The syntax is: amlabel daily daily-21 slot 21 Which amlabel are you executing? Specify the full path of the installed binary. Jean-Louis crom84 wrote: Hi all :) I am trying to use amlabel to label some more slots that I have created for my daily backup configuration. Here is the command

multiple questions: amlabel, solaris device for tape drive etc.

2009-06-22 Thread Andreas Kuntzagk
gave me some sensible values for this. (actually I used the rewinding device at that time, but the non-rewinding shouldn't differ) I now also managed to label a tape using amlabel. Now my question is: How do I label all tapes in the changer? Do I use some kind of pattern or can I label them

Re: multiple questions: amlabel, solaris device for tape drive etc.

2009-06-22 Thread Darin Perusich
I always use /dev/rmt/0cn device on Solaris but if I'm not mistaken you no longer need to specify the no-rewind device for the 2.6 release of Amanda. The 'b' is to use BSD behavior instead of SRV4 for error handling, see the mtio man page for more details. Use amlabel to label the tapes, you'll

Re: multiple questions: amlabel, solaris device for tape drive etc.

2009-06-22 Thread Brian Cuttler
to this device with tar. Also amtapetype gave me some sensible values for this. (actually I used the rewinding device at that time, but the non-rewinding shouldn't differ) I now also managed to label a tape using amlabel. Now my question is: How do I label all tapes in the changer? Do I use some kind

Re: multiple questions: amlabel, solaris device for tape drive etc.

2009-06-22 Thread Dustin J. Mitchell
On Mon, Jun 22, 2009 at 9:00 AM, Darin Perusichdarin.perus...@cognigencorp.com wrote: I always use /dev/rmt/0cn device on Solaris but if I'm not mistaken you no longer need to specify the no-rewind device for the 2.6 release of Amanda. The 'b' is to use BSD behavior instead of SRV4 for error

Re: multiple questions: amlabel, solaris device for tape drive etc.

2009-06-22 Thread Stefan G. Weichinger
Dustin J. Mitchell schrieb: On Mon, Jun 22, 2009 at 9:00 AM, Darin Perusichdarin.perus...@cognigencorp.com wrote: I always use /dev/rmt/0cn device on Solaris but if I'm not mistaken you no longer need to specify the no-rewind device for the 2.6 release of Amanda. The 'b' is to use BSD

Re: multiple questions: amlabel, solaris device for tape drive etc.

2009-06-22 Thread Dustin J. Mitchell
On Mon, Jun 22, 2009 at 4:04 PM, Stefan G. Weichingers...@amanda.org wrote: Could you describe briefly why? Amanda used to need a non-rewinding tape device because it would close and re-open the device (sometimes in a different process) between files. It no longer does this. What has changed

Re: multiple questions: amlabel, solaris device for tape drive etc.

2009-06-22 Thread Stefan G. Weichinger
Dustin J. Mitchell schrieb: On Mon, Jun 22, 2009 at 4:04 PM, Stefan G. Weichingers...@amanda.org wrote: Could you describe briefly why? Amanda used to need a non-rewinding tape device because it would close and re-open the device (sometimes in a different process) between files. It no

Re: amlabel problem

2008-02-29 Thread Stefan G. Weichinger
) a few tapes (and write them that evening), but I'm having difficulty with subsequent tapes. samar 8# /usr/local/sbin/amlabel -f samar SAMAR30 rewinding, reading label, reading label: Invalid argument rewinding, writing label SAMAR30 amlabel: writing label: Invalid argument So you use another

Re: amlabel problem

2008-02-29 Thread Brian Cuttler
Stefan, I didn't realize the amlabel command wrote a log, I have it, unfortunately not as informative as one might like in these circumstances. samar 5# more amlabel.20080229105753.debug amlabel: debug 1 pid 873486 ruid 0 euid 0: start at Fri Feb 29 10:57:53 2008 amlabel: writing label

Re: amlabel problem - reading chunks from holding area

2008-02-29 Thread Brian Cuttler
done for the machines our site will retain. thanks, Brian On Fri, Feb 29, 2008 at 11:13:06AM -0500, Brian Cuttler wrote: Stefan, I didn't realize the amlabel command wrote a log, I have

Re: amlabel problem - reading chunks from holding area

2008-02-29 Thread Chris Hoogendyk
Brian Cuttler wrote: Stefan, et al, We have decided that the standalone tape drive has failed, it will not read nor write known good tapes. We are thinking of allocating a large NFS partition (I know, bad mojo and performace but apparently/supposedly its going to be temporary) and just

Re: amlabel problem - reading chunks from holding area

2008-02-29 Thread Brian Cuttler
Chris, I _so_ love amanda! thank you! On Fri, Feb 29, 2008 at 02:43:50PM -0500, Chris Hoogendyk wrote: Brian Cuttler wrote: Stefan, et al, We have decided that the standalone tape drive has failed, it will not read nor write known

Re: amlabel problem - reading chunks from holding area

2008-02-29 Thread Stefan G. Weichinger
Brian Cuttler schrieb: Chris, I _so_ love amanda! Nice to hear that ;) Stefan

amlabel problem

2008-02-28 Thread Brian Cuttler
that evening), but I'm having difficulty with subsequent tapes. samar 8# /usr/local/sbin/amlabel -f samar SAMAR30 rewinding, reading label, reading label: Invalid argument rewinding, writing label SAMAR30 amlabel: writing label: Invalid argument I am running the amanda server 2.4.4p1-20030716 on IRIX

amlabel: not an amanda tape ???

2007-08-01 Thread Michael D Schleif
, and successfully got a tapetype definition. Now, I want to label this same tape, and perform the first backup. # sudo -u backup amlabel -f DailySet1 backup.001 rewinding, reading label, not an amanda tape (Invalid argument) rewinding, writing label backup.001, checking label amlabel

Re: amlabel: not an amanda tape ???

2007-08-01 Thread Stefan G. Weichinger
today with amtapetype, and successfully got a tapetype definition. Now, I want to label this same tape, and perform the first backup. # sudo -u backup amlabel -f DailySet1 backup.001 rewinding, reading label, not an amanda tape (Invalid argument) rewinding, writing label backup

Re: amlabel: not an amanda tape ???

2007-08-01 Thread Paul Bijnens
earlier today with amtapetype, and successfully got a tapetype definition. Now, I want to label this same tape, and perform the first backup. # sudo -u backup amlabel -f DailySet1 backup.001 rewinding, reading label, not an amanda tape (Invalid argument) rewinding, writing label

Re: amlabel: not an amanda tape ??? [ SOLVED ]

2007-08-01 Thread Michael D Schleif
). Soft error count since last status=0 General status bits on (101): ONLINE IM_REP_EN And: # sudo -u backup amlabel -f DailySet1 backup.001 rewinding, reading label backup.001, tape is active rewinding, writing label backup.001, checking label, done. * Stefan G

amlabel: amlabel: not an amanda tape ???

2007-07-31 Thread Michael D Schleif
definition. Now, I want to label this same tape, and perform the first backup. # sudo -u backup amlabel -f DailySet1 backup.001 rewinding, reading label, not an amanda tape (Invalid argument) rewinding, writing label backup.001, checking label amlabel: not an amanda tape (Invalid argument

Re: newbie ? - tapeless operation - amlabel error

2007-05-30 Thread Paul Bijnens
On 2007-05-29 22:11, Robert Echlin wrote: Hi, Stefan, In your HOWTO, you have the following configuration for tapedev: tapedev file:/amandatapes/daily Should that be file:// ? No a single slash is fine. Ref: http://forums.zmanda.com/archive/index.php/t-470.html Note the original

newbie ? - tapeless operation - amlabel error

2007-05-29 Thread Jeanna Geier
Hi All! I'm new to Amanda and am trying to configure it for tapeless operation using the instructions in the following link: http://amanda.sourceforge.net/fom-serve/cache/191.html. I'm down to the labeling in step #5 'Use amlabel to label the tapes'; however, when I run the amlabel command, I get

Re: newbie ? - tapeless operation - amlabel error

2007-05-29 Thread Jeanna Geier
and am trying to configure it for tapeless operation using the instructions in the following link: http://amanda.sourceforge.net/fom-serve/cache/191.html. I'm down to the labeling in step #5 'Use amlabel to label the tapes'; however, when I run the amlabel command, I get the following

RE: newbie ? - tapeless operation - amlabel error

2007-05-29 Thread Robert Echlin
Hi, I ran into a similar message : amlabel: could not load slot 1: could not read result from /usr/lib/amanda/chg-disk I found the answer on the forums: http://forums.zmanda.com/archive/index.php/t-470.html In your amanda.conf, you need to define: tapedev file://path/to/your/slots Rob

RE: newbie ? - tapeless operation - amlabel error

2007-05-29 Thread Robert Echlin
it online by creating the required data symlink * ln -s slot1 data * Check it - this command should return ONLINE * ammt -f file:/mnt/Amanda/Set2/vtapes/DailySet2/slots/ status * Label the tapes - the changer must be online first * for i in `seq 1 9`; do amlabel

Re: newbie ? - tapeless operation - amlabel error

2007-05-29 Thread Stefan G. Weichinger
Jeanna Geier schrieb: Hello- Thank you for the reply. Are you *sure* you want your vtapes in /usr/src/amanda ? No - I'm not sure of anything for sure, I'm just trying to get this running! =) But, have not been successful! Jeanna, storing backups in /usr/src isn't compliant to the way of

Re: newbie ? - tapeless operation - amlabel error

2007-05-29 Thread Stefan G. Weichinger
Stefan G. Weichinger schrieb: -- Stefan G. Weichinger amanda core team member mailto: [EMAIL PROTECTED] pgp: 3C64175D -- Stefan G. Weichinger amanda core team member mailto: [EMAIL PROTECTED] pgp: 3C64175D -- g stupid thunderbird-extension again sorry

Re: newbie ? - tapeless operation - amlabel error

2007-05-29 Thread Jeanna Geier
for the input, though - I'll make sure to double-check the value so when I do get ready to write it to tape, the value is correct! -jg On Tue, 29 May 2007 15:23:27 -0400 Robert Echlin [EMAIL PROTECTED] wrote: Hi, I ran into a similar message : amlabel: could not load slot 1: could

RE: newbie ? - tapeless operation - amlabel error

2007-05-29 Thread Robert Echlin
- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Stefan G. Weichinger Sent: Tuesday, May 29, 2007 3:57 PM To: amanda-users@amanda.org Subject: Re: newbie ? - tapeless operation - amlabel error Jeanna Geier schrieb: Hello- Thank you for the reply. Are you *sure* you want your

Re: newbie ? - tapeless operation - amlabel error

2007-05-29 Thread Jeanna Geier
Thanks so much to both you and Rob for the great info; I'll start over and follow this HOWTO from the get-go and see where I end up. Thanks again for your time and input, it is very much appreciated!! -jg On Tue, 29 May 2007 21:57:02 +0200 Stefan G. Weichinger [EMAIL PROTECTED] wrote: Jeanna

Re: newbie ? - tapeless operation - amlabel error

2007-05-29 Thread Stefan G. Weichinger
Jeanna Geier schrieb: Thanks so much for the reply! I can change that parameter value, however, in the 'HOWTO' I was following, it tells me to comment out that specific parameter so I don't think that will help: - /etc/amanda/DailySet1/amanda.conf

Re: newbie ? - tapeless operation - amlabel error

2007-05-29 Thread Stefan G. Weichinger
Jeanna Geier schrieb: Thanks so much to both you and Rob for the great info; I'll start over and follow this HOWTO from the get-go and see where I end up. Feel free to come back again here before you end up completely. ;) Stefan -- Stefan G. Weichinger amanda core team member mailto:

amlabel problem

2006-08-17 Thread Natalia García Nebot
labelstr to labelstr ^DiariaPruebaTape[0-9][0-9]*$ When I try to label my first tape amlabe says me: amlabel: could not load tapelist /etc/amanda/DiariaPrueba/tapelist So i tried this command: su amanda -c amlabel -f DiariaPrueba DiariaPrueba01 And amlabel says me: amlabel: label

Re: amlabel problem

2006-08-17 Thread Franz-Heinrich Massmann
have configures de parameter labelstr to labelstr ^DiariaPruebaTape[0-9][0-9]*$ When I try to label my first tape amlabe says me: amlabel: could not load tapelist /etc/amanda/DiariaPrueba/tapelist So i tried this command: su amanda -c amlabel -f DiariaPrueba DiariaPrueba01

Re: amlabel problem

2006-08-17 Thread Joshua Baker-LePain
before. In my amanda.conf I have configures de parameter labelstr to labelstr ^DiariaPruebaTape[0-9][0-9]*$ When I try to label my first tape amlabe says me: amlabel: could not load tapelist /etc/amanda/DiariaPrueba/tapelist su amanda -c touch /etc/amanda/DiariaPrueba/tapelist -- Joshua

Re: amlabel problem

2006-08-17 Thread Jeffrey Anderson
one tape to make tests before. In my amanda.conf I have configures de parameter labelstr to labelstr ^DiariaPruebaTape[0-9][0-9]*$ When I try to label my first tape amlabe says me: amlabel: could not load tapelist /etc/amanda/DiariaPrueba/tapelist You may need to create tapelist by hand

Re: amlabel: writing label: Device or resource busy

2006-08-09 Thread Jon LaBadie
On Wed, Aug 09, 2006 at 05:22:37PM +0200, Franz-Heinrich Massmann wrote: Hi, The same problem as Sven reported on 02-Aug has been seen with Novell Suse 10.1/Qualstar TLS46120/Amanda 2.5.0. Six out of 20 tapes have been labelled some time ago, but no way to label another one. Does

amlabel: writing label: Device or resource busy

2006-08-02 Thread Sven Rudolph
(This is on Debian GNU/Linux, kernel 2.6.16.20) With amanda 2.5.0p2 I cannot label new tapes: backup:~$ /usr/sbin/amlabel WeeklySet1 Set1-4-12 slot 12 changer: got exit: 0 str: 12 /dev/overland-sdlt600-tape labeling tape in slot 12 (/dev/overland-sdlt600-tape): rewinding, reading label

short write error on amlabel

2006-06-27 Thread Olivier Nicole
Hi, I suddenly find out that amlable is givingthe following error: amlabel: writing endmark: short write whether I use a new tape or reuse an old tape. The label seems to be correct, amcheck can check thattape, but it is not added to tapelist. Any idea what is going on? Best regards

Debugging amlabel?

2006-05-04 Thread Arnd
Hello. Is there a possibility to log the activities of amlabel? I can load any tape with amtape but amlabel doesn't work. After loading the tape from the first slot amlabel tries to label it but this seems to hang: $ amlabel tapeBackup tapeBackup-01 labeling tape in slot 1 (/dev/nst0

Re: Debugging amlabel?

2006-05-04 Thread Paul Bijnens
On 2006-05-04 17:13, Arnd wrote: Hello. Is there a possibility to log the activities of amlabel? I can load any tape with amtape but amlabel doesn't work. After loading the tape from the first slot amlabel tries to label it but this seems to hang: $ amlabel tapeBackup tapeBackup-01 labeling

Re: Debugging amlabel?

2006-05-04 Thread Arnd
thinking about the chicken): $ amlabel tapeBackup tapeBackup-01 labeling tape in slot 1 (/dev/nst0): rewinding, reading label, reading label: Input/output error rewinding, writing label tapeBackup-01, checking label, done. Let's start dumping ;-) Thank you! Arnd

Re: Debugging amlabel?

2006-05-04 Thread Jon LaBadie
On Thu, May 04, 2006 at 07:10:39PM +0200, Arnd wrote: Paul Bijnens wrote: Normal scsi voodoo: is the cable terminated? Did you sacrifice a chicken? ... Can you read/write to the tape when not using amanda tools, e.g. simple: dd if=somefile bs=32k of=/dev/st0 I must say that my

Re: Problem with amlabel

2006-04-27 Thread Christoph Scheeder
Carl Holzhauer schrieb: I'm sure I just have something written incorrectly, but here's the error I'm getting -bash-3.00$ amlabel dailyset dailyset0 slot 0 changer: got exit: 1 str: error could not read result from /usr/local/libexec/chg-scsi-solaris.conf amlabel: could not load slot 0: could

RE: Problem with amlabel

2006-04-27 Thread Carl Holzhauer
That's part of the problem Paul, thanks for catching that. When I make that change however, I get an error: -bash-3.00$ amlabel dailyset dailyset0 slot 0 changer: got exit: 2 str: please check your config and use a config file for chg-scsi amlabel: could not load slot 0: check your config

Problem with amlabel

2006-04-26 Thread Carl Holzhauer
I'm sure I just have something written incorrectly, but here's the error I'm getting -bash-3.00$ amlabel dailyset dailyset0 slot 0changer: got exit: 1 str: error could not read result from "/usr/local/libexec/chg-scsi-solaris.conf"amlabel: could not load slot "0": c

Re: Problem with amlabel

2006-04-26 Thread Jon LaBadie
On Wed, Apr 26, 2006 at 04:28:33PM -0400, Carl Holzhauer wrote: I'm sure I just have something written incorrectly, but here's the error I'm getting -bash-3.00$ amlabel dailyset dailyset0 slot 0 changer: got exit: 1 str: error could not read result from /usr/local/libexec/chg-scsi

amlabel: command not found (was Re: port 35280 not secure)

2006-04-05 Thread Anne Wilson
' changed to 0750 (rwxr-x---) ./mkvtapes: line 24: amlabel: command not found etc. So, two possibilities. Am I running this from the wrong directory? - it is in server-src. I've tried running mkvtapes both by referencing the directory above, where I originally had it, and by putting a copy in server

Re: amlabel: command not found (was Re: port 35280 not secure)

2006-04-05 Thread Gene Heskett
to see mode of `/Backup/amandatapes/Dailys/slot1' changed to 0750 (rwxr-x---) ./mkvtapes: line 24: amlabel: command not found etc. So, two possibilities. Am I running this from the wrong directory? - it is in server-src. I've tried running mkvtapes both by referencing the directory above, where

Re: amlabel: command not found (was Re: port 35280 not secure)

2006-04-05 Thread Anne Wilson
On Wednesday 05 April 2006 15:27, Gene Heskett wrote: I found it, at least I did here Anne. It seems that if you are logged in from a password login as the user amanda, then /usr/local/sbin IS NOT in the $PATH, see my other private message. I also posted both here and on the fedora list as

Re: amlabel: command not found (was Re: port 35280 not secure)

2006-04-05 Thread Gene Heskett
On Wednesday 05 April 2006 10:52, Anne Wilson wrote: On Wednesday 05 April 2006 15:27, Gene Heskett wrote: I found it, at least I did here Anne. It seems that if you are logged in from a password login as the user amanda, then /usr/local/sbin IS NOT in the $PATH, see my other private message.

Re: amlabel Issue

2005-08-24 Thread James Jacocks
Indeed, amtape produces the same response. Does this help us to determine the cause? Thanks! On Aug 23, 2005, at 6:49 PM, Jon LaBadie wrote: On Tue, Aug 23, 2005 at 02:04:13PM -0400, James Jacocks wrote: We are currently experiencing the below issue using amlabel. I have tried

Re: amlabel Issue

2005-08-24 Thread James Jacocks
at 02:04:13PM -0400, James Jacocks wrote: We are currently experiencing the below issue using amlabel. I have tried with and without a tape loaded, with and without a slot specified etc.. All chg-zd-mtx tests described in the script notes have been confirmed to work

amlabel Issue

2005-08-23 Thread James Jacocks
We are currently experiencing the below issue using amlabel. I have tried with and without a tape loaded, with and without a slot specified etc.. All chg-zd-mtx tests described in the script notes have been confirmed to work.. amlabel: could not load slot 1: no slots available

Re: amlabel Issue

2005-08-23 Thread Jon LaBadie
On Tue, Aug 23, 2005 at 02:04:13PM -0400, James Jacocks wrote: We are currently experiencing the below issue using amlabel. I have tried with and without a tape loaded, with and without a slot specified etc.. All chg-zd-mtx tests described in the script notes have been

amlabel: tape is write protected

2005-07-26 Thread Lei Zhong
Hi all, When I tried to label a tape using amlabel, I got an error amlabel: tape is write protected. Does anybody know how to fix it? Right now, I am running mt f /dev/nst0 erase. Its taking forever. Is there any fast way to commission a tape? Thank you, Lei

Re: amlabel: tape is write protected

2005-07-26 Thread Jon LaBadie
On Tue, Jul 26, 2005 at 11:00:48AM -0400, Lei Zhong wrote: Hi all, When I tried to label a tape using amlabel, I got an error amlabel: tape is write protected. Does anybody know how to fix it? Right now, I am running mt -f /dev/nst0 erase. It's taking forever. Is there any fast way

  1   2   3   4   >