HP StoreOnce Backup System Linux and UNIX Configuration Guide (BB852-90952)
Using the following syntax, verify the mount point which lists the local mount, the remote mount,
and the parameters that the target device has been mounted with:
localhost:~ $ mount -v
The output will be similar to the following:
16.24.160.141:/nas/Share_1 on /mnt/nfs type nfs
(rw,sync,nfsvers=3,addr=16.24.160.141)
Controlling an iSCSI or Fibre Channel HP StoreOnce Backup System using
Linux
The HP StoreOnce Backup System can appear to the Linux operating system as one of many
supported emulation types. Refer to your product’s user guide for supported emulation types. 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. For this example we will be connecting to an emulated '1x8 G2 autoloader' and an
'Ultrium 3 tape drive'.
• 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" –e "MSL G3 Series"
For an MSL 2024 library the output will be similar to this:
Vendor: HP Model: MSL G3 Series Rev: pc81
Type: Medium Changer ANSI SCSI revision: 03
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 –f /dev/sg2 inquiry
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:
Controlling an iSCSI or Fibre Channel HP StoreOnce Backup System using Linux 11