IBM Support

Removing a Tape Drive Using the ODM

Technote (FAQ)


Question


Other means of removing a tape drive have failed.

Answer

Removing a Tape Drive Using the ODM


NOTE: This procedure should only be used when all other means of removing a tape drive have failed.

Environment

All AIX Versions
  1. Back up the ODM by entering the following commands:
     cd /etc/objrepos
     mkdir bak
     cp Cu* bak
    
  2. Set the ODM location:
     export ODMDIR=/etc/objrepos
    
  3. Delete the device:
     odmdelete -q name=rmt# -o CuAt
     odmdelete -q name=rmt# -o CuDv
     odmdelete -q value3=rmt# -o CuDvDr
     odmdelete -q name=rmt# -o CuVPD
    
    (Where # is the tape drive you want to remove)

  4. Update your boot image to reflect the changes:
     bosboot -ad /dev/hdisk#
     or
     savebase
    
  5. (OPTIONAL) Remove the device for active kernel, and reboot your system:
     shutdown -Fr
    

Historical Number

isg1pTechnote0562

Document information

More support for: AIX family

Software version: 4.3, 5.1, 5.2, 5.3

Operating system(s): AIX

Reference #: T1000337

Modified date: 26 November 2008


Translate this page: