HP Q1581A HP DDS/DAT drives UNIX, Linux and OpenVMS configuration guide (DW049 - Page 32

Installing USB drivers on Linux, Verifying an autoloader has installed correctly, What next?

Page 32 highlights

Installing USB drivers on Linux Two drivers are required in order to use HP DDS/DAT USB tape drives. These are included with the operating system and should be loaded automatically. Use the following procedure to check that both drivers are present: usb_storage driver 1. At the command prompt type: lsmod | grep usb_storage 2. The output of this command should contain a line similar to: usb_storage 61193 0 If the line is not present type modprobe usb_storage at the command line to load the usb-storage driver. st tape driver 1. At the command prompt type: lsmod | grep st 2. The output of this command should contain a line similar to: st 35933 0 If the line is not present type: modprobe st at the command line to load the st driver. Verifying an autoloader has installed correctly To verify that the autoloader has installed correctly, run the following mtx command: mtx -f /dev/ status This will display the various elements in the autoloader. For more details of the mtx command, run: man mtx. What next? Once the device files have been created, you should confirm that your new tape drive is working properly. Chapter 8, "Verifying the installation" provides instructions on backing up and restoring a sample file to test your installation. 32 Linux (kernel 2.6.x) servers and workstations

  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • 8
  • 9
  • 10
  • 11
  • 12
  • 13
  • 14
  • 15
  • 16
  • 17
  • 18
  • 19
  • 20
  • 21
  • 22
  • 23
  • 24
  • 25
  • 26
  • 27
  • 28
  • 29
  • 30
  • 31
  • 32
  • 33
  • 34
  • 35
  • 36
  • 37
  • 38
  • 39
  • 40
  • 41
  • 42

Linux (kernel 2.6.x) servers and workstations
32
Installing USB drivers on Linux
Two drivers are required in order to use HP DDS/DAT USB tape drives. These are included with the
operating system and should be loaded automatically.
Use the following procedure to check that both drivers are present:
usb_storage driver
1.
At the command prompt type:
lsmod | grep usb_storage
2.
The output of this command should contain a line similar to:
usb_storage 61193 0
If the line is not present type
modprobe usb_storage
at the command line to load the usb-storage driver.
st tape driver
1.
At the command prompt type:
lsmod | grep st
2.
The output of this command should contain a line similar to:
st 35933 0
If the line is not present type:
modprobe s
t
at the command line to load the st driver.
Verifying an autoloader has installed correctly
To verify that the autoloader has installed correctly, run the following
mtx
command:
mtx –f /dev/<autoloader_device_file> status
This will display the various elements in the autoloader. For more details of the
mtx
command, run:
man mtx.
What next?
Once the device files have been created, you should confirm that your new tape drive is working
properly.
Chapter 8, “Verifying the installation”
provides instructions on backing up and restoring a
sample file to test your installation.