Creating Attach Points with makedev
Installing Oracle Secure Backup on Linux or UNIX 2-15
In the following example, the attach point /dev/obl8 is created for the ADIC
FastStor 2 library attached to scsi2 having the target id 0 and lun 0:
makedev
Enter logical unit number 0-31 [0]: 8
Enter 'd' if this device is a tape drive or 'l' if a SCSI-2 addressable
tape library [d]: l
Enter SCSI bus name: scsi2
Enter SCSI target id 0-16777215: 0
Enter SCSI logica l unit number (lun) 0-7 [0]: 0
/dev/obt8 created
In this second example, the attach point /dev/obl9 is created for the ADIC Scalar
24 library attached to fsci0 having the target id 6423827 and lun 0:
makedev
Enter logical unit number 0-31 [0]: 9
Enter 'd' if this device is a tape drive or 'l' if a SCSI-2 addressable
tape library [d]: l
Enter SCSI bus name: fscsi0
Enter SCSI target id 0-16777215: 6423827
Enter SCSI logical unit number (lun) 0-7 [0]: 0
/dev/obl9 created
The makedev script creates the attach point, displaying messages indicating its
progress.
Identifying and Configuring AIX Devices in a Point-to-Point or FC-AL Configuration
In a point-to-point or FC-AL configuration, no tool is provided to help you determine
the SCSI ID and LUN. However, for IBM-supported devices in these configurations,
you can use the lsattr command.
To identify and configure AIX devices with lsattr and makedev:
1. Log on as root.
You must have operating system privileges to access devices, which is often root
access, to run lsattr.
2. Run lsattr for each SCSI and Fibre Channel adapter with tape devices to be
used by
Oracle Secure Backup.
The following lsattr example displays the attribute names, current values,
descriptions, and user-settable flag values for the rmt0 device:
user: lsattr -El rmt0
block_size 512 BLOCK size (0=variable length) True
delay 45 Set delay after a FAILED command True
density_set_1 0 DENSITY setting #1 True
density_set_2 0 DENSITY setting #2 True
extfm yes Use EXTENDED file marks True
location Location Label True
lun_id 0x1000000000000 Logical Unit Number ID False
mode yes Use DEVICE BUFFERS during writes True
node_name 0x1000006045175222 FC Node Name False
res_support no RESERVE/RELEASE support True
ret_error no RETURN error on tape change or reset True
rwtimeout 144 Set timeout for the READ or WRITE commandTrue
scsi_id 0x2 SCSI ID False
var_block_size 0 BLOCK SIZE for variable length support True
ww_name 0x2001006045175222 FC World Wide Name False