LKBEN10667: Howto know which tape devices are recognized by the windows OS


Symptom

You need to know your tape devices for your backup

Cause

none

Solution

You can use the rsm command to do the job. RSM is a kind of API for Backup software. It manages the backup devices in a database which enables it

to recognize all devices previously used on the system.

This command shows the tape library under windows:

rsm view /tlibrary

This command shows you GUID also:

rsm view /tlibrary /guiddisplay

The output looks like:

LIBRARY

Offlinemedien   2EAA2412C1C34119B193A760E19392A1
HL-DT-ST DVD-ROM GDRH10N        443A1622905649BCA6AAEE01678942E9

If you want to know the media pool you use:

rsm view /tmedia_pool /guiddisplay

MEDIA_POOL

Freie Medien    41503735319D423893D700D1CB2D68F2
Importmedien    4F8415D7A3E247C6A5DB56838A7FCB53
Nicht erkannte Medien   C5D20A1DC2104710AB82972462448238
Backup  49936DE47C004E0DA77D6DF61FB556BB

Disclaimer:

The information provided in this document is intended for your information only. Lubby makes no claims to the validity of this information. Use of this information is at own risk!

About the Author

Author: Wim Peeters - Keskon GmbH & Co. KG

Wim Peeters is electronics engineer with an additional master in IT and over 30 years of experience, including time spent in support, development, consulting, training and database administration. Wim has worked with SQL Server since version 6.5. He has developed in C/C++, Java and C# on Windows and Linux. He writes knowledge base articles to solve IT problems and publishes them on the Lubby Knowledge Platform.