How to Remove a Tape Drive Device?

From: G W Cantello (glenn.w.cantello@opg.com)
Date: Thu Aug 29 2002 - 16:24:36 EDT


Sun Managers:

We have an E450, running Sol8 2/02 patched to ~ June, 2002

It has a SunSwitft 10/100BaseT Ethernet + Fast/Wide UltraSCSI-2
connection.

We have two tape drives (DLT8000) connected, one to main SCSI-2
connector and one to the SunSwift card.

Wanted to switch the drive on main SCSI connector with the other
one. please accept that this was necessary.

The drives were powered off and the cables switched.

Power on the drives and we no longer see either one. We determine
that one tape drive was set to target 4 and one to target 5. So,
we run

# devfsadm -C -c tape

Now we have 4 tape devices in our device tree.

power off drives and run it again.
same thing, 4 devices.

disconnect the cables

# rm /dev/rmt/*
# rm /devices/pci@1f,4000/scsi@2/st* (motherboard device)
# rm /devices/pci@6,4000/pci@4/SUNW,isptwo@4/st* (SunSwift card)
# devfsadm -C -c tape

same thing, 4 devices.

We are not able to force E450 to remove these devices completely.

Machine is in production and may be some time before we can reboot
with reconfigure to see if this would help. Seems like somehow the
kernel is "remembering" the tape drives existed. Any advice on how
to make E450 not remember this stuff? Is it in a file somewhere?

We ran in to a similar problem some time ago with controllers. We
eventually tracked that to /dev/cfg where it remembered all controllers
ever plugged in. Is there something similar for tape drives?

TIA

============================================================
Glenn W. Cantello email address: glenn.w.cantello@opg.com
Ontario Power Generation; 416 592-5534 (v); 416 592 5528 (f)
H11 G27; 700 University Avenue, Toronto, ON M5G 1X6 CANADA
_______________________________________________
sunmanagers mailing list
sunmanagers@sunmanagers.org
http://www.sunmanagers.org/mailman/listinfo/sunmanagers



This archive was generated by hypermail 2.1.7 : Wed Apr 09 2008 - 23:24:51 EDT