- Community Home
- >
- Servers and Operating Systems
- >
- Legacy
- >
- HPE 9000 and HPE e3000 Servers
- >
- Re: how to change Instance number for a tape drive...
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
тАО03-24-2004 07:15 AM
тАО03-24-2004 07:15 AM
how to change Instance number for a tape drive?
Good afternoon. We have Hp 9000 L2000 series nodes in our production site. Recently we swapped root hard disks from our lab nodes which has same hard configuration and same model. System boots up and started working very fine. So our production nodes changed to lab nodes and vice-versa. Only problem we noticed that our tapes drives instance number got changed from "0" to "1".
For eg,
/dev/rmt/0mn device files changed to /dev/rmt/1mn.
All our scripts referenced to "0mn" but not "1mn". We cannot reboot our production nodes now. Can u please suggest how to bring back original instance number without rebooting the box. If you feel reboot is neccessary, then what are the steps to be followed.
FYI, I already tried several options like insf -e, rmsf, insf -e -q, insf -e -q -I 0,
ioinit. Its again and again creating same "1mn" instead of "0mn". The ioinit command says error message as
"Instance number 0 already exists for class tape".
Kindly respond asap to earn your maximum points from me. Thnks in advance.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-24-2004 08:18 AM
тАО03-24-2004 08:18 AM
Re: how to change Instance number for a tape drive?
Geno
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-24-2004 08:34 AM
тАО03-24-2004 08:34 AM
Re: how to change Instance number for a tape drive?
cd /dev/rmt
ls -l | lp (so that you have hard copy in front of you).
Let's say that 1m
Is now major numer 205 Minor Device 0x052000
All you need to do is,
rm 1m
mknod 0m c 205 0x052000
You now have a 0m with the correct major/minor device numbers. Repreat for the 1mn,1mnb, and 1b nodes.
This is the way device nodes were created in the dim mists of time before there were insf commands.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-25-2004 02:59 AM
тАО03-25-2004 02:59 AM
Re: how to change Instance number for a tape drive?
your step by step procedure is not working for me. But the procedure is right. The error message is:
"Instance number 0 already exists for class tape"
It exited without doing anything. So there is no point in rebooting the node also. Please suggest some other option to change instance number for this hardware.
Stephen,
your procedure will give us temporary solution. But the instance number remains same while performing ioscan. Basically we are using 1m/1mn device file for 0m/0mn which is not permanent solution. Can u please suggest us some other method to resolve this issue permanently. I tried to reboot a lab node to see whether it creates new device file with instance number "0". But the effort goes invain.
Any help from both of you would be highly appreciated.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-25-2004 04:17 AM
тАО03-25-2004 04:17 AM
Re: how to change Instance number for a tape drive?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-25-2004 04:23 AM
тАО03-25-2004 04:23 AM
Re: how to change Instance number for a tape drive?
Josh
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-25-2004 06:15 AM
тАО03-25-2004 06:15 AM
Re: how to change Instance number for a tape drive?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-25-2004 06:26 AM
тАО03-25-2004 06:26 AM
Re: how to change Instance number for a tape drive?
I am using "ioscan -funC tape" as well as "ioscan -kf" to see instance number. Whenever I perform "ioinit -f /tmp/infile" with instance number as "0", I receive message as "Instance number 0 already exists for class tape".
Stephen,
you are right, the tape device file remains same until we issue "rmsf" command on that system. But that is not a permanent solution for us. Is there any toher method to perform ioinit by removing existing instance number and configure again with instance number "0".
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-25-2004 07:48 AM
тАО03-25-2004 07:48 AM
Re: how to change Instance number for a tape drive?
I then rebooted.
attached is the output of ioscan -kf
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-25-2004 07:48 AM
тАО03-25-2004 07:48 AM
Re: how to change Instance number for a tape drive?
ioscan -funC tape