Controlling An Hp Storeonce Backup System Using Linux; Verify You Are Controlling The Correct Library; To Verify The Device File For The Robotics Of The Library; To Verify The Tape Device File For The Tape Drive - HP StoreOnce B6000 Configuration Manual

Hp b6000 storeonce backup system linux and unix configuration guide
Hide thumbs Also See for StoreOnce B6000:
Table of Contents

Advertisement

Controlling an HP StoreOnce Backup System using Linux

The HP StoreOnce Backup System appears to the Linux operating system as a 1x8 G2 autoloader
and Ultrium tape drive. The robotics within the autoloader can be controlled from the console using
a command called MTX. If the MTX utility is not installed, it can be added using the package
manager. The complete MTX manual can also be accessed from any Linux console using the
command man mtx.
The following examples illustrate how to complete common tasks with the HP StoreOnce Backup
System.

Verify you are controlling the correct library

Review the media
Load a cartridge into the tape drive
Unload a cartridge from the tape drive
Move a cartridge to the mail slot
Move a cartridge from the mail slot
Verify you are controlling the correct library
The robotics of the library will be assigned a generic SCSI device file. To discover the device file
assigned, use the following command:
localhost:~ $ dmesg | grep -A2 —e "1x8 G2 AUTOLDR"
For an MSL 2024 library the output will be similar to this:
Vendor: HP
Type:
Medium Changer
1:0:0:0: Attached scsi generic sg2 type 8
In this example the device file that has been assigned is sg2. Therefore, the library can be controlled
using the device file /dev/sg2.

To verify the device file for the robotics of the library

To verify the correct device file has been determined, the following command should be used:
localhost:~ $ mtx
The output for an MSL 2024 library should be:
Product Type: Medium Changer
Vendor ID: 'HP
Product ID: 'MSL G3 Series
Revision: 'pc81'
Attached Changer: No

To verify the tape device file for the tape drive

The tape drive(s) of the library will also be assigned a generic SCSI device file(s), along with SCSI
tape device file(s). To discover the SCSI tape device file(s) assigned, use the following command:
localhost:~ $ dmesg | grep -A 4 "Ultrium"
The output will be similar to this:
Vendor: HP
Type:
Sequential-Access
2:0:0:0: Attached scsi generic sg3 type 1
st: version 20050830, fixed bufsize 32768, s/g segs 256
st 2:0:0:0: Attached scsi tape st0
In this example the SCSI tape device file that has been assigned is st0. To verify the tape device
file for the tape drive, the MT command should be used:
localhost:~ $ mt -f /dev/st0 status
Model: MSL G3 Series
f /dev/sg2 inquiry
'
'
Model: Ultrium 3-SCSI
Rev: pc81
ANSI SCSI revision: 03
Rev: pc81
ANSI SCSI revision: 03
Controlling an HP StoreOnce Backup System using Linux
e "MSL G3 Series"
13

Advertisement

Table of Contents
loading

Table of Contents