HPE GreenLake Administration
- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- How to find the Block Size.
Operating System - HP-UX
1832964
Members
2652
Online
110048
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
04-02-2000 04:14 AM
04-02-2000 04:14 AM
How to find the Block Size.
How to find the O/S Block size for different file Systems on HP-UX 11.00
64-Bits version.
What is the default OS Block size. Can we change it.
Can we have different Block sizes for different filesystem on the same machine.
Thanks,
64-Bits version.
What is the default OS Block size. Can we change it.
Can we have different Block sizes for different filesystem on the same machine.
Thanks,
2 REPLIES 2
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-02-2000 10:20 PM
04-02-2000 10:20 PM
Re: How to find the Block Size.
Well, you are confusing several different things.
First of all, there is DEV_BSIZE which is defined in /usr/include/sys/param.h.
The is the unit of i/o for transfers to/from block devices. The comment in
param.h that it "cannot be changed easily" is a bit misleading. It cannot be
changed at all without the source code to HP-UX.
Next, filesystems have a blocksize and you can specify it when you do the
newfs(1M). This blocksize must be a power of 2 multiple of DEV_BSIZE. The
default is 8192 for hfs filesystems and 1024 for vxfs filesystems. The stat(2)
and fstat(2) system calls can return the filesystem's blocksize. For hfs, you
can use the program dumpfs(1M) and for vxfs you can use the program getext(1M)
to see the blocksize. In either case you can override the default blocksize at
newfs time by using a parameter, but I don't know anyway to change the defaults
built in to newfs.
To confuse things a bit more, some commands have various defaults for
blocksizes. For example, du(1) will default to a blocksize of 512. So you
always want to check the manpage.
First of all, there is DEV_BSIZE which is defined in /usr/include/sys/param.h.
The is the unit of i/o for transfers to/from block devices. The comment in
param.h that it "cannot be changed easily" is a bit misleading. It cannot be
changed at all without the source code to HP-UX.
Next, filesystems have a blocksize and you can specify it when you do the
newfs(1M). This blocksize must be a power of 2 multiple of DEV_BSIZE. The
default is 8192 for hfs filesystems and 1024 for vxfs filesystems. The stat(2)
and fstat(2) system calls can return the filesystem's blocksize. For hfs, you
can use the program dumpfs(1M) and for vxfs you can use the program getext(1M)
to see the blocksize. In either case you can override the default blocksize at
newfs time by using a parameter, but I don't know anyway to change the defaults
built in to newfs.
To confuse things a bit more, some commands have various defaults for
blocksizes. For example, du(1) will default to a blocksize of 512. So you
always want to check the manpage.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-04-2000 02:07 AM
04-04-2000 02:07 AM
Re: How to find the Block Size.
fsadm command check it out.
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