I got several replies/pointers to okd posts or lists of files to delete 
in /etc most of which I found to be duplicated by running 
"/sbin/dn_setup -init". Ultimately my problem was using "mount -u /" and 
not "/sbin/mountroot" the latter which apparently does the former *and* 
syncs things with the runnung kernel.  My device numbers were all fine 
once I used mountroot.
Thanks for all the replies  (that I don't have access to now for 
individual acknoledgement).
 
                                                      _Mike
Mike Broderick wrote:
> I have a backup of one server (5.1a) that I want to restore to a 
> different h/w platform.  I booted the O/S cd, mounted the root, 
> usr,var filesets and restored.  Figuring the device db (and kernel 
> config) would be all out of whack I then booted the restored o/s disk 
> into single user using the generic kernel and did this to recreate the 
> device db:
>
> # mount -u /                                      
> # /sbin/dn_setup -init
> # dsfmgr -K
>
> But my devices are still all screwed up (negative deivce IDs):
>
> # hwmgr v d        HWID: Device Name          Mfg      
> Model            Location
> ------------------------------------------------------------------------------
>    3: scp                                              4: 
> kevm                                            56: 
> floppy0                       3.5in floppy     fdi0-unit-0
>   93: dmapi                                          -18: 
> (unknown)            QUANTUM  DLT8000          bus-2-targ-5-lun-0
>  -16: (unknown)            COMPAQ   BD009222C7       bus-2-targ-1-lun-0
>  -14: (unknown)            COMPAQ   BD009222C7       bus-2-targ-0-lun-0
>  -12: (unknown)            COMPAQ   CDR-8435         bus-1-targ-0-lun-0
>
> I cannot manually delete the devices as they have a negative id value 
> so the hwmgr del comp command fails.
>
> Is there something else I need to do?
>
>                                                                        
>               _Mike
>
>
>
Received on Wed Jul 02 2003 - 17:20:26 NZST