RE: Mtx and chg-zd-mtx

2003-03-03 Thread Pablo Jejcic
A little more information. I f I put one tape in the last slot, then the
chg-zd-mtx -info show the right values, but if I change it back to another
slot, then it stop working again, and show the number of the last slot use,
for example, if I put the last tape into slot 7 I receive:

1 7 1
 and if I put the last one into 6 I receive:

1 6 1

Any thoughts?

Kind Regards.
  _  

Pablo Jejcic
Smartweb Senior system Administrator
School of Computing - Robert Gordon University
[EMAIL PROTECTED]
T:44-(0)1224-262797
F:44-(0)1224-262790 
  _  


``The nice thing about standards is that there are so many to choose from.
And if you really don't like all the standards you just have to wait another
year until the one arises you are looking for.'' 
A. Tanenbaum, ``Introduction to Computer Networks'

  _  



-Original Message-
From: Pablo Jejcic [mailto:[EMAIL PROTECTED] 
Sent: 28 February 2003 16:09
To: 'Joshua Baker-LePain'
Cc: '[EMAIL PROTECTED]'
Subject: RE: Mtx and chg-zd-mtx


If I unload all of them, nothing change:(

Kind Regards.
  _  

Pablo Jejcic
Smartweb Senior system Administrator
School of Computing - Robert Gordon University
[EMAIL PROTECTED] T:44-(0)1224-262797 F:44-(0)1224-262790 
  _  


``The nice thing about standards is that there are so many to choose from.
And if you really don't like all the standards you just have to wait another
year until the one arises you are looking for.'' 
A. Tanenbaum, ``Introduction to Computer Networks'

  _  



-Original Message-
From: Joshua Baker-LePain [mailto:[EMAIL PROTECTED] 
Sent: 28 February 2003 16:05
To: Pablo Jejcic
Cc: [EMAIL PROTECTED]
Subject: RE: Mtx and chg-zd-mtx


On Fri, 28 Feb 2003 at 3:58pm, Pablo Jejcic wrote

> 
> firstslot=1   First storage slot (element) -- required
> lastslot=9 Last storage slot (element) -- required
> cleanslot=-1   Slot with cleaner tape -- default is "-1"
> #
> driveslot=0  Drive slot number.  Defaults to the

> On Fri, 28 Feb 2003 at 3:07pm, Pablo Jejcic wrote
> 
> > bash-2.05# mtx status
> >   Storage Changer /dev/changer:1 Drives, 9 Slots ( 0 Import/Export ) 
> > Data Transfer Element 0:Full (Storage Element 5 Loaded):VolumeTag =
> >   Storage Element 1:Full :VolumeTag=
> >   Storage Element 2:Full :VolumeTag=
> >   Storage Element 3:Full :VolumeTag=
> >   Storage Element 4:Full :VolumeTag=
> >   Storage Element 5:Empty:VolumeTag=
> >   Storage Element 6:Full :VolumeTag=
> >   Storage Element 7:Empty:VolumeTag=
> >   Storage Element 8:Empty:VolumeTag=
> >   Storage Element 9:Empty:VolumeTag=
> > 
> > But if I use chg-zd-mtx, I get:
> > 
> > bash-2.05# /usr/local/libexec/chg-zd-mtx -info
> > 5 6 1

It's rather suspicious that the second number, rather than corresponding 
to the number of slots you have, corresponds to the number of tapes you 
have loaded.

What happens if you load one more tape (or take one out)?

-- 
Joshua Baker-LePain
Department of Biomedical Engineering
Duke University




RE: Mtx and chg-zd-mtx

2003-02-28 Thread Pablo Jejcic
Amanda
(brought to you by Amanda 2.4.3)

# mtx --version
mtx version 1.2.17rel

Kind Regards.
  _  

Pablo Jejcic
Smartweb Senior system Administrator
School of Computing - Robert Gordon University
[EMAIL PROTECTED]
T:44-(0)1224-262797
F:44-(0)1224-262790 
  _  


``The nice thing about standards is that there are so many to choose from.
And if you really don't like all the standards you just have to wait another
year until the one arises you are looking for.'' 
A. Tanenbaum, ``Introduction to Computer Networks'

  _  



-Original Message-
From: Joshua Baker-LePain [mailto:[EMAIL PROTECTED] 
Sent: 28 February 2003 16:18
To: Pablo Jejcic
Cc: [EMAIL PROTECTED]
Subject: RE: Mtx and chg-zd-mtx


On Fri, 28 Feb 2003 at 4:08pm, Pablo Jejcic wrote

> If I unload all of them, nothing change:(

*sigh*.  I don't recall if this was in your original mail -- what version 
of amanda and what version of mtx are we dealing with here?

-- 
Joshua Baker-LePain
Department of Biomedical Engineering
Duke University




RE: Mtx and chg-zd-mtx

2003-02-28 Thread Joshua Baker-LePain
On Fri, 28 Feb 2003 at 4:08pm, Pablo Jejcic wrote

> If I unload all of them, nothing change:(

*sigh*.  I don't recall if this was in your original mail -- what version 
of amanda and what version of mtx are we dealing with here?

-- 
Joshua Baker-LePain
Department of Biomedical Engineering
Duke University



RE: Mtx and chg-zd-mtx

2003-02-28 Thread Pablo Jejcic
If I unload all of them, nothing change:(

Kind Regards.
  _  

Pablo Jejcic
Smartweb Senior system Administrator
School of Computing - Robert Gordon University
[EMAIL PROTECTED]
T:44-(0)1224-262797
F:44-(0)1224-262790 
  _  


``The nice thing about standards is that there are so many to choose from.
And if you really don't like all the standards you just have to wait another
year until the one arises you are looking for.'' 
A. Tanenbaum, ``Introduction to Computer Networks'

  _  



-Original Message-
From: Joshua Baker-LePain [mailto:[EMAIL PROTECTED] 
Sent: 28 February 2003 16:05
To: Pablo Jejcic
Cc: [EMAIL PROTECTED]
Subject: RE: Mtx and chg-zd-mtx


On Fri, 28 Feb 2003 at 3:58pm, Pablo Jejcic wrote

> 
> firstslot=1   First storage slot (element) -- required
> lastslot=9 Last storage slot (element) -- required
> cleanslot=-1   Slot with cleaner tape -- default is "-1"
> #
> driveslot=0  Drive slot number.  Defaults to the

> On Fri, 28 Feb 2003 at 3:07pm, Pablo Jejcic wrote
> 
> > bash-2.05# mtx status
> >   Storage Changer /dev/changer:1 Drives, 9 Slots ( 0 Import/Export )
> > Data Transfer Element 0:Full (Storage Element 5 Loaded):VolumeTag =
> >   Storage Element 1:Full :VolumeTag=
> >   Storage Element 2:Full :VolumeTag=
> >   Storage Element 3:Full :VolumeTag=
> >   Storage Element 4:Full :VolumeTag=
> >   Storage Element 5:Empty:VolumeTag=
> >   Storage Element 6:Full :VolumeTag=
> >   Storage Element 7:Empty:VolumeTag=
> >   Storage Element 8:Empty:VolumeTag=
> >   Storage Element 9:Empty:VolumeTag=
> > 
> > But if I use chg-zd-mtx, I get:
> > 
> > bash-2.05# /usr/local/libexec/chg-zd-mtx -info
> > 5 6 1

It's rather suspicious that the second number, rather than corresponding 
to the number of slots you have, corresponds to the number of tapes you 
have loaded.

What happens if you load one more tape (or take one out)?

-- 
Joshua Baker-LePain
Department of Biomedical Engineering
Duke University




RE: Mtx and chg-zd-mtx

2003-02-28 Thread Joshua Baker-LePain
On Fri, 28 Feb 2003 at 3:58pm, Pablo Jejcic wrote

> 
> firstslot=1   First storage slot (element) -- required
> lastslot=9 Last storage slot (element) -- required
> cleanslot=-1   Slot with cleaner tape -- default is "-1"
> #
> driveslot=0  Drive slot number.  Defaults to the

> On Fri, 28 Feb 2003 at 3:07pm, Pablo Jejcic wrote
> 
> > bash-2.05# mtx status
> >   Storage Changer /dev/changer:1 Drives, 9 Slots ( 0 Import/Export ) 
> > Data Transfer Element 0:Full (Storage Element 5 Loaded):VolumeTag =
> >   Storage Element 1:Full :VolumeTag=
> >   Storage Element 2:Full :VolumeTag=
> >   Storage Element 3:Full :VolumeTag=
> >   Storage Element 4:Full :VolumeTag=
> >   Storage Element 5:Empty:VolumeTag=
> >   Storage Element 6:Full :VolumeTag=
> >   Storage Element 7:Empty:VolumeTag=
> >   Storage Element 8:Empty:VolumeTag=
> >   Storage Element 9:Empty:VolumeTag=
> > 
> > But if I use chg-zd-mtx, I get:
> > 
> > bash-2.05# /usr/local/libexec/chg-zd-mtx -info
> > 5 6 1

It's rather suspicious that the second number, rather than corresponding 
to the number of slots you have, corresponds to the number of tapes you 
have loaded.

What happens if you load one more tape (or take one out)?

-- 
Joshua Baker-LePain
Department of Biomedical Engineering
Duke University



RE: Mtx and chg-zd-mtx

2003-02-28 Thread Pablo Jejcic
Sorry forgot this:


firstslot=1   First storage slot (element) -- required
lastslot=9 Last storage slot (element) -- required
cleanslot=-1   Slot with cleaner tape -- default is "-1"
#
driveslot=0  Drive slot number.  Defaults to the


Thanks.-


Kind Regards.
  _  

Pablo Jejcic
Smartweb Senior system Administrator
School of Computing - Robert Gordon University
[EMAIL PROTECTED]
T:44-(0)1224-262797
F:44-(0)1224-262790 
  _  


``The nice thing about standards is that there are so many to choose from.
And if you really don't like all the standards you just have to wait another
year until the one arises you are looking for.'' 
A. Tanenbaum, ``Introduction to Computer Networks'

  _  



-Original Message-
From: Joshua Baker-LePain [mailto:[EMAIL PROTECTED] 
Sent: 28 February 2003 15:45
To: Pablo Jejcic
Cc: [EMAIL PROTECTED]
Subject: Re: Mtx and chg-zd-mtx


On Fri, 28 Feb 2003 at 3:07pm, Pablo Jejcic wrote

> bash-2.05# mtx status
>   Storage Changer /dev/changer:1 Drives, 9 Slots ( 0 Import/Export ) 
> Data Transfer Element 0:Full (Storage Element 5 Loaded):VolumeTag =
>   Storage Element 1:Full :VolumeTag=
>   Storage Element 2:Full :VolumeTag=
>   Storage Element 3:Full :VolumeTag=
>   Storage Element 4:Full :VolumeTag=
>   Storage Element 5:Empty:VolumeTag=
>   Storage Element 6:Full :VolumeTag=
>   Storage Element 7:Empty:VolumeTag=
>   Storage Element 8:Empty:VolumeTag=
>   Storage Element 9:Empty:VolumeTag=
> 
> But if I use chg-zd-mtx, I get:
> 
> bash-2.05# /usr/local/libexec/chg-zd-mtx -info
> 5 6 1
> 
> So, I have 9 slots, 1 drive and the active tape is in slot 5. Can 
> anybody tell me why this is not what chg-zd-mtx said?

What are the relevant entries in your CHANGER.conf file?

-- 
Joshua Baker-LePain
Department of Biomedical Engineering
Duke University




Re: Mtx and chg-zd-mtx

2003-02-28 Thread Joshua Baker-LePain
On Fri, 28 Feb 2003 at 3:07pm, Pablo Jejcic wrote

> bash-2.05# mtx status
>   Storage Changer /dev/changer:1 Drives, 9 Slots ( 0 Import/Export )
> Data Transfer Element 0:Full (Storage Element 5 Loaded):VolumeTag =
>   Storage Element 1:Full :VolumeTag=
>   Storage Element 2:Full :VolumeTag=
>   Storage Element 3:Full :VolumeTag=
>   Storage Element 4:Full :VolumeTag=
>   Storage Element 5:Empty:VolumeTag=
>   Storage Element 6:Full :VolumeTag=
>   Storage Element 7:Empty:VolumeTag=
>   Storage Element 8:Empty:VolumeTag=
>   Storage Element 9:Empty:VolumeTag=
> 
> But if I use chg-zd-mtx, I get:
> 
> bash-2.05# /usr/local/libexec/chg-zd-mtx -info
> 5 6 1
> 
> So, I have 9 slots, 1 drive and the active tape is in slot 5. Can anybody
> tell me why this is not what chg-zd-mtx said?

What are the relevant entries in your CHANGER.conf file?

-- 
Joshua Baker-LePain
Department of Biomedical Engineering
Duke University



Re: Mtx and chg-zd-mtx

2003-02-28 Thread Victor Calzado Mayo
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Hi
On Friday 28 February 2003 16:07, Pablo Jejcic wrote:
> Hello amanda lovers,
>   I am having a tricky/weird situation.
>   I installed Amanda and mtx with a un L9 (sunstoredge), after
> the usual configuration I get a strange behavior, if I use mtx status, I
> get:
>
> bash-2.05# mtx status
>   Storage Changer /dev/changer:1 Drives, 9 Slots ( 0 Import/Export )
> Data Transfer Element 0:Full (Storage Element 5 Loaded):VolumeTag =
>   Storage Element 1:Full :VolumeTag=
>   Storage Element 2:Full :VolumeTag=
>   Storage Element 3:Full :VolumeTag=
>   Storage Element 4:Full :VolumeTag=
>   Storage Element 5:Empty:VolumeTag=
>   Storage Element 6:Full :VolumeTag=
>   Storage Element 7:Empty:VolumeTag=
>   Storage Element 8:Empty:VolumeTag=
>   Storage Element 9:Empty:VolumeTag=
>
> But if I use chg-zd-mtx, I get:
>
> bash-2.05# /usr/local/libexec/chg-zd-mtx -info
> 5 6 1

you need to define the correct value for lastslot in your amanda.conf or in 
the /usr/local/libexec/chg-zd-mtx  script.
lastslot=9

Regards

Victor
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: For info see http://www.gnupg.org

iD8DBQE+X4LzEzqHF8R72ekRAidoAKCq5whL8ZxctNKCWTnHDjam+JOJ8QCfakvE
5VUze31WbrwMjlmOYRtCMPQ=
=7E7X
-END PGP SIGNATURE-