Closed privatezero closed 6 years ago
8 char ids were added in https://github.com/amiaopensource/ltopers/commit/0f83013ffd9edda6f0140aecf3575a1943b43397. Can you confirm what error mkltfs provides when an 8 character id is used?
Here is their terminal output:
note the Tape serial must be 6 characters
It depends on which system you are running. I guess, the CUNY-style needs 6 characters [A-Z][0-9], but some racks work with the additional two characters, which facilitates the management of a mix of different generations. I did add the second format as well, in order to be able to use LTOpers in both contexts.
(On which version are you running? The current one should work with LTO-8 as well. Possibly I forgot to update this.)
I can't find source code for mkltfs that permits a tape-serial not equal to 6 characters. https://github.com/amiaopensource/ltfs/blob/e9a6b8283cfae855cacfa8026bfd5aa7e8d476cc/ltfs/messages/bin_mkltfs/root.txt#L68-L69
@retokromer could you please cite a mkltfs source that permits longer strings as the tape serial number?
@dericed I’m afraid, not from the top of my head: I have to check the docs… I know we have used LTOpers
in an 8-chars system for one (I guess) customer here in Switzerland and two (I guess) in Europe. Possibly related to https://github.com/amiaopensource/ltopers/issues/69?
Thank you!
Users at MIPoPS were following the directions for running
formatlto
for the first time and ran into some problems with the naming conventions. When they read the following:they interpreted this as meaning they could use either a 6 or 8 character tape ID and selected an 8 character id
MIPOPSL7
which lead to an error due to the ID not being 6 characters. They have since switched to the format ofA00001 ...
with success.I guess that the documentation here could be cleaned up a little bit to make this difference a little more clear for institutions transitioning to LTOpers for the first time? I would edit myself, but I have only worked with 6 character conventions and am not sure of when an 8 character tape id would work and when it will fail. Is this dependent on machine?