- Community Home
- >
- Servers and Operating Systems
- >
- Legacy
- >
- Operating System - Tru64 Unix
- >
- Using MAKEDEV to create tape devs in 4.0G on LUN 1...
Operating System - Tru64 Unix
1753666
Members
6057
Online
108799
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
тАО10-10-2006 03:32 AM
тАО10-10-2006 03:32 AM
Using MAKEDEV to create tape devs in 4.0G on LUN 1,2
I am trying to use MAKEDEV to create a set of device special files for a couple of Ultrium drives in Tru64 4.0G. (Old O/S I know, but its all I've got.)
The drives are attached via a Fibre channel router embedded in a tape library.
All of this works fine and presents SCSI ids to the Unix box, but the tape drives are on LUNS 1 and 2, not 0 like I am used to.
I have attached the CAM device list showing the drives, but here is the relevant bit:
Device: Ultrium 2-SCSI Bus: 6, Target: 3, Lun: 1, Type: Sequential Access
Device: Ultrium 2-SCSI Bus: 6, Target: 3, Lun: 2, Type: Sequential Access
If I reboot the server the O/S detects the drives and adds them in correctly, but I don't want to do this on my production system.
So my question is, how do I use MAKEDEV to do this, or do I need to use mknod ??
P.S. scsimgr -scan_all had already detected the drives, but allocated them on the wrong device files, so I deleted them. I want to be able to re-create them with numbers of my choosing, e.g. /dev/nrmt1h not /dev/nrmt3h.
The drives are attached via a Fibre channel router embedded in a tape library.
All of this works fine and presents SCSI ids to the Unix box, but the tape drives are on LUNS 1 and 2, not 0 like I am used to.
I have attached the CAM device list showing the drives, but here is the relevant bit:
Device: Ultrium 2-SCSI Bus: 6, Target: 3, Lun: 1, Type: Sequential Access
Device: Ultrium 2-SCSI Bus: 6, Target: 3, Lun: 2, Type: Sequential Access
If I reboot the server the O/S detects the drives and adds them in correctly, but I don't want to do this on my production system.
So my question is, how do I use MAKEDEV to do this, or do I need to use mknod ??
P.S. scsimgr -scan_all had already detected the drives, but allocated them on the wrong device files, so I deleted them. I want to be able to re-create them with numbers of my choosing, e.g. /dev/nrmt1h not /dev/nrmt3h.
2 REPLIES 2
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-12-2006 08:36 PM
тАО10-12-2006 08:36 PM
Re: Using MAKEDEV to create tape devs in 4.0G on LUN 1,2
I have now solved this:
The SCSI(7) man page gives details of how to calculate the minor device number and feed this into mknod.
The MAKEDEV script cannot create tape device files for LUNS other than 0.
The SCSI(7) man page gives details of how to calculate the minor device number and feed this into mknod.
The MAKEDEV script cannot create tape device files for LUNS other than 0.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-12-2006 08:37 PM
тАО10-12-2006 08:37 PM
Re: Using MAKEDEV to create tape devs in 4.0G on LUN 1,2
See comments above
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