remove obsolete /device entries

From: Martin Paul (map_at_par.univie.ac.at)
Date: 02/10/04


Date: 10 Feb 2004 11:09:17 GMT

Is there a clean/supported way of removing every appearance of
old devices (PCI cards, external SCSI drives) for Solaris 9 ?

I have a V880 that currently has its two 64bit/66MHz PCI slots
occupied with a PGX64 and a Sun Ultra SCSI 2 (dual channel) PCI
adapter. On one SCSI channel there's a tape library connected,
with device entries for the tape drive and the library robotics
(via the stctl driver).

I now want put two Ultra 3 SCSI controllers into the these PCI
slots, to which I'll connect a Storedge 3310 and an L25 tape
library. The PGX64 should be moved to another PCI slot, the
old tape library and the Ultra 2 SCSI driver will be removed
completely.

The plan is to shutdown the machine, move PCI cards and devices
as needed and do a reconfiguration boot. I guess this is basically
OK, but I will get e.g. /dev/rmt/1 for the new tape drive, and
/dev/fbs/m641 for the PGX64 in the new slot, and will have "dead"
entries under /devices and /dev for the removed/moved devices.
I also seem to remember that "devfsadm -C" does't remove old
links either.

Can I simply remove entries under /devices and /dev which point
to removed devices ? Will I have to edit path_to_inst, and would
that be a good idea ?

The machine runs 24x7, and isn't reinstalled frequently. I'd prefer
not to have e.g. the new tape drive being named /dev/rmt/1 and
the old /dev/rmt/0 hanging around, pointing to a non-existing
device.

Thanks is advance for any pointers,

mp.

-- 
Systems Administrator | Institute for Software Science | Univ. of Vienna


Relevant Pages

  • Re: Ultra 5/10 vs Ultra 60 for workstation.
    ... max 2 drives per channel, with one drive on a channel you get 33MB/s for that drive, which is definately not U320 performance, but more than many IDE hard disks more than two years old can manage. ... In fact, I have a dual Sun SCSI card here, which I had to remove from my Ultra 80 when I run out of PCI slots. ... More RAM slots, so you are less likely to need to get rid of ram in order to add RAM. ...
    (comp.sys.sun.hardware)
  • Re: PCI device driver vs SCSI device driver
    ... PCI is the thingy where you plug SCSI host adapters (the whitish slots ... the entire slot from the PCI bus. ... While the drives themselves stay on the SCSI bus ...
    (comp.os.linux.development.system)
  • Re: Using PCI SCSI card on A8N-SLI Premium
    ... I had a look for any PCI Express SCSI cards that I could use and have not yet found anything suitable for this purpose. ... Now my aim was to use the Fujitsu as the system/program boot drive and raid0 a couple of 300gig SATA2 drives as the data drive. ...
    (alt.comp.periphs.mainboard.asus)
  • SCSI Problem
    ... Adaptec AHA-2930CU PCI SCSI ... USB 2.0 PCI ... Toshiba CD-ROM XM-6201TA SCSI ... The SCSI drives just cycle. ...
    (microsoft.public.windowsxp.help_and_support)
  • Re: PCI device driver vs SCSI device driver
    ... and the other between you and the "generic" SCSI ... The prototypical "SCSI driver" is for a board that interfaces ... to a physical SCSI bus (these days via PCI). ... than PCI slots as well, but I don't know of any examples. ...
    (comp.os.linux.development.system)