Oracle® Secure Backup Reference Release 10.1 Part Number B14236-03 |
|
|
View PDF |
Purpose
Use the rmdev
command to remove a device from an administrative domain. You can execute the mkdev command to reconfigure a device for use by Oracle Secure Backup.
See Also:
"Device Commands" for related commandsPrerequisites
You must have the modify administrative domain's configuration right to use the rmdev
command.
Syntax
rmdev::=
rmd•ev [ --nq ] devicename ...
Semantics
Does not display a confirmation message. If you do not specify this option, then the command displays a confirmation message. The message is described in "Command Execution in Interactive Mode".
Specifies the name of the device that you want to remove. Refer to "devicename" for the rules governing device names.
Example
Example 2-127 removes a tape drive from a library.
Example 2-127 Removing a Tape Drive
ob> lsdev library lib1 in service drive 1 tape1 in service library lib2 in service drive 1 tape2 in service drive 2 tape2a in service ob> rmdev tape2a Warning: removing a device to which a job is restricted will cause the job to become unusable. remove device tape2a? (a, n, q, y, ?) [n]: y ob> lsdev library lib1 in service drive 1 tape1 in service library lib2 in service drive 1 tape2 in service