Creating Attach Points with makedev
Identifying and Configuring Linux Attach Points
Oracle recommends that you use the /dev/sg devices as attach points with
Secure Backup
has certain limitations that may not be acceptable in some environments. For example,
the LUN cannot be greater than 7, and the SCSI bus number cannot be greater than 1.
The existing method of using /dev/ob* devices continues to work for a tape device
that does not fall into the limitation category.
To identify the /dev/sg that corresponds to the tape device you are interested in, you
can use the sg_map command.
To configure Linux attach points:
Execute the following Linux command:
1.
sg_map -i -x
Example 2–2
Example 2–2 sg_map -i -x
sg_map -i -x
/dev/sg0
/dev/sg1
/dev/sg2
/dev/sg3
/dev/sg4
/dev/sg5
/dev/sg6
/dev/sg7
/dev/sg8
/dev/sg9
/dev/sg10 2 0 3 0 1 /dev/nst4 IBM
/dev/sg11 2 0 3 1 8 ADIC
Using the sg_map output, make a note of the attach point for each tape device that
2.
you want to configure.
Table 2–5
Table 2–5
Device Type
Tape library
Tape drive
Use the mkdev command in obtool to create attach points so that Oracle Secure
3.
Backup can identify devices for backup and restore operations.
The following example creates attach points for the tape library and tape drive
shown in
ob> mkdev -t library -o -a node1:/dev/sg3 lib1
ob> mkdev -t tape -o -a node1:/dev/sg4 -l lib1 -d 1 tape1
Configuring the Solaris sgen Driver to Provide Oracle Secure Backup Attach Points
Prior to Oracle Secure Backup 10.3.0.3, Oracle Secure Backup provided a loadable
kernel driver to control the library (changer) and tape (sequential) devices. Starting
with Oracle Secure Backup 10.3.0.3, this kernel driver is removed. The standard sgen
2-18 Oracle Secure Backup Installation and Configuration Guide
on Linux. The use of the
shows sample output.
0 0 0 0 0 /dev/sda DELL
0 0 1 0 0 /dev/sdb DELL
0 0 2 0 0 /dev/sdc DELL
1 0 1 0 8 ADIC
FastStor 2
1 0 2 0 1 /dev/nst0 HP
2 0 0 0 1 /dev/nst1 IBM
2 0 0 1 8 ADIC
Scalar 24
2 0 1 0 1 /dev/nst2 IBM
2 0 1 1 8 ADIC
Scalar 24
2 0 2 0 1 /dev/nst3 IBM
Scalar 24
shows a tape library and tape drive from
Information Required by mkdev
Name
ADIC FastStor 2
HP Ultrium 2
Table
2–5.
Oracle Secure Backup
PERC Stripe
V1.0
PERC Stripe
V1.0
PERC Volume
V1.0
G12r
Ultrium 2-SCSI
F53A
ULTRIUM-TD2
5AT0
310A
ULTRIUM-TD2
5AT0
310A
ULTRIUM-TD3
54K1
ULTRIUM-TD3
54K1
310A
Example
Path
/dev/sg3
/dev/sg4
Oracle
/dev/ob devices
2–2.
Need help?
Do you have a question about the Secure Backup and is the answer not in the manual?