HPE GreenLake Administration
- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: The Minor Number - Legacy vs. Persistent DSF
Operating System - HP-UX
1833471
Members
2737
Online
110052
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
08-04-2009 06:36 AM
08-04-2009 06:36 AM
The Minor Number - Legacy vs. Persistent DSF
Hi,
As we know,in legacy
DSFs, 15 bits in the minor number represent the device address, and 9 bits represent the
DSF’s special access options.
Persistent DSF minor numbers are also 24-bits. However, persistent DSFs use all 24 bits to
identify the device itself.
(As a result, persistent DSFs can represent 224 = 16,777,216 LUNs.)
I just wonder what happen with the access options?! Tape drives ussually have a suffix representing the compression,format, and other options enabled by the device file - tape0_BEST,tape0_BESTn, etc.
But,I don't think the name suffix is the only one left to represent access options ;)
As we know,in legacy
DSFs, 15 bits in the minor number represent the device address, and 9 bits represent the
DSF’s special access options.
Persistent DSF minor numbers are also 24-bits. However, persistent DSFs use all 24 bits to
identify the device itself.
(As a result, persistent DSFs can represent 224 = 16,777,216 LUNs.)
I just wonder what happen with the access options?! Tape drives ussually have a suffix representing the compression,format, and other options enabled by the device file - tape0_BEST,tape0_BESTn, etc.
But,I don't think the name suffix is the only one left to represent access options ;)
2 REPLIES 2
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-05-2009 02:25 AM
08-05-2009 02:25 AM
Re: The Minor Number - Legacy vs. Persistent DSF
Hello,
I hope I understand your question correctly.
Here is how HP-UX 11.31 defines DSFs for
tape drives and there is nothing more to it:
Best density, autorewind, AT&T style:
/dev/rtape/tape0_BEST
Best density, no autorewind, AT&T style:
/dev/rtape/tape0_BESTn
Best density, autorewind, Berkeley style:
/dev/rtape/tape0_BESTb
Best density, no autorewind, Berkeley style:
/dev/rtape/tape0_BESTnb
Cheers,
VK2COT
I hope I understand your question correctly.
Here is how HP-UX 11.31 defines DSFs for
tape drives and there is nothing more to it:
Best density, autorewind, AT&T style:
/dev/rtape/tape0_BEST
Best density, no autorewind, AT&T style:
/dev/rtape/tape0_BESTn
Best density, autorewind, Berkeley style:
/dev/rtape/tape0_BESTb
Best density, no autorewind, Berkeley style:
/dev/rtape/tape0_BESTnb
Cheers,
VK2COT
VK2COT - Dusan Baljevic
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-05-2009 04:43 AM
08-05-2009 04:43 AM
Re: The Minor Number - Legacy vs. Persistent DSF
Hello, VK2COT
thanks for the answer, but,no, I know that
I found something here:
HP-UX 11i v3 Mass Storage Device Naming
http://docs.hp.com/en/msDeviceNaming/Mass_Storage_Device_Naming.pdf
Introduction, page 3
About "The agile addressing scheme":
"It increases the scalability by using 24 bit opaque minor numbers and storing the device options separately. The binding between a minor number and certain device options is maintained in a system registry."
I don't have any idea what this SYSTEM REGISTRY is?
On the other hand, when I looked here "Driver Development Guide HP-UX 11i v3"( http://h21007.www2.hp.com/portal/download/files/unprot/ddk/DDR11iv3_new.pdf )
things seem to be a bit different :O
According to the Guide, the minor number information is still encoded in the device-special file(inode)?!
I/O Request Flow, page 37
"The following steps describe how a user request results in driver execution:
1. A user process makes an I/O system call and invokes the kernel through the system call
interface. The kernel manages the process and resources for the request.
2. The kernel gets the major and minor numbers.
If the file specified in the I/O system call is a device-special file, the kernel gets the major
and minor numbers from the file's inode. The kernel uses the major number to index into
a device switch table and sets up parameters, if any, to be passed to the driver.
....
"
and here:
Using Minor Numbers, page 35
"Minor numbers contain the location of the interface to which a device is attached and
driver-dependent characteristics. This information is organized by specific bit assignments. The
minor number information is encoded in the device-special file."
thanks for the answer, but,no, I know that
I found something here:
HP-UX 11i v3 Mass Storage Device Naming
http://docs.hp.com/en/msDeviceNaming/Mass_Storage_Device_Naming.pdf
Introduction, page 3
About "The agile addressing scheme":
"It increases the scalability by using 24 bit opaque minor numbers and storing the device options separately. The binding between a minor number and certain device options is maintained in a system registry."
I don't have any idea what this SYSTEM REGISTRY is?
On the other hand, when I looked here "Driver Development Guide HP-UX 11i v3"( http://h21007.www2.hp.com/portal/download/files/unprot/ddk/DDR11iv3_new.pdf )
things seem to be a bit different :O
According to the Guide, the minor number information is still encoded in the device-special file(inode)?!
I/O Request Flow, page 37
"The following steps describe how a user request results in driver execution:
1. A user process makes an I/O system call and invokes the kernel through the system call
interface. The kernel manages the process and resources for the request.
2. The kernel gets the major and minor numbers.
If the file specified in the I/O system call is a device-special file, the kernel gets the major
and minor numbers from the file's inode. The kernel uses the major number to index into
a device switch table and sets up parameters, if any, to be passed to the driver.
....
"
and here:
Using Minor Numbers, page 35
"Minor numbers contain the location of the interface to which a device is attached and
driver-dependent characteristics. This information is organized by specific bit assignments. The
minor number information is encoded in the device-special file."
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
Events and news
Customer resources
© Copyright 2025 Hewlett Packard Enterprise Development LP