- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- dd cloning device file cleanup
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
тАО02-17-2004 03:02 AM
тАО02-17-2004 03:02 AM
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-17-2004 03:04 AM
тАО02-17-2004 03:04 AM
Re: dd cloning device file cleanup
Hpux version 11.X
# insf -e
With the -e option, insf reinstalls the special files for pseudo-
drivers and existing devices. This is useful for restoring special
files when one or more have been removed.
Regards,
Robert-Jan
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-17-2004 05:42 AM
тАО02-17-2004 05:42 AM
SolutionLook at 'ioinit' command. It can be used to manipulate the instances. You can use the following procedure to re-map your instance numbers. But use atmost caution as it may hinder your existing volume groups and other configurations. Have a make_tape_recovery tape done before doing so. Create map files for your volume groups just incase you have to import.
vgexport -p -s -m /tmp/vgxx.map vgxx
1. Shutdown the application and make the system ready-to-be-booted.
2. mkdir /maintenance. ioscan -f /maintenance/ioscan.out. Prepare an 'infile' with the format "HW path class instance". For ex.,
0/8/0/0 lan 1
1/2/0/0 lan 2
you can add other classes too in that file. But make sure you add atleast the disks of your vg00 so they won't get changed.
Test this file using the command 'ioinit -f infile' if it doesn't return any errors like "Instance number is already in kernel", then you can skip the following. Else you need to.
3. Move /sbin/ioconfig and /etc/ioconfig.
mv /stand/ioconfig /stand/ioconfig.old
mv /etc/ioconfig /etc/ioconfig.old
4. Reboot the server. You should be put into ioinitrc# prompt
Create a default ioconfig file
ioinitrc#/sbin/ioinitrc -c
Now use your 'infile' to make changes to ioconfig
ioinit#/sbin/ioinit -f /maintenance/infile -r
This will reboot the server and come up with new instance numbers for the devices you specified in your infile. Also, it may change the instance numbers for other devices such as disks etc., So if things don't work, then you can
1. Either fix them. For VGs, you can simply do a vgexport and vgimport.
2. Or backout the changes. Move /stand/ioconfig and /etc/ioconfig as ioconfig.bad and reboot the box. It will put you back into ioinitrc#. Move the old files and reboot the box again. mv /stand/ioconfig.old /stand/ioconfig and /etc/ioconfig.old /etc/ioconfig.
-Sri
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-03-2004 08:37 AM
тАО03-03-2004 08:37 AM
Re: dd cloning device file cleanup
Your suggestion worked very well thank you. I noticed one unusual thing however. The symbolic link /dev/lan -> /dev/dlpi was removed somewhere along the line. Is there anything in the instructions you provided that would cause this?
Thanks again..
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-03-2004 08:45 AM
тАО03-03-2004 08:45 AM
Re: dd cloning device file cleanup
Not that I know of. ioinit only builds your ioconfig file and no where in the procedure would touch this link. It never happened to me atleast.
-Sri