- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Device numbering
Operating System - HP-UX
1753807
Members
8186
Online
108805
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
Discussions
Discussions
Forums
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
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
тАО05-10-2001 05:47 AM
тАО05-10-2001 05:47 AM
Device numbering
How can I set the tape drive back to 0 for my 4mm and 1 for my DLT?
I am moving a Lawson system from a D380 to a K370. ( yea I know ) I booted the D's recovery tape to setup the K.
Now my DLT is /dev/rmt/2m and 4mm is /dev/rmt/3m
Also predictive setup /dev/cul2p7
not /dev/cul0p7 like on my other K's
I am moving a Lawson system from a D380 to a K370. ( yea I know ) I booted the D's recovery tape to setup the K.
Now my DLT is /dev/rmt/2m and 4mm is /dev/rmt/3m
Also predictive setup /dev/cul2p7
not /dev/cul0p7 like on my other K's
Desaster recovery? Right !
2 REPLIES 2
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-10-2001 05:59 AM
тАО05-10-2001 05:59 AM
Re: Device numbering
Hi Larry,
It's really very easy.
cd /dev/rmt
Do an ls -l (I would probably do an ls -l | lp to have on hand).
Now suppose we want to change 3m to 1m
the entries should look something like this:
crw-rw-rw 2 bin bin 205 0x051000 1m
crw-rw-rw 2 bin bin 205 0x033000 3m
the 0x051000 & 0x033000 (minor device numbers are what we are going to swap)
1) rm 1m 3m
2) mknod 1m c 205 0x033000
mknod 3m c 205 0x051000
3) chmod 666 1m 3m
4) chown bin:bin 1m 3m
You should also do the same operations to the 1mn, 1mnb device nodes as well to avoid future confusion.
Clay
It's really very easy.
cd /dev/rmt
Do an ls -l (I would probably do an ls -l | lp to have on hand).
Now suppose we want to change 3m to 1m
the entries should look something like this:
crw-rw-rw 2 bin bin 205 0x051000
crw-rw-rw 2 bin bin 205 0x033000
the 0x051000 & 0x033000 (minor device numbers are what we are going to swap)
1) rm 1m 3m
2) mknod 1m c 205 0x033000
mknod 3m c 205 0x051000
3) chmod 666 1m 3m
4) chown bin:bin 1m 3m
You should also do the same operations to the 1mn, 1mnb device nodes as well to avoid future confusion.
Clay
If it ain't broke, I can fix that.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-10-2001 06:02 AM
тАО05-10-2001 06:02 AM
Re: Device numbering
For tapes:
rmsf /dev/rmt/*
Now install again in your prefered order:
insf -H ...... # 4mm
insf -H .......# DLT
Even if this dont work, see that 0m and 0mn are hard links to cxtxdxBEST and cxtxdxBESTn
rm 0m 0mn
ln cytydy 0m ....
rmsf /dev/rmt/*
Now install again in your prefered order:
insf -H ...... # 4mm
insf -H .......# DLT
Even if this dont work, see that 0m and 0mn are hard links to cxtxdxBEST and cxtxdxBESTn
rm 0m 0mn
ln cytydy 0m ....
unsupported
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.
News and Events
Support
© Copyright 2024 Hewlett Packard Enterprise Development LP