- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Changing the disk device instance number using ioi...
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-27-2004 05:34 PM
02-27-2004 05:34 PM
I have a A-Class server that is connected to a EVA5000 and has 3 LUNs presented from the EVA.
------------
disk 7 255/255/1/0.0 sdisk CLAIMED DEVICE HSV110 (C)COMPAQ
/dev/dsk/c21t0d0 /dev/rdsk/c21t0d0
disk 8 255/255/1/0.1 sdisk CLAIMED DEVICE HSV110 (C)COMPAQ
/dev/dsk/c21t0d1 /dev/rdsk/c21t0d1
disk 9 255/255/1/0.2 sdisk CLAIMED DEVICE HSV110 (C)COMPAQ
/dev/dsk/c21t0d2 /dev/rdsk/c21t0d2
-----------------
I want to change the /dev/(r)dsk/c21txdx to /dev(r)dsk/c11xtxdx for the above three LUNs. How do I do it?? Here with I am attaching the infile and ioscan output.
Kindly let me know what changes needs to be done to the attached infile.
Thanks,
Karthik S S
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-27-2004 05:35 PM
02-27-2004 05:35 PM
Re: Changing the disk device instance number using ioinit
Thanks,
Karthik S S
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-28-2004 05:33 PM
02-28-2004 05:33 PM
SolutionIt's the ext_bus that you would need to change as the controller number is associated with the ext_bus. So, I would configure your infile as
255/255/1 ext_bus 11
Try 'ioinit -f infile' and see if you get any errors. If not, then reboot the system to get the things changed. It's most likely that the instance 11 might already have been registered in your ioconfig file. If it gives out errors that the instance 11 is already assigned and if it is absolutely necessary for you to use c11 for these disks, then you will have to prepare an ioinit file under / with the syntax "hardware class instance" for all the devices you don't want the device files to change and the devices for which you want the device files to change. Shutdown your application. Move /stand/ioconfig and /etc/ioconfig as ioconfig.old in their respective directories and reboot the system. The system will come into ioinitrc# prompt. Run "/sbin/ioinit -c" to create ioconfig file with default instance numbers. Overwrite it with your desired configuration by running "/sbin/ioinit -f in_file -r" command. The system will reboot and come up with the instance numbers you wanted.
Remember that it can be quite dangerous if you don't pay attention. For ex., network instance numbers may get changed as well your root disks. So, be prepared. Generate map files for all the VGs and store them on the network. Create make_tape|net_recovery tapes. Ofcourse you can get the old configuration back by moving ioconfig.old files into place but a human is a human. I would attemp this procedure if and only if it is absolutely necessary.
-Sri
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-28-2004 07:53 PM
02-28-2004 07:53 PM
Re: Changing the disk device instance number using ioinit
Thanks for those steps.
Do you mean only the line,
255/255/1 ext_bus 21
should be changed to,
255/255/1 ext_bus 11
and no more changes to the infile??
Pl. clarify.
I will be careful and take a backup before proceeding with this.
Thanks,
Karthik S S
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-28-2004 08:15 PM
02-28-2004 08:15 PM
Re: Changing the disk device instance number using ioinit
Yes. However, there is a good chance that it may not succeed. I was always successful in going from lower instance number to higher than the other way. Going from higher instance to lower is not guaranteed. In this case, you will need to follow the other procedure.
-Sri
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-29-2004 05:58 PM
02-29-2004 05:58 PM
Re: Changing the disk device instance number using ioinit
make sure you have two or three ignite tape copies before proceeding.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-31-2006 09:43 AM
01-31-2006 09:43 AM
Re: Changing the disk device instance number using ioinit
Thanks