Find out all Vault 2 tapes needed to rebuild vault 1 tape

35 views
Skip to first unread message

Geremy Brown

unread,
Jul 30, 2024, 8:21:23 PM7/30/24
to Spectra Logic S3 SDKs, APIs, and RioBroker
Hi There, We have a blackpearl with spectrastack and I want to use CLI to find out what vault2 tapes are needed to rebuild a vault 1 tape. Of course, if you delete the vault 1 tape from blackpearl then IOM will send a message to fetch Vault 2 tapes (currently off site) to automatically rebuild the vault 1 tape but I want to be able to know which tapes they are without doing this. It was suggested to use  Java CLI. You can use commands like get_objects_on _tape and then use get_physical _placement.

I have java cli working but it is not clear how to use these two commands to input a tape barcode number xxxxxxL8 and get a list of tapes needed for rebuild. If I use java cli for get_objects_on_tape -i XXXXXXL8 this works and lists all of the objects on the tape but not clear how I can parse this data to then use with get_physical_placement.

Any tips would be appreciated.
Reply all
Reply to author
Forward
0 new messages