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

AIX Versions 3.2 - 4.3

Problem

Other means of removing a tape drive have failed.

Solution

  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
    



[ Doc Ref: 9578896072298     Publish Date: Jun. 06, 2000     4FAX Ref: none ]