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.
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
Showing results for 
Search instead for 
Did you mean: 

Disk instance number

Jacky Wing
Regular Advisor

Disk instance number

How can I change disk instance number (persistent device files) ?
Can I do it from smh?
If I go to SMH and check the disk, I cannot change the Physical Volume, it says "Must be privileged user to perform operation"
I am logging in with root.
Honored Contributor

Re: Disk instance number

Hi Jacky:

# man ioinit


Ismail Azad
Esteemed Contributor

Re: Disk instance number

Hi Jacky Wing,

Well what you are attempting to do is rebuild a --discovery tree-- which the operating system looks through at the time of boot , technically termed as the --kernel I/O tree--.

Sometimes the way your hardware paths bind leads to corruption and you would want to force the kernel to give different instance numbers and hence rebuild the --tree--.

Once you restructure what is associated within /etc/ioconfig , you should be successful in letting the kernel pick different instance numbers for classes of devices which are discovered through the tree which is read at boot.

This is done by what the king says as ioinit. An ioinit -c . let's the kernel give different instance numbers. Don't forget to assign points.

Ismail Azad
Read, read and read... Then read again until you read "between the lines".....
Occasional Visitor

Re: Disk instance number


You can change the LUN instance number of persistent device files using the below command,

#scsimgr replace_wwid -D /dev/rdisk/diskX
#enter y, when prompted.

The device file also get changed after this,

Ravi s