I’m sure the “cannot change the name of slots”  stems from the original  (and 
still in use here, at least)
design for REAL tape drives.   Tape libraries have slots,  and you don’t get to 
change their names!

But I’ve starred and saved that email for when I eventually want vtapes too.  
Now I know not to try to rename them.  :D

Deb Baddorf
Fermilab

> On Nov 8, 2018, at 12:28 PM, Chris Miller <[email protected]> wrote:
> 
> Hi Nathan,
>  A little later I will look for a reference to documentation on this, but
>  in short: I believe the issue is that you are mixing the *name of the
>  subdirectory* and the *amanda label of on the vtape*.
> It may look that way, but that is probably not what is happening. 
> "Mail.TCLC.org" is a component of the vtape path. "mail.tclc.org" is a 
> component of the config path. "Mail.TCLC.org.%%", a reflection of the vtape 
> path, is what I think I am trying to use as a label. I have no idea of the 
> significance of the label, but it occurs to me that matching the tape label 
> to its path is a good idea.
> 
> 
> 
>  The Amanda label is what shows up in your interactition with Amanda, and
>  is actually a name stored in a little header file on your physical tape
>  or under the vtape subdirectory, to help Amanda keep track of which
>  tape/vtape is which.
>  
>  On the other hand, the subdirectories the chg-disk: changer uses to hold
>  its vtapes are not really designed for direct human interaction... and
>  they have a built-in naming pattern you can't change.
> O.K., now we're getting somewhere, and explains why I couldn't find how to 
> change the names of the "slots". It can't be done! I didn't expect that, but 
> hearing it confirms my experience and probably completely solves my problem. 
> Thanks very much for this tid-bit. I interpreted lack of explanation of how 
> to change the names of the slots to mean that it is either trivially simple 
> or simply has been ignored in the docs. Since it can't be done, the HowTo 
> should probably alerts fools like me to that fact. "Not documenting" is not 
> the same as "documenting don't". (-:
> 
> 
> 
>  So, your first step is going to be to rename your subdirectories to
>  "slot1", "slot2" ... "slot9", "slot10"...  (Note that you can _not_
>  zero-pad the first 9 slot numbers -- "ls -v" may come in handy.)
>  
>  After that, the amlabel command should work (or at least give a new
>  error message) ... but note that the "slot" argument takes a slot
>  number, rather than some sort of name.
>  
>  
>                                                         Nathan
>  ----------------------------------------------------------------------------
>  Nathan Stratton Treadway  -  [email protected]  -  Mid-Atlantic region
>  Ray Ontko & Co.  -  Software consulting services  -   http://www.ontko.com/
>  GPG Key: http://www.ontko.com/~nathanst/gpg_key.txt   ID: 1023D/ECFB6239
>   Key fingerprint = 6AD8 485E 20B9 5C71 231C  0C32 15F3 ADCD ECFB 6239
> 
> 
> Thanks for the help,
> --
> Chris.
> 
> V:916.974.0424
> F:916.974.0428


Reply via email to