Re: [OT] stenc and library...

Udo Kaune <[email protected]>
Newsgroups gmane.comp.bacula.user
Message-ID <[email protected]>
> On 5/27/25 2:19 PM, Marco Gaiarin wrote:
>>
>> Sure, but if bacula-sd is ''locking'' the tape device, stenc cannon enroll
>> the key.
>>
>> My initial goal was to provide a script that verify if the key are correctly
>> enrolled on the tape drive; i've tested it on a (non busy) tape drive, but
>> found that does not work on a busy tape drive, or on a tape drive in a tape
>> library.
>>
>>
>> Probably there's no escape: to check if key is correctly enrolled, stenc
>> have to access fully the tape device...
>

"Correctly enrolled" is only defined in context of a tape you want to read or write to. We are working mainly with Quantum Superloader libraries. My workflow is:

Start Bacula and load a tape
Stop Bacula
Use stenc to load the needed key to the drive
Start Bacula and check if the tape name can be read correctly

HTH Udo

_______________________________________________
Bacula-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bacula-users
smime.p7s (application/pkcs7-signature, 4.3 KB) - not displayed
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.