Skip to ContentSkip to Footer
Start of content
- Community Home
- >
- Servers and Operating Systems
- >
- Operating System - HP-UX
- >
- System Administration
- >
- rename tape device after upgrade to 11.31
System Administration
turn on suggestions
Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.
Showing results for
-
-
Categories
- Topics
- Hybrid IT with Cloud
- Mobile & IoT
- IT for Data & Analytics
- Transformation
- Strategy and Technology
- Products
- Cloud
- Integrated Systems
- Networking
- Servers and Operating Systems
- Services
- Storage
- Company
- Events
- Partner Solutions and Certifications
- Welcome
- Welcome
- Announcements
- Tips and Tricks
- Feedback
-
Blogs
- Alliances
- Around the Storage Block
- Behind the scenes @ Labs
- Converged Data Center Infrastructure
- Digital Transformation
- Grounded in the Cloud
- HPE Careers
- HPE Storage Tech Insiders
- Infrastructure Insights
- Inspiring Progress
- Internet of Things (IoT)
- My Learning Certification
- Networking
- OEM Solutions
- Servers: The Right Compute
- Telecom IQ
- Transforming IT
-
Quick Links
- Community
- Getting Started
- FAQ
- Ranking Overview
- Rules of Participation
- Contact
- Email us
- Tell us what you think
- Information Libraries
- Integrated Systems
- Networking
- Servers
- Storage
- Other HPE Sites
- Support Center
- Enterprise.nxt
- Marketplace
- Aruba Airheads Community
-
Categories
-
Forums
-
Blogs
-
InformationEnglish
rename tape device after upgrade to 11.31
SOLVED
Go to solution
Topic Options
- 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
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
01-07-2010 12:17 PM
01-07-2010 12:17 PM
Since the beginning of time our internal tape drive used for Ignite make_tape_recovery has always been device /dev/rmt/0m. After a 11.31 upgrade on one system it became /dev/rtape/tape1_BEST. If that can stay consistent that's great. But on another system the drive became /dev/rtape/tape58_BEST, and I can't seem to get it to be tape1_BEST.
When we rmsf the old path it recreates it again as tape58 as soon as we do an ioscan. Any thoughts on what we can do to keep the internal DDS drive the same name, or a way to detect what device name is associated with the internal drive?
When we rmsf the old path it recreates it again as tape58 as soon as we do an ioscan. Any thoughts on what we can do to keep the internal DDS drive the same name, or a way to detect what device name is associated with the internal drive?
Solved! Go to Solution.
2 REPLIES
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
01-07-2010 12:25 PM
01-07-2010 12:25 PM
Solution
Scott,
I ran into this years ago and documented the process:
First, let me echo Bill Hassell in saying you can simply rename the existing device file. There is no significance other than historical to the device names as we know them.
Second, if you're still nervous about it, you can use a link - linking the undesired name to the preferred name.
Third, if you really want to re-create the device names properly, here is a guide:
1. Use "ioscan" to find out what the current device files look like and what the instance number is:
ioscan -kfnCtape
2. Use "mksf" to create each of the four types of device files:
/sbin/mksf -d stape -I 12 -a -b BEST rmt/12m
/sbin/mksf -d stape -I 12 -u -b BEST rmt/12mb
/sbin/mksf -d stape -I 12 -a -n -b BEST rmt/12mn
/sbin/mksf -d stape -I 12 -u -n -b BEST rmt/12mnb
3. Use "ll" to compare your newly created device files with those created by the system. Major and minor numbers should match between corresponding entries (205
0x061000 for both 12m and the equivalent c6t1d0BEST):
ll /dev/rmt |more
crw-rw-rw 1 bin bin 205 0x061000 Mar 17 08:40 12m
.
.
.
crw-rw-rw 1 bin bin 205 0x061000 Mar 17 08:40 c6t1d0BEST
.
.
.
4. repeat the ioscan to double check that your new device files are associated w
ith the correct tape drive:
ioscan -kfnCtape
I was using 12m in the example but you can use anything you want.
Pete
Pete
I ran into this years ago and documented the process:
First, let me echo Bill Hassell in saying you can simply rename the existing device file. There is no significance other than historical to the device names as we know them.
Second, if you're still nervous about it, you can use a link - linking the undesired name to the preferred name.
Third, if you really want to re-create the device names properly, here is a guide:
1. Use "ioscan" to find out what the current device files look like and what the instance number is:
ioscan -kfnCtape
2. Use "mksf" to create each of the four types of device files:
/sbin/mksf -d stape -I 12 -a -b BEST rmt/12m
/sbin/mksf -d stape -I 12 -u -b BEST rmt/12mb
/sbin/mksf -d stape -I 12 -a -n -b BEST rmt/12mn
/sbin/mksf -d stape -I 12 -u -n -b BEST rmt/12mnb
3. Use "ll" to compare your newly created device files with those created by the system. Major and minor numbers should match between corresponding entries (205
0x061000 for both 12m and the equivalent c6t1d0BEST):
ll /dev/rmt |more
crw-rw-rw 1 bin bin 205 0x061000 Mar 17 08:40 12m
.
.
.
crw-rw-rw 1 bin bin 205 0x061000 Mar 17 08:40 c6t1d0BEST
.
.
.
4. repeat the ioscan to double check that your new device files are associated w
ith the correct tape drive:
ioscan -kfnCtape
I was using 12m in the example but you can use anything you want.
Pete
Pete
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
01-07-2010 01:07 PM
01-07-2010 01:07 PM
Re: rename tape device after upgrade to 11.31
Re: rename tape device after upgrade to 11.31
Pete - thanks for all the info.
So far I have just gone with the rename. But if I want to recreate them as tape1_BEST (for compatibility with other 11.31 systems) what would be the syntax. I tried:
/sbin/mksf -d stape -I 58 a -b BEST tape1_BEST
but this comes back with:
mksf: Couldn't find driver matching arguments
(creating device files is not my strong suit).
So far I have just gone with the rename. But if I want to recreate them as tape1_BEST (for compatibility with other 11.31 systems) what would be the syntax. I tried:
/sbin/mksf -d stape -I 58 a -b BEST tape1_BEST
but this comes back with:
mksf: Couldn't find driver matching arguments
(creating device files is not my strong suit).
The opinions expressed above are the personal opinions of the authors, not of Hewlett Packard Enterprise. By using this site, you accept the Terms of Use and Rules of Participation.
End of content
United States
Hewlett Packard Enterprise International
Communities
- Communities
- HPE Blogs and Forum
© Copyright 2018 Hewlett Packard Enterprise Development LP