Driver and tools for tape devices for AIX and IBM tape drives can be downloaded at the following address:
http://www.ibm.com/support/fixcentral
You have to enter the following options:
For drivers, you add:
You have to download Atape and atldd Library drivers
For tools, you select:
Select itdtinst package to download
To install Atape driver on Windows, use the command line with the option: install.exe -f (no path failover, single path only)
The itdt file is a self extracting executable.
You can create links to itdt in /usr/sbin but itdt has to run in the directory where it's configuration files reside.
So you have to create a wrapper called taputil in /opt/ibm/itdt:
taputil
#!/bin/ksh cd /opt/ibm/itdt ./itdt exit 0
Get it executable:
chmod 700 tapeutil
Add two links in /usr/sbin:
Now you can call itdt or tapeutil anywhere.
In case of trouble with drives on Windows, if the utility tsmdlst.exe /xinquiry (into the TSM server install path into console dirrectory) doesn't give information about drives serial number, then use the following procedure:
1. Use Windows command line:
# cmd # set DEVMGR_SHOW_NONPRESENT_DEVICES=1 # devmgmt.msc
Now into the Windows, go on –> View –> Show Hidden Devices
Look for Tape drives and Medium changer, delete all devices grayed into this section (carefull do not delete anything into “Non-Plug and Play Drivers” this is the kernel modules)
2. Rescan the devices into Device Management Windows
3. Into the device drivers package, use the script in windows command line: install_nonexclusive.exe While driver installation, don't validate anything, wait a while, it will select the right driver it own, if you select it manually during this process, you 'll have problems.
4. Check the drives serial number: with utility tsmdlst.exe /xinquiry
As devices are identified, entries are added to the Windows registry based on the physical connection information (such as the bus number and port number). This connection path is always recorded in the Windows registry with the following format:
HKLM\HARDWARE\DEVICEMAP\SCSI\Scsi Port N\Scsi Bus Z\Target Id X\Logical Unit Id Y (where N, Z, X, and Y are numbers)
Effective drives defined on linux
[root@rhtsmp01 dev]# cat /proc/scsi/IBMtape lin_tape version: 3.0.3 lin_tape major number: 247 Attached Tape Devices: Number model SN HBA SCSI FO Path 0 ULT3580-TD5 1068051xxx lpfc 1:0:0:0 NA 1 ULT3580-TD5 9168016xxx lpfc 1:0:1:0 NA 2 ULT3580-TD6 9068800xxx lpfc 1:0:2:0 NA 3 ULT3580-TD6 10WT005xxx lpfc 1:0:3:0 NA 4 ULT3580-TD6 10WT000xxx lpfc 1:0:4:0 NA 5 ULT3580-TD6 10WT000xxx lpfc 1:0:5:0 NA 6 ULT3580-TD3 1210070xxx lpfc 1:0:6:0 NA 7 ULT3580-TD3 1210082xxx lpfc 1:0:7:0 NA 8 ULT3580-TD5 1068055xxx lpfc 2:0:0:0 NA 9 ULT3580-TD6 9068800xxx lpfc 2:0:1:0 NA 10 ULT3580-TD6 10WT000xxx lpfc 2:0:2:0 NA 11 ULT3580-TD6 10WT005xxx lpfc 2:0:3:0 NA 12 ULT3580-TD6 10WT000xxx lpfc 2:0:4:0 NA 13 ULT3580-TD3 1210082xxx lpfc 2:0:5:0 NA 14 ULT3580-TD3 1210177xxx lpfc 2:0:6:0 NA
Effective library changer defined on linux
[root@rhtsmp01 dev]# cat /proc/scsi/IBMchanger lin_tape version: 3.0.3 lin_tape major number: 247 Attached Changer Devices: Number model SN HBA SCSI FO Path 0 3576-MTL 000001323333_LLA lpfc 1:0:0:1 NA 1 3576-MTL 000001321220_LLA lpfc 1:0:5:1 NA 2 3576-MTL 000001321220_LLA lpfc 2:0:2:1 NA 3 3576-MTL 000001301984_LLB lpfc 2:0:5:1 NA 4 3576-MTL 000001301984_LLB lpfc 2:0:6:1 NA
Assign alias to drives
[root@rhtsmp01 dev]# cat /etc/udev/rules.d/98-lin_tape.rules KERNEL=="IBMtape*[!n]", ATTR{serial_num}=="10WT002226", SYMLINK="lin_tape/by-id/10WT002226_LTO6D1", MODE="0666" KERNEL=="IBMtape*[!n]", ATTR{serial_num}=="10WT009976", SYMLINK="lin_tape/by-id/10WT009976_LTO6D3", MODE="0666" KERNEL=="IBMtape*[!n]", ATTR{serial_num}=="9068802254", SYMLINK="lin_tape/by-id/9068802254_LTO6D2", MODE="0666" KERNEL=="IBMtape*[!n]", ATTR{serial_num}=="10WT004428", SYMLINK="lin_tape/by-id/10WT004428_LTO6D4", MODE="0666" KERNEL=="IBMtape*[!n]", ATTR{serial_num}=="1068055542", SYMLINK="lin_tape/by-id/1068055542_LTO5D1", MODE="0666" KERNEL=="IBMtape*[!n]", ATTR{serial_num}=="9168016299", SYMLINK="lin_tape/by-id/9168016299_LTO5D2", MODE="0666" KERNEL=="IBMtape*[!n]", ATTR{serial_num}=="1068055766", SYMLINK="lin_tape/by-id/1068055766_LTO5D3", MODE="0666" KERNEL=="IBMtape*[!n]", ATTR{serial_num}=="1068052558", SYMLINK="lin_tape/by-id/1068052558_LTO5D4", MODE="0666" KERNEL=="IBMchanger*",, ATTR{serial_num}=="000001323333_LLA", SYMLINK="lin_tape/by-id/00000132333_LLA_TS3310ROC", MODE="0666" KERNEL=="IBMchanger*",, ATTR{serial_num}=="000001321220_LLA", SYMLINK="lin_tape/by-id/000001321220_LLA_TS3310ROOS", MODE="0666"
Scan SCSI bus (FC adapters)
[root@rhtsmp01 rc3.d]# ls /sys/class/scsi_host/host*/scan /sys/class/scsi_host/host0/scan /sys/class/scsi_host/host3/scan /sys/class/scsi_host/host1/scan /sys/class/scsi_host/host4/scan /sys/class/scsi_host/host2/scan [root@rhtsmp01 rc3.d]# echo "- - -" > /sys/class/scsi_host/host0/scan [root@rhtsmp01 rc3.d]# echo "- - -" > /sys/class/scsi_host/host1/scan [root@rhtsmp01 rc3.d]# echo "- - -" > /sys/class/scsi_host/host2/scan [root@rhtsmp01 rc3.d]# echo "- - -" > /sys/class/scsi_host/host3/scan [root@rhtsmp01 rc3.d]# echo "- - -" > /sys/class/scsi_host/host4/scan
Or
rescan-scsi-bus.sh
List SCSI devices
[root@rhtsmp01 rc3.d]# lsscsi [0:0:0:0] enclosu IBM VSBPD12M1 6GSAS 03 - [0:0:1:0] enclosu IBM VSBPD12M1 6GSAS 03 - [0:0:2:0] cd/dvd TSSTcorp CDDVDW TS-L633B IB03 /dev/sr0 [0:3:0:0] no dev IBM 57D7001SISIOA 0150 - [1:0:0:0] tape IBM ULT3580-TD5 G360 - [1:0:0:1] mediumx IBM 3576-MTL 680G - [1:0:1:0] tape IBM ULT3580-TD5 G360 - [1:0:2:0] tape IBM ULT3580-TD6 G350 - [1:0:3:0] tape IBM ULT3580-TD6 G350 - [1:0:4:0] tape IBM ULT3580-TD6 G350 - [1:0:5:0] tape IBM ULT3580-TD6 G350 - [1:0:5:1] mediumx IBM 3576-MTL 670G - [1:0:6:0] tape IBM ULT3580-TD3 93GP - [1:0:7:0] tape IBM ULT3580-TD3 93GP - [2:0:0:0] tape IBM ULT3580-TD5 G360 - [2:0:1:0] tape IBM ULT3580-TD6 G350 - [2:0:2:0] tape IBM ULT3580-TD6 G350 - [2:0:2:1] mediumx IBM 3576-MTL 670G - [2:0:3:0] tape IBM ULT3580-TD6 G350 - [2:0:4:0] tape IBM ULT3580-TD6 G350 - [2:0:5:0] tape IBM ULT3580-TD3 93GP - [2:0:5:1] mediumx IBM 3576-MTL 640G - [2:0:6:0] tape IBM ULT3580-TD3 93GP - [2:0:6:1] mediumx IBM 3576-MTL 640G - [3:0:0:0] disk IBM 2145 0000 /dev/sda [3:0:1:0] disk IBM 2145 0000 /dev/sdb [3:0:2:0] disk IBM 2145 0000 /dev/sdc [3:0:2:1] disk IBM 2145 0000 /dev/sdd