HPE GreenLake Administration
- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Changing the name of a tape device.
Operating System - HP-UX
1826337
Members
4090
Online
109692
Solutions
Forums
Categories
Company
Local Language
back
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
back
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
Blogs
Information
Community
Resources
Community Language
Language
Forums
Blogs
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
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-16-2002 06:24 AM
01-16-2002 06:24 AM
Changing the name of a tape device.
I used to have a tape device /dev/rmt/om. I'd moved it from one target ID to another and it is now /dev/rmt/6m. Why and how the name changed I understand. However, I know that 0m is still available and would like to move it back (scripts are configured for this old device). I've tried removing the special files and recreating them (mksf) but it fails. Any ideas on how to move the device name back from 6m to 0m?
2 REPLIES 2
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-16-2002 06:33 AM
01-16-2002 06:33 AM
Re: Changing the name of a tape device.
Here's a thread that should help.
GL,
C
GL,
C
"In theory, there is no difference between theory and practice. But, in practice, there is. " Jan L.A. van de Snepscheut
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-16-2002 06:36 AM
01-16-2002 06:36 AM
Re: Changing the name of a tape device.
Hi John,
This is actually very simple. Just use mknod to create the device node manually.
1) cd /dev/rmt
2) ls -l 6m
Note it's major and minor device numbers
e.g 205 & 0x052000
3) rm 6m
4) mknod 0m c 205 0x052000
You should repeat the steps for all the other 'short' 6m device nodes. Remember, the box only cares about the major and minor device number pairs, the names 0m, c5t2d0BEST, etc. are only for the benfit of us dumb humans.
Back in the good old days of unix, we didn't have insf and all device nodes had to be created manually.
This is actually very simple. Just use mknod to create the device node manually.
1) cd /dev/rmt
2) ls -l 6m
Note it's major and minor device numbers
e.g 205 & 0x052000
3) rm 6m
4) mknod 0m c 205 0x052000
You should repeat the steps for all the other 'short' 6m device nodes. Remember, the box only cares about the major and minor device number pairs, the names 0m, c5t2d0BEST, etc. are only for the benfit of us dumb humans.
Back in the good old days of unix, we didn't have insf and all device nodes had to be created manually.
If it ain't broke, I can fix that.
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.
Company
Support
Events and news
Customer resources
© Copyright 2025 Hewlett Packard Enterprise Development LP