[OT] stenc and library...

Marco Gaiarin <[email protected]>
Newsgroups gmane.comp.bacula.user
Organization Il gaio usa sempre TIN per le liste, fallo anche tu!!!
Message-ID <[email protected]>
A bit OT but i don't know where to ask...

I'm using stenc to load keys to LTO tapes; if the LTO tape is 'single',
internal or external does not matter, i can inqiry ectryption status easily:

 root@svpve3:~# stenc -f /dev/st0 --detail
 Status for /dev/nst0
 --------------------------------------------------
 Device Mfg:              IBM     
 Product ID:              ULTRIUM-HH9     
 Product Revision:        Q3F5
 Drive Encryption:        mixed
 Drive Output:            Decrypting
                          Unencrypted data outputted
 Drive Input:             Encrypting
 Key Instance Counter:    1
 Encryption Algorithm:    2
 Drive Key Desc.(uKAD):   "svpve3-10WT017440-2025"
 Volume Encryption:       Encrypted and able to decrypt
 Volume Algorithm:        3

if i try to do the same thing on a (tape in a) tape library, i got:

 root@cnpve3:~# stenc -f /dev/st0 --detail
 Status for /dev/nst0
 --------------------------------------------------
 Could not open device '/dev/nst0': ERROR: Device Busy


I think the culprit came from the fact that on a simple tape storage
configuration i have:

	Always Open = no

while on the library storage conf i have:

	Always Open = yes


There's something i can do? Reading docs seems to me that 'Always Open =
yes' is preferrable and needed for tape library (so my choice); i cannot do
an 'umount' every time i need to check for key; probably better a 'release'?


Thanks.

--
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.