HPE GreenLake Administration
- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: How To Make Special Device File Name?
Operating System - HP-UX
1836625
Members
1782
Online
110102
Solutions
Forums
Categories
Company
Local Language
back
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
back
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
Blogs
Information
Community
Resources
Community Language
Language
Forums
Blogs
Topic Options
- 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
12-14-2005 12:00 PM
12-14-2005 12:00 PM
How To Make Special Device File Name?
Hello,
I am trying to make same special device names for the share disks on the two nodes MC service guard cluster. I used both the
insf command to create the device names. The name of devices on both nodes are not same on same disk. How do you make them
same device name? I tried to remove and recreate. Still not work. The SAN group kept saying they present LUN on XP12000
correctly. My HBA cards are on same slots on identical servers. Even different device name files, I was able to export from
one node and import from other node. Any thougth?
Thanks,
I am trying to make same special device names for the share disks on the two nodes MC service guard cluster. I used both the
insf command to create the device names. The name of devices on both nodes are not same on same disk. How do you make them
same device name? I tried to remove and recreate. Still not work. The SAN group kept saying they present LUN on XP12000
correctly. My HBA cards are on same slots on identical servers. Even different device name files, I was able to export from
one node and import from other node. Any thougth?
Thanks,
2 REPLIES 2
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-14-2005 01:07 PM
12-14-2005 01:07 PM
Re: How To Make Special Device File Name?
They don't need to be the same...
You can try....
Create them on one node - then check to see if that name exists on the other node:
ll /dev/*sk/cXtXdX
fill in the X's with the numbers from first name...
If they do exist - see if they are already in use:
strings /etc/lvmtab |grep cXtXdX
If not - them remove them:
rmsf -a /dev/rdsk/cXtXdX
and I think you have to do:
rmsf -a /dev/dsk/cXtXdX
Then try doing
ioscan -fnC disk
insf -e disk
Rgds...Geoff
You can try....
Create them on one node - then check to see if that name exists on the other node:
ll /dev/*sk/cXtXdX
fill in the X's with the numbers from first name...
If they do exist - see if they are already in use:
strings /etc/lvmtab |grep cXtXdX
If not - them remove them:
rmsf -a /dev/rdsk/cXtXdX
and I think you have to do:
rmsf -a /dev/dsk/cXtXdX
Then try doing
ioscan -fnC disk
insf -e disk
Rgds...Geoff
Proverbs 3:5,6 Trust in the Lord with all your heart and lean not on your own understanding; in all your ways acknowledge him, and he will make all your paths straight.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-14-2005 01:09 PM
12-14-2005 01:09 PM
Re: How To Make Special Device File Name?
This is really not a problem as there is no requirement that the devices have the same name on each node.
Generally this happens when hardware was added/removed/moved between the time the old OS was installed and the new OS was installed so that the devices are discovered in different order.
f you do want to "fix" this then follow this procedure:
ioscan -f | grep -e "INTERFACE" -e "DEVICE" | grep -v -i "target" | awk '{printf("%-20.20s %-12.12s %3d\n",$3,$1,($2 + 0))}' | sort > /myfile
Using vi, edit /myfile and change the lan and disk controller instances as you wish but make sure than no instance numbers are duplicated.
mv /stand/ioconfig /stand/ioconfig.safe
mv /etc/ioconfig /etc/ioconfig.safe
shutdown -r -y 0
The system will stop the reboot at the ioinitrc prompt because of the missing files:
Issue this command:
/sbin/ioinit -c
/sbin/ioinit -f /myfile -r
You may get warnings like "input identical to kernel" -- these are normal and expected and may be safely ignored. The "-r" triggers a reboot.
Your configurations should be correct now. Man ioinit for details. Be careful not to change the instance number of the boot VG disks or you just made your system unbootable.
Generally this happens when hardware was added/removed/moved between the time the old OS was installed and the new OS was installed so that the devices are discovered in different order.
f you do want to "fix" this then follow this procedure:
ioscan -f | grep -e "INTERFACE" -e "DEVICE" | grep -v -i "target" | awk '{printf("%-20.20s %-12.12s %3d\n",$3,$1,($2 + 0))}' | sort > /myfile
Using vi, edit /myfile and change the lan and disk controller instances as you wish but make sure than no instance numbers are duplicated.
mv /stand/ioconfig /stand/ioconfig.safe
mv /etc/ioconfig /etc/ioconfig.safe
shutdown -r -y 0
The system will stop the reboot at the ioinitrc prompt because of the missing files:
Issue this command:
/sbin/ioinit -c
/sbin/ioinit -f /myfile -r
You may get warnings like "input identical to kernel" -- these are normal and expected and may be safely ignored. The "-r" triggers a reboot.
Your configurations should be correct now. Man ioinit for details. Be careful not to change the instance number of the boot VG disks or you just made your system unbootable.
If it ain't broke, I can fix that.
The opinions expressed above are the personal opinions of the authors, not of Hewlett Packard Enterprise. By using this site, you accept the Terms of Use and Rules of Participation.
Company
Events and news
Customer resources
© Copyright 2025 Hewlett Packard Enterprise Development LP