- 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-25-2004 07:53 AM
тАО03-25-2004 07:53 AM
Re: how to change Instance number for a tape drive?
attached is the ioscan -funC tape after the insf -e
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-25-2004 08:25 AM
тАО03-25-2004 08:25 AM
Re: how to change Instance number for a tape drive?
# /usr/sbin/fbackup -f /dev/rmt/1m -i/home
fbackup(1004): session begins on Thu Mar 25 15:13:37 2004
fbackup(3205): WARNING: unable to read a volume header
fbackup(3024): writing volume 1 to the output file /dev/rmt/1m
fbackup(3055): total file blocks read for backup: 630
fbackup(3056): total blocks written to output file /dev/rmt/1m: 717
fbackup(1030): warnings encountered during backup
# cd /home/ftp/etc
# ll
-r--r--r-- 2 root other 174 Mar 15 11:51 group
-r--r--r-- 2 root other 174 Mar 15 11:51 logingroup
-r--r--r-- 1 root other 479 Mar 15 11:51 passwd
# mv group group.test
# /usr/sbin/frecover -x -f /dev/rmt/1m -i /home/ftp/etc/group
# ll
total 64
-r--r--r-- 1 root other 174 Mar 15 11:51 group
-r--r--r-- 2 root other 174 Mar 15 11:51 group.test
-r--r--r-- 2 root other 174 Mar 15 11:51 logingroup
-r--r--r-- 1 root other 479 Mar 15 11:51 passwd
# rm group
# /usr/sbin/frecover -x -f /dev/rmt/0m -i /home/ftp/etc/group
# ll
total 64
-r--r--r-- 1 root other 174 Mar 15 11:51 group
-r--r--r-- 2 root other 174 Mar 15 11:51 group.test
-r--r--r-- 2 root other 174 Mar 15 11:51 logingroup
-r--r--r-- 1 root other 479 Mar 15 11:51 passwd
---
As you can see, the both devices worked well at the same time.
Having both the 0m and 1m device files didn't affect my backup and restore.
Josh
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-26-2004 03:13 AM
тАО03-26-2004 03:13 AM
Re: how to change Instance number for a tape drive?
1. Removed special files on tape devices using "rmsf -C tape -H
2. Powered off tape drive while system runs online.
3. Changed tape drive SCSI ID to match production node (manually pulled out to change settings)
4. Powered on tape drive.
5. Performed "ioscan" command.
6. Performed "insf -e -q -C tape -H
Then it creates "0m/0mn" successfully and instance number on hard path also got changed to "0". My problem is solved for now.
Only concern is, how do we clear old instance number and create new one with instance number "0" without changing SCSI ID on tape drive but using the existing ID. Is there any method to remove "ioconfig" file and create new one with kernel files?. your suggestion is highly appreciated.
Thanks for all your help.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-27-2004 03:35 PM
тАО03-27-2004 03:35 PM
Re: how to change Instance number for a tape drive?
ln -s /dev/rmt/0mn /dev/rmt/tape
So when you move to another server, figure out what the name of the tape is and create the symlink. A lot simpler, and avoids editing the fairly critical ioinit file.
Bill Hassell, sysadmin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-21-2008 04:27 PM
тАО10-21-2008 04:27 PM
Re: how to change Instance number for a tape drive?
- « Previous
-
- 1
- 2
- Next »