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 poster had:

   tapedev "file:/space/amanda-vtapes/tape"

but explained that the subdir of amanda-vtapes is "daily" and not "tape"
So this is the correct value:

   tapedev "file:/space/amanda-vtapes/daily/slots"

and you may add as many slashes as you want, as Unix does not
threat those special:
  "ls //"   is equivalent to "ls /"  or even "ls ///"


-- 
Paul Bijnens, xplanation Technology ServicesTel  +32 16 397.511
Technologielaan 21 bus 2, B-3001 Leuven, BELGIUMFax  +32 16 397.512
http://www.xplanation.com/  email:  [EMAIL PROTECTED]
***
* I think I've got the hang of it now:  exit, ^D, ^C, ^\, ^Z, ^Q, ^^, *
* F6, quit, ZZ, :q, :q!, M-Z, ^X^C, logoff, logout, close, bye, /bye, *
* stop, end, F3, ~., ^]c, +++ ATH, disconnect, halt,  abort,  hangup, *
* PF4, F20, ^X^X, :D::D, KJOB, F14-f-e, F8-e,  kill -1 $$,  shutdown, *
* init 0, kill -9 1, Alt-F4, Ctrl-Alt-Del, AltGr-NumLock, Stop-A, ... *
* ...  "Are you sure?"  ...   YES   ...   Phew ...   I'm out  *
***



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: [EMAIL PROTECTED]
pgp:3C64175D
-- 
oops! linux consulting & implementation
http://www.oops.co.at
-- 


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
>-
># These are the options that differ from  
>examples/amanda.conf
> 
>dumpcycle 14 days
>tapecycle 14
>#runspercycle  # defaults to 1 per day
> 
>runtapes 1
>tpchanger "chg-multi"
>changerfile "/etc/amanda/DailySet1/changer.conf"
># Comment out tapedev and changerdev
> 
> Thanks 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!

This is OK for using the changer-script chg-multi.
chg-disk is preferred for quite a while now by most people.

Stefan

-- 
Stefan G. Weichinger
amanda core team member
mailto: [EMAIL PROTECTED]
pgp:3C64175D
-- 
oops! linux consulting & implementation
http://www.oops.co.at
-- 


Re: newbie ? - tapeless operation -> amlabel error

2007-05-29 Thread Stefan G. Weichinger
Robert Echlin schrieb:
> Hi, Stefan,
> In your HOWTO, you have the following configuration for tapedev:
> 
>   tapedev  "file:/amandatapes/daily" 
> 
> Should that be file:// ?

What works for you?

;)

Checked a working vtape-setup of one of my customers right now (got a
valid report from that system an hour ago):

It should be

file:/

(one slash) as mentioned in the HOWTO.

"file:" chooses the driver (would have to browse the docs for the spot
where this is described in detail), the part after the ":" gives the
directory in this case.

Greets,
Stefan

