- 论坛徽章:
- 0
|
Find your answer In the section of "Installation and Configuration" in Chapter 4 of "IBM tape device drivers Installation and User's Guide"
ftp://ftp.software.ibm.com/storage/devdrvr/Doc
Configure Selected IBM Tape Devices with ATDD/ACDD:
-- Attaching Selected IBM Tape Devices to ATDD/ACDD During Auto Booting:
To claim a specific tape device with atdd/acdd during reboot, edit the ″Claiming Device″ section in the file of /sbin/init.d/atdd.
For example, to attach IBM 3590E11 medium changer with acdd driver:
1. To determine the HW path:
# ioscan -fnk|grep IBM autoch 0 0/3/0/0.5.1 schgr CLAIMED DEVICE IBM 03590E11
2. Comment out the command line(s) in the init script of /sbin/init.d/atdd:
- For tape drives:
/opt/atdd/bin/atdd_claim -t
- For medium changers:
/opt/atdd/bin/atdd_claim -c
3. Add a command line in the ″Configuring Device″ section in /sbin/init.d/atdd:
/opt/atdd/bin/atdd_claim -H 0/3/0/0.5.1
-- Attaching Selected IBM Tape Devices to ATDD/ACDD Dynamically:
To dynamically attach selected IBM tape device after the ATDD installation, run the following commands.
1. To determine the HW path of the device:
# ioscan -fnk|grep IBM autoch 0 0/3/0/0.5.1 schgr CLAIMED DEVICE IBM 03590E11
2. To claim the device with ATDD/ACDD:
# /opt/atdd/bin/atdd_claim -H 0/3/0/0.5.1
Note:
The dynamic attachment may be lost after the system reboots.
-- Attaching Selected IBM Tape Device with a Particular Driver:
Use the system ioscan and rmsf commands to force a non-atdd/acdd driver to bind an IBM tape device.
For example, force bind the IBM 3590E media changer with the HP native changer driver schgr with these steps:
1. Determine the HW path of the device:
# ioscan -fnk |grep IBM
tape 0 0/3/0/0.5.0 atdd CLAIMED DEVICE IBM 03590E11
autoch 0 0/3/0/0.5.1 acdd CLAIMED DEVICE IBM 03590E11
2. Remove the I/O configuration from the system:
# rmsf -H 0/3/0/0.5.1
3. Force binding:
# ioscan -M schgr -H 0/3/0/0.5.1
4. Create the device special files:
# insf -H 0/3/0/0.5.1
5. Verify the force binding:
# ioscan -fnk |grep IBM
tape 0 0/3/0/0.5.0 atdd CLAIMED DEVICE IBM 03590E11
autoch 0 0/3/0/0.5.1 schgr CLAIMED DEVICE IBM 03590E11
Note:
The force binding will be lost after the system reboots. To keep the binding to a selected device with a particular driver after a reboot,
add these command-lines in steps 2–4 in ″Claiming Device″ section in /sbin/init.d/atdd file.
For example,
# Configuring Device Section:
# add specific device claim here, for example
# /opt/atdd/bin/atdd_claim -H 0/3/0/0.5.1
# /opt/atdd/bin/atdd_claim -H 0/6/0/0.1.30.255.0.0.1
rmsf -H 0/3/0/0.5.1
ioscan -M schgr -H 0/3/0/0.5.1
insf -H 0/3/0/0.5.1 |
|