1831826 Members
2988 Online
110031 Solutions
New Discussion

Instance numbers

 
Bill McNAMARA_1
Honored Contributor

Instance numbers

just before I go home and prepare for Paddys day with a few quick whiskeys, can anyone tell me a good way to recove instance numbers.. ie to get them back to low numbers.

I've got a few training systems to admin and because SCSI IDs and hardware and so on is being constantly changed, I'm getting really high instance numbers for my ext_bus controllers. I can recall seeing a script some where that involved rebuilding kernel maps, recompiling the kernel and updating lvmtab and other bootdisk related info.

Thanks,
have a good one tomorrow..
Bill

It works for me (tm)
2 REPLIES 2
Patrick Wallek
Honored Contributor

Re: Instance numbers

Hmmmm.......I don't know about the script you reference, but could you do a rmsf to remove the unneeded special files and then have it start back with low numbers? I don't know if that would work, but it sounds good to me, whatever that's worth.
Bill Hassell
Honored Contributor

Re: Instance numbers

One of the very useful features of insf is the ability to pick a specific instance number and hardware path. Since the device files are easily deleted with rmsf (don't use rm), you can delete a high numbered instance using the rmsf -H option, then add it back with -H and -I options.


Bill Hassell, sysadmin