-- 
Stefan G. Weichinger
amanda core team member
mailto: [EMAIL PROTECTED]
pgp:3C64175D
-- 
oops! linux consulting & implementation
http://www.oops.co.at
-- 


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 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
> doing things.
> /usr/src is for source-text, like the linux kernel, but
> not for backups.
> 
> But this is not your primary problem in setting up
> amanda.
> 
> > I started with that HOWTO
> > (http://www.amanda.org/docs/howto-filedriver.html), and
> was
> > told that for testing, they wanted it to write to the
> > harddisk vs. tapes, so I found the other link; how do I
> > know what to parameters to change exactly?
> 
> Simple answer (simple for me): Follow the HOWTO exactly.
> 
> Longer answer (A bit simpler for you):
> 
> You didn't follow the HOWTO.
> 
> For example:
> 
> tpchanger "/usr/src/amanda/etc/amanda/DailySet3/chg.disk"
> 
> should be more like
> 
> tpchanger "chg-disk"
> 
> Your config points to *something* but does not configure
> amanda
> correctly. No need for paths here. This parameter chooses
> a script
> inside amanda's own directories, not inside a slot of
> your virtual changer.
> 
> --
> 
> Just read and follow the HOWTO from start, again.
> It has worked for quite a lot of people so far.
> 
> I'll be happy to improve it when necessary, but I think
> you didn't read
> it in detail.
> 
> Also think about your paths.
> 
> It is important for you and your backups (*and restores*)
> to understand
> what you do and why you do things.
> 
> --
> 
> And Rob has provided lots of infos in the meantime as
> well ;)
> 
> Stefan
> 
> -- 
> Stefan G. Weichinger
> amanda core team member
> mailto:   [EMAIL PROTECTED]
> pgp:  3C64175D
> -- 
> oops! linux consulting & implementation
> http://www.oops.co.at
> -- 
> Stefan G. Weichinger
> amanda core team member
> mailto:   [EMAIL PROTECTED]
> pgp:  3C64175D
> -- 
> oops! linux consulting & implementation
> http://www.oops.co.at
> -- 
> Stefan G. Weichinger
> amanda core team member
> mailto:   [EMAIL PROTECTED]
> pgp:  3C64175D
> -- 
> oops! linux consulting & implementation
> http://www.oops.co.at
> -- 
> Stefan G. Weichinger
> amanda core team member
> mailto:   [EMAIL PROTECTED]
> pgp:  3C64175D
> -- 
> oops! linux consulting & implementation
> http://www.oops.co.at
> -- 
> Stefan G. Weichinger
> amanda core team member
> mailto:   [EMAIL PROTECTED]
> pgp:  3C64175D
> -- 
> oops! linux consulting & implementation
> http://www.oops.co.at
> -- 
> Stefan G. Weichinger
> amanda core team member
> mailto:   [EMAIL PROTECTED]
> pgp:  3C64175D
> -- 
> oops! linux consulting & implementation
> http://www.oops.co.at
> -- 
> Stefan G. Weichinger
> amanda core team member
> mailto:   [EMAIL PROTECTED]
> pgp:  3C64175D
> -- 
> oops! linux consulting & implementation
> http://www.oops.co.at
> -- 
> Stefan G. Weichinger
> amanda core team member
> mailto:   [EMAIL PROTECTED]
> pgp:  3C64175D
> -- 
> oops! linux consulting & implementation
> http://www.oops.co.at
> -- 
> Stefan G. Weichinger
> amanda core team member
> mailto:   [EMAIL PROTECTED]
> pgp:  3C64175D
> -- 
> oops! linux consulting & implementation
> http://www.oops.co.at
> -- 



Jeanna Geier
System Administrator
Webteam, Inc.
[EMAIL PROTECTED]
http://www.webteam.net

ph: 608.788.8100
fx: 608.788.6613
tf: 866.788.0023


RE: newbie ? - tapeless operation -> amlabel error

2007-05-29 Thread Robert Echlin
Hi, Stefan,
In your HOWTO, you have the following configuration for tapedev:

  tapedev  "file:/amandatapes/daily" 

Should that be file:// ?

Ref: http://forums.zmanda.com/archive/index.php/t-470.html

Thanks,
Rob

--
Rob Echlin
Software Development Environment Prime
Espial IPTV
Rechlin -at- espial.com
Phone: +1 613-230-4770 ext 1150
www.espial.com

 Espial Group Inc. Confidential 
Important Notice: This communication is intended to be received only by
the individual or entity to whom or to which it is addressed and may
contain information that is privileged, confidential and/or subject to
copyright. Any unauthorized use, copying, review or disclosure of this
communication is strictly prohibited. If you have received this
communication in error, please delete the message and notify the sender
by reply email. Thank you for your cooperation.
 

-Original Message-
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 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 doing things.
/usr/src is for source-text, like the linux kernel, but not for backups.

But this is not your primary problem in setting up amanda.

> I started with that HOWTO
> (http://www.amanda.org/docs/howto-filedriver.html), and was
> told that for testing, they wanted it to write to the
> harddisk vs. tapes, so I found the other link; how do I
> know what to parameters to change exactly?

Simple answer (simple for me): Follow the HOWTO exactly.

Longer answer (A bit simpler for you):

You didn't follow the HOWTO.

For example:

tpchanger "/usr/src/amanda/etc/amanda/DailySet3/chg.disk"

should be more like

tpchanger "chg-disk"

Your config points to *something* but does not configure amanda
correctly. No need for paths here. This parameter chooses a script
inside amanda's own directories, not inside a slot of your virtual
changer.

--

Just read and follow the HOWTO from start, again.
It has worked for quite a lot of people so far.

I'll be happy to improve it when necessary, but I think you didn't read
it in detail.

Also think about your paths.

It is important for you and your backups (*and restores*) to understand
what you do and why you do things.

--

And Rob has provided lots of infos in the meantime as well ;)

Stefan

