remove obsolete /device entries
From: Martin Paul (map_at_par.univie.ac.at)
Date: 02/10/04
- Next message: Martin Paul: "Re: after cluster patch care"
- Previous message: Arvid Oja: "Re: sort getting confused"
- Next in thread: Serge Lisin: "Re: remove obsolete /device entries"
- Reply: Serge Lisin: "Re: remove obsolete /device entries"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
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
- Next message: Martin Paul: "Re: after cluster patch care"
- Previous message: Arvid Oja: "Re: sort getting confused"
- Next in thread: Serge Lisin: "Re: remove obsolete /device entries"
- Reply: Serge Lisin: "Re: remove obsolete /device entries"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|