- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: device file
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
Discussions
Discussions
Forums
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
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
тАО06-27-2007 02:56 PM
тАО06-27-2007 02:56 PM
device file
After some re-zoning, all my device file has changed from C6txdx to C11txdx. Is there anyway I can force it back to C6txdx again.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-27-2007 03:06 PM
тАО06-27-2007 03:06 PM
Re: device file
Is the following going to work to change the control number
1. ioscan -kf | grep -e INTERFACE -e DEVICE | grep -v target | awk '{printf"%s %s %s\n",$3,$1,$2}' > /tmp/infile
2. vi the /tmp/infile and change the "ext_bus 4" (as an example, number 4 in this case to 7 if you now want c7t0d0 instead of c4t0d0) Continue to do this for other "ext_bus X" to arrange the controller numbers as you see fit.
3. mv /tmp/infile to /stand/infile
4. mv /stand/ioconfig to /stand/ioconfig.sav
5. mv /etc/ioconfig to /etc/ioconfig.sav
6. shutdown -ry 0
7. hpux -is (single user mode)
8. cd /stand
9. /sbin/ioinit -c
10. exit and continue booting by pressing Ctrl-D
11. init s
12. /sbin/ioinit -f /stand/infile -r
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-27-2007 04:06 PM
тАО06-27-2007 04:06 PM
Re: device file
What software is dependend on the actual path?
Is this not a situation vgscan can correct?
>> Is there anyway I can force it back to C6txdx again.
Flip the cables? :-).
Hope this helps some,
Hein.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-29-2007 03:07 AM
тАО06-29-2007 03:07 AM
Re: device file
If you work on MCSG then export and import mapfiles again.
-Srinivas
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-29-2007 03:13 AM
тАО06-29-2007 03:13 AM
Re: device file
1) Extract a configuration template from the current ioscan output
# ioscan -f | grep -e INTERFACE -e DEVICE | \
grep -v target | \
awk '{print $3, $1, $2}' > /infile
2) Edit /infile and change the ext_bus and lan instances as desired
No class is allowed to get more than one line for the same instance!
3) Bring down the system gracefully to run level 1
# init 1
4) Apply the ioconfig change
# /sbin/ioinit -f /infile -r
The system will reboot immediately if the change is successful.
Warnings like ├в Input is identical to kernel├в can be ignored.
If unsuccessful, the most likely error to happen is:
├в ioinit: Instance number X already exists for class XXX├в
The problem is that your desired instance assignment conflicts with an existing instance
number. If that instance is bound to hardware that is no longer visible in ioscan, then
you are in trouble and need to perform the Procedure II or III.
5) Verify the changes
Once the system is up, verify that all the instance numbers were changed as expected. It
may be necessary to re-import volume groups to ensure that /etc/lvmtab contains the
correct entries. The lan configuration may need to be changed also.