- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Need to change tape device files
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
08-18-2000 04:10 AM
08-18-2000 04:10 AM
Need to change tape device files
This is extremely annoying and causes both communications problems between staff members and recently, an accident whereby a system backup was overwritten.
So, I want to swap the device files over, such that I can run insf in the future without a problem. My initial idea is to change the SCSI address of each drive, remove the device files, then run insf.
Perhaps there is a more straightforward way?
Thanks in advance.
David.Poyner@ImprovedSoftware.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-18-2000 04:16 AM
08-18-2000 04:16 AM
Re: Need to change tape device files
If you do a ll -i /dev/rmt
you will find that files with names 0m,0mn etc are actually links to the equivalent cxtxdxbest etc equivalents.
You will have no problem just removing 0m* or 1m* or whatever and then relinking them to the appropriate cxtxdxbest...
Regards,
John
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-18-2000 04:28 AM
08-18-2000 04:28 AM
Re: Need to change tape device files
insf uses the Instance Numbers (Column "I" in ioscan -f) of the drives to determine the default names of the devicefiles. If you want to swap the default names of the drives there are two ways:
1.) If the DLT drives are connected on seperate SCSI busses, swap the cables and SCSI Adresses.
If they are on the same bus swap only the SCSI Adresses of the drives. You do not need to reconfigure the devicefiles after that.
2.) The other way is to swap the Instance Numbers of the drives, but this is a complicated procedure with calling ioinit and moving /sbin/ioinitrc and /etc/ioconfig
which may cause corruption and should be done by software specialists in the HP response center.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-18-2000 04:34 AM
08-18-2000 04:34 AM
Re: Need to change tape device files
This should work as long as they are using the same SCSI cable.
Good Luck!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-18-2000 05:00 AM
08-18-2000 05:00 AM
Re: Need to change tape device files
This isn't pretty easy and can leave your system in an unbootable state (reliable backup required). But if you really want to do it try the following:
1. ioscan -kf | grep -e INTERFACE -e DEVICE |
grep -v target |
awk '{printf "%s %s %sn",$3,$1,$2}' > infile
2. vi infile
3. mv infile /stand/infile
4. mv /stand/ioconfig /stand/ioconfig.sav
mv /etc/ioconfig /etc/ioconfig.sav
5. shutdown -ry 0
6. interrupt the boot process, boot pri, interact with ISL.
7. ISL> hpux -is
8. cd /stand
/sbin/ioinit -c
/sbin/ioinit -f infile
9. reboot