-- 
Stefan G. Weichinger
amanda core team member
mailto: [EMAIL PROTECTED]
pgp:3C64175D
-- 
oops! linux consulting & implementation
http://www.oops.co.at
-- 
Stefan G. Weichinger
amanda core team member
mailto: [EMAIL PROTECTED]
pgp:3C64175D
-- 
oops! linux consulting & implementation
http://www.oops.co.at
-- 
Stefan G. Weichinger
amanda core team member
mailto: [EMAIL PROTECTED]
pgp:3C64175D
-- 
oops! linux consulting & implementation
http://www.oops.co.at
-- 
Stefan G. Weichinger
amanda core team member
mailto: [EMAIL PROTECTED]
pgp:3C64175D
-- 
oops! linux consulting & implementation
http://www.oops.co.at
-- 
Stefan G. Weichinger
amanda core team member
mailto: [EMAIL PROTECTED]
pgp:3C64175D
-- 
oops! linux consulting & implementation
http://www.oops.co.at
-- 
Stefan G. Weichinger
amanda core team member
mailto: [EMAIL PROTECTED]
pgp:3C64175D
-- 
oops! linux consulting & implementation
http://www.oops.co.at
-- 
Stefan G. Weichinger
amanda core team member
mailto: [EMAIL PROTECTED]
pgp:3C64175D
-- 
oops! linux consulting & implementation
http://www.oops.co.at
-- 
Stefan G. Weichinger
amanda core team member
mailto: [EMAIL PROTECTED]
pgp:3C64175D
-- 
oops! linux consulting & implementation
http://www.oops.co.at
-- 
Stefan G. Weichinger
amanda core team member
mailto: [EMAIL PROTECTED]
pgp:3C64175D
-- 
oops! linux consulting & implementation
http://www.oops.co.at
-- 



Re: newbie ? - tapeless operation -> amlabel error

2007-05-29 Thread Jeanna Geier
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
   -
   # These are the options that differ from  
   examples/amanda.conf

   dumpcycle 14 days
   tapecycle 14
   #runspercycle  # defaults to 1 per day

   runtapes 1
   tpchanger "chg-multi"
   changerfile "/etc/amanda/DailySet1/changer.conf"
   # Comment out tapedev and changerdev

Thanks 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 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
> > 
> > 
> > -Original Message-
> > From: [EMAIL PROTECTED]
> > [mailto:[EMAIL PROTECTED] On Behalf Of
> > Jeanna Geier
> > Sent: Tuesday, May 29, 2007 3:01 PM
> > To: amanda-users@amanda.org
> > Subject: newbie ? - tapeless operation -> amlabel error
> > 
> > 
> > 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
> > the
> > following error:
> > [EMAIL PROTECTED]:/usr/src/amanda-2.5.2/sbin$ amlabel
> > DailySet3 DailySet301 slot 1
> > amlabel: could not load slot "1": could not read result
> > from "/usr/src/amanda/etc/amanda/DailySet3/chg.disk"
> > 
> > I'm running VERSION 2.5.2 on Linux.
> > 
> > My 'amanda.conf' file:
> > 
> > ... Stuff cut ...
> > 
> > runtapes 1 # number of tapes to be used in a single run
> > of
> > amdump
> > tpchanger
> "/usr/src/amanda/etc/amanda/DailySet3/chg.disk"
> > #
> > the tape-changer glue script
> > #tapedev "/dev/nst0" # the no-rewind tape device to be
> > used
> > rawtapedev "/dev/null" # the raw device to be used
> (ftape
> > only)
> > 
> > ... Stuff cut ...
> > 
> > --
> > Rob Echlin
> > Software Development Environment Prime
> > Espial IPTV
> > Rechlin -at- espial.com
> > Phone: +1 613-230-4770 ext 1150
> > www.espial.com
> > 
> >  Espial Group Inc. Confidential 
> > Important Notice: This communication is intended to be
> > received only by
> > the individual or entity to whom or to which it is
> > addressed and may
> > contain information that is privileged, confidential
> > and/or subject to
> > copyright. Any unauthorized use, copying, review or
> > disclosure of this
> > communication is strictly prohibited. If you have
> > received this
> > communication in error, please delete the message and
> > notify the sender
> > by reply email. Thank you for your cooperation.
> >  
> 
> 
> 
> Jeanna Geier
> System Administrator
> Webteam, Inc.
> [EMAIL PROTECTED]
> http://www.webteam.net
> 
> ph: 608.788.8100
> fx: 608.788.6613
> tf: 866.788.0023



Jeanna Geier
System Administrator
Webteam, Inc.
[EMAIL PROTECTED]
http://www.webteam.net

ph: 608.788.8100
fx: 608.788.6613
tf: 866.788.0023


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

S




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 doing things.
/usr/src is for source-text, like the linux kernel, but not for backups.

But this is not your primary problem in setting up amanda.

> I started with that HOWTO
> (http://www.amanda.org/docs/howto-filedriver.html), and was
> told that for testing, they wanted it to write to the
> harddisk vs. tapes, so I found the other link; how do I
> know what to parameters to change exactly?

Simple answer (simple for me): Follow the HOWTO exactly.

Longer answer (A bit simpler for you):

You didn't follow the HOWTO.

For example:

tpchanger "/usr/src/amanda/etc/amanda/DailySet3/chg.disk"

should be more like

tpchanger "chg-disk"

Your config points to *something* but does not configure amanda
correctly. No need for paths here. This parameter chooses a script
inside amanda's own directories, not inside a slot of your virtual changer.

--

Just read and follow the HOWTO from start, again.
It has worked for quite a lot of people so far.

I'll be happy to improve it when necessary, but I think you didn't read
it in detail.

Also think about your paths.

It is important for you and your backups (*and restores*) to understand
what you do and why you do things.

--

And Rob has provided lots of infos in the meantime as well ;)

Stefan

-- 
Stefan G. Weichinger
amanda core team member
mailto: [EMAIL PROTECTED]
pgp:3C64175D
-- 
oops! linux consulting & implementation
http://www.oops.co.at
-- 
Stefan G. Weichinger
amanda core team member
mailto: [EMAIL PROTECTED]
pgp:3C64175D
-- 
oops! linux consulting & implementation
http://www.oops.co.at
-- 
Stefan G. Weichinger
amanda core team member
mailto: [EMAIL PROTECTED]
pgp:3C64175D
-- 
oops! linux consulting & implementation
http://www.oops.co.at
-- 
Stefan G. Weichinger
amanda core team member
mailto: [EMAIL PROTECTED]
pgp:3C64175D
-- 
oops! linux consulting & implementation
http://www.oops.co.at
-- 
Stefan G. Weichinger
amanda core team member
mailto: [EMAIL PROTECTED]
pgp:3C64175D
-- 
oops! linux consulting & implementation
http://www.oops.co.at
-- 
Stefan G. Weichinger
amanda core team member
mailto: [EMAIL PROTECTED]
pgp:3C64175D
-- 
oops! linux consulting & implementation
http://www.oops.co.at
-- 
Stefan G. Weichinger
amanda core team member
mailto: [EMAIL PROTECTED]
pgp:3C64175D
-- 
oops! linux consulting & implementation
http://www.oops.co.at
-- 
Stefan G. Weichinger
amanda core team member
mailto: [EMAIL PROTECTED]
pgp:3C64175D
-- 
oops! linux consulting & implementation
http://www.oops.co.at
-- 
Stefan G. Weichinger
amanda core team member
mailto: [EMAIL PROTECTED]
pgp:3C64175D
-- 
oops! linux consulting & implementation
http://www.oops.co.at
-- 


RE: newbie ? - tapeless operation -> amlabel error

2007-05-29 Thread Robert Echlin
Hi, Jeanna,

The setting I mentioned, pointing tapedev at the "slots" directory on
disk, is what I use for writing to virtual tapes, i.e. writing to disk.
Did you notice that the HOWTO you are using is dated Nov 2001? A lot has
changed since then. Try the HOWTO in the wiki at:
http://wiki.zmanda.com/index.php/Test_environment_with_virtual_tapes
<http://wiki.zmanda.com/index.php/Test_environment_with_virtual_tapes> 

I also referred to other pages on the wiki:
http://wiki.zmanda.com/index.php/File_driver
<http://wiki.zmanda.com/index.php/File_driver> 
http://wiki.zmanda.com/index.php/Changers
<http://wiki.zmanda.com/index.php/Changers> 

And when I was creating many slots this afternoon, I recorded the
following notes (copied from the wiki I use internally at work). Lots of
this is specific to my configuration, like the user names. Note that the
phrase `seq 1 50` and similar are enclosed in back-quotes and all of
this was done in the bash shell:

Mount the new disk on /mnt/Amanda/Set2 where 2 is the number for the
backup disk, could be 3 for instance 

*   As root, create vtapes folder on the backup disk, set owner
amandabackup user, group disk, not readable or executable by "other" 

1.  mkdir vtapes 

2.  chown amandabackup:disk vtapes 

3.  chmod 750 vtapes 

*   Change to the amandabackup user. 

*   Create a DailySet2 folder inside vtapes 

*   Create slots inside vtapes/DailySet2 

*   for i in `seq 1 50`; do mkdir slot$i; done 

*   Put 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 DailySet2 DailySet2-0${i}; done 

*   for i in `seq 10 50`; do amlabel DailySet2 DailySet2-${i}; done 

*   Check it's OK 

*   amcheck DailySet2

Rob

-Original Message-
From: Jeanna Geier [mailto:[EMAIL PROTECTED]
<mailto:[EMAIL PROTECTED]> ]
Sent: Tuesday, May 29, 2007 3:33 PM
To: amanda-users@amanda.org; Robert Echlin
Subject: Re: newbie ? - tapeless operation -> amlabel error


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
   -
   # These are the options that differ from 
   examples/amanda.conf

   dumpcycle 14 days
   tapecycle 14
   #runspercycle  # defaults to 1 per day

   runtapes 1
   tpchanger "chg-multi"
   changerfile "/etc/amanda/DailySet1/changer.conf"
   # Comment out tapedev and changerdev

Thanks for the input, though - I'll make sure the
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 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
<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
>
>
> -Original Message-
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED]
<mailto:[EMAIL PROTECTED]> ] On Behalf Of
> Jeanna Geier
> Sent: Tuesday, May 29, 2007 3:01 PM
> To: amanda-users@amanda.org
> Subject: newbie ? - tapeless operation -> amlabel error
>
>
> 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
<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 error:
> [EMAIL PROTECTED]:/usr/src/amanda-2.5.2/sbin$ amlabel
> DailySet3 DailySet301 slot 1
> amlabel: could not load slot "1": could not read result
> from "/usr/src/amanda/etc/amanda/DailySet3/chg.disk"
>
> I'm running VERSION 2.5.2 on Linux.
>
> My 'amanda.conf' file:
>
> ... Stuff cut ...
>
> runtapes 1 # number of tapes to be used in a single run
> of
> amdump
> tpchanger "/usr/src/amanda/etc/amanda/DailySet3/chg.disk"
> #
> the tape-changer glue script
> #tapedev "/

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


-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Jeanna Geier
Sent: Tuesday, May 29, 2007 3:01 PM
To: amanda-users@amanda.org
Subject: newbie ? - tapeless operation -> amlabel error


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 the
following error:
[EMAIL PROTECTED]:/usr/src/amanda-2.5.2/sbin$ amlabel
DailySet3 DailySet301 slot 1
amlabel: could not load slot "1": could not read result
from "/usr/src/amanda/etc/amanda/DailySet3/chg.disk"

I'm running VERSION 2.5.2 on Linux.

My 'amanda.conf' file:

... Stuff cut ...

runtapes 1 # number of tapes to be used in a single run of
amdump
tpchanger "/usr/src/amanda/etc/amanda/DailySet3/chg.disk" #
the tape-changer glue script
#tapedev "/dev/nst0" # the no-rewind tape device to be used
rawtapedev "/dev/null" # the raw device to be used (ftape
only)

... Stuff cut ...

--
Rob Echlin
Software Development Environment Prime
Espial IPTV
Rechlin -at- espial.com
Phone: +1 613-230-4770 ext 1150
www.espial.com

 Espial Group Inc. Confidential 
Important Notice: This communication is intended to be received only by
the individual or entity to whom or to which it is addressed and may
contain information that is privileged, confidential and/or subject to
copyright. Any unauthorized use, copying, review or disclosure of this
communication is strictly prohibited. If you have received this
communication in error, please delete the message and notify the sender
by reply email. Thank you for your cooperation.
 



Re: newbie ? - tapeless operation -> amlabel error

2007-05-29 Thread Jeanna Geier
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!

I started with that HOWTO
(http://www.amanda.org/docs/howto-filedriver.html), and was
told that for testing, they wanted it to write to the
harddisk vs. tapes, so I found the other link; how do I
know what to parameters to change exactly?

Thanks!
-jg



On Tue, 29 May 2007 21:09:24 +0200
 "Stefan G. Weichinger" <[EMAIL PROTECTED]> wrote:
> Jeanna Geier schrieb:
> > 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
> the
> > following error:
> > [EMAIL PROTECTED]:/usr/src/amanda-2.5.2/sbin$ amlabel
> > DailySet3 DailySet301 slot 1
> > amlabel: could not load slot "1": could not read result
> > from "/usr/src/amanda/etc/amanda/DailySet3/chg.disk"
> 
> Are you *sure* you want your vtapes in /usr/src/amanda ?
> 
> Apart from that I recommend the official howto:
> 
> http://www.amanda.org/docs/howto-filedriver.html
> 
> Your changerfile is wrong ... at least ... you dropped a
> load of
> information here ...
> 
> -- 
> Stefan G. Weichinger
> amanda core team member
> mailto:   [EMAIL PROTECTED]
> pgp:  3C64175D
> -- 
> oops! linux consulting & implementation
> http://www.oops.co.at
> -- 



Jeanna Geier
System Administrator
Webteam, Inc.
[EMAIL PROTECTED]
http://www.webteam.net

ph: 608.788.8100
fx: 608.788.6613
tf: 866.788.0023