Use the makedev
tool to configure devices for use with Oracle Secure Backup. This tool provides an alternative to creating device special files with installob.
You must run this utility as root
on a Linux or UNIX system.
Note the following aspects of makedev
usage:
The makedev
tool creates device special files for UNIX media servers. For each tape drive that you define, makedev
creates one special file. For each library you define, makedev
creates a single device file.
The makedev
tool prompts you for any required information that you do not supply on the command line. You can respond to any prompt with a question mark (?
) to display more information.
install/makedev [ -u unit ] [ -d ] [ -b bus ] [ -t target ] [ -l lun ] [ -f ] [ -n ] [ -x ] [ -y ] [ -z ] [ -h | ? | -? ] [ -dr | -mh ]
Creates the device special file for the device specified by Oracle Secure Backup logical unit number, which can range in value from 0 through 31. The Oracle Secure Backup logical unit number of a device is a number assigned by you and used by makedev
to create unique filenames for the devices connected to the media server. Although it is not a requirement, unit numbers usually start at 0.
Uses the default value for each unspecified option instead of prompting for it. Note that you must always specify a unit number (-u
) even if you use this option.
Specifies the SCSI bus number, address, or instance (depending on operating system type), to which the device is attached.
Table 5-1 lists the default SCSI bus designation for each supported operating system type.
Specifies the SCSI target ID of the device, which can range from 0 through 15. The default depends on the logical unit number that you specified with the -u
option.
Specifies the SCSI logical unit number (LUN) of the device. Most operating systems support only LUN 0 and 1.The default LUN is 0.
Be careful not to confuse the SCSI LUN with the Oracle Secure Backup logical unit number. The LUN is part of the hardware address of the device; the Oracle Secure Backup logical unit number is part of the device special file name.
Replaces any existing files or drivers without prompting for confirmation. By default, makedev
prompts you to confirm replacement of any existing device special files.
Displays the commands that will be executed by makedev
to generate device special files, but does not actually create the files.
Displays all commands as they are executed by makedev
.
Traces entry and exit from each subscript as it is executed by makedev
.
Generates a trace file, makedev.trc
, in the current directory. This file contains the output of the methods used to define and configure the device.
Displays a summary of makedev
usage. You might need to type -\?
instead of -?
to avoid shell wildcard expansion.
Creates special files for a tape drive. This the default.
Creates special files for a SCSI library.
Example 5-4 uses makedev
to create a device special file. The example creates a special file for a tape drive, unit 0, at the default SCSI bus and target.