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
- Back up the ODM by entering the following commands:
	cd /etc/objrepos
	mkdir bak
	cp Cu* bak
 
- Set the ODM location:
	export ODMDIR=/etc/objrepos
 
- 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)
 
- Update your boot image to reflect the changes:
	bosboot -ad /dev/hdisk#
	or
	savebase
 
- (OPTIONAL) Remove the device for active kernel, and reboot your system:
	shutdown -Fr
 
Removing a Tape Drive Using the ODM:   ITEM: FAX
Dated: 2000/06/06~00:00 Category: sys
This HTML file was generated 2001/03/08~16:06:36
Comments or suggestions?
Contact us