HPE Community read-only access December 15, 2018
This is a maintenance upgrade. You will be able to read articles and posts, but not post or reply.
Hours:
Dec 15, 4:00 am to 10:00 am UTC
Dec 14, 10:00 pm CST to Dec 15, 4:00 am CST
Dec 14, 8:00 pm PST to Dec 15, 2:00 am PST
System Administration
cancel
Showing results for 
Search instead for 
Did you mean: 

Re-Order Device Number Instances in HP-UX 11.31

 
Alzhy
Honored Contributor

Re-Order Device Number Instances in HP-UX 11.31

I cloned an OS via the "dd" approach.

On "resettlement" of the OS, the device numbers are not in the order one would get if it were a fresh install.

For instance, my tape drives  start at tape4 through tape9 instead of starting with tape0. Ditto with my local SAS drives.

 

What is the best way to have the OS renumber the devices?

 

Sorry, been Linux-centric these past few months...

 

Hakuna Matata.
2 REPLIES
Stephan.
Honored Contributor

Re: Re-Order Device Number Instances in HP-UX 11.31

Just curios, what speaks against using Ignite/UX for cloning?

 

Check the man page 'ionit' - this can reassign all the numbers.

Alzhy
Honored Contributor

Re: Re-Order Device Number Instances in HP-UX 11.31

What speaks agains Ignite-UX?

 

The situation good sir.  Server is in a colocation, we have access to no other POS (piece of server or PC or Storage).It's iLO has no network, only serial.  The Server was running an old version of HP-UX 11.31 - so the only known solution which worked for me since 11.0 was to do either a good old dd-copy or dump/restore of the partitions.

 

The Solution I googled (and actually finaly remembered):

 

ioinit -rC <class>

then simply clean up the extraneous device entries in /dev

do the needful LVM wise if class is disk and ye are using LVM on them

 

Case closed.

 

Hakuna Matata.