On Thu, Nov 08, 2018 at 09:40:37 -0800, Chris Miller wrote:
> bash-4.2$ ls -l /net/nas1/d0/Mail.TCLC.org/
> :
> -rwxr-xr-x. 1 amandabackup disk 1110 Nov 8 09:12 state
> drwxr-xr-x. 2 amandabackup disk 0 Nov 5 10:17 vtape.00
> :
> drwxr-xr-x. 2 amandabackup disk 0 Nov 5 10:17 vtape.62
>
> When I run amlabel: amlabel mail.tclc.org Mail.TCLC.org.00 slot vtape.00
>
> Reading label...
> Slot vtape.00 not found
> Slot vtape.00 not found
>
> I apparently do not understand the whole "vtape" thing at all... At a
> minimum, I don't see where the config declares my "slots" as having
> names "vtape.{00..62}"
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*.
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.
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