- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: How to find OS block Size
Categories
Company
Local Language
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
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
Community
Resources
Forums
Blogs
- 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-23-2003 08:02 AM
тАО10-23-2003 08:02 AM
Trying to create database on HP-UX. It been long I worked on HP. I needed to know how to find the Operating System Block Size and can I increase or decrease it as needed ?
Thanks you all
Sushil
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-23-2003 08:08 AM
тАО10-23-2003 08:08 AM
SolutionUsing 'fstyp -v' on the filesystem device will give some superblock info that contains the block size.
eg:
fstype /dev/vg00/lvol1
HTH.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-23-2003 08:10 AM
тАО10-23-2003 08:10 AM
Re: How to find OS block Size
f_bsize will show you the block size of the filesystem in bytes. To change the block size would require rebuilding the filesystem.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-23-2003 08:12 AM
тАО10-23-2003 08:12 AM
Re: How to find OS block Size
If you mean disk block size, the default is 1K. But this *could* be overriden with the -b parm of the mkfs command at FS creation time.
Rgds,
Jeff
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-23-2003 08:13 AM
тАО10-23-2003 08:13 AM
Re: How to find OS block Size
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-23-2003 08:14 AM
тАО10-23-2003 08:14 AM
Re: How to find OS block Size
df -g
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-23-2003 08:23 AM
тАО10-23-2003 08:23 AM
Re: How to find OS block Size
FS size < 8GB = 1024
FS size > 8 & < 16 = 2048
FS size > 16 & < 32 = 4096
FS size > 32 GB = 8192
But again this can be overriden.
Rgds,
Jeff
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-23-2003 11:01 AM
тАО10-23-2003 11:01 AM
Re: How to find OS block Size
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-23-2003 01:01 PM
тАО10-23-2003 01:01 PM
Re: How to find OS block Size
I'd point out that if you use fstyp -v to determine block size you need to look at the 'f_frsize' parameter not as you would assume 'f_bsize' parameter. The f_bsize parameter doesn't report the correct block size.
You can also use the following command:
# mkfs -m
(eg mkfs -m /dev/vg01/lvol3)
This will show you all the parameters used to create the filesystem including block size (look for bsize value which is in bytes).
Also have a look at the JFS Fileyststem Admin Guide:
http://docs.hp.com/hpux/pdf/B3929-90011.pdf
Cheers
Con
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-23-2003 04:10 PM
тАО10-23-2003 04:10 PM
Re: How to find OS block Size
I found a thread to confirm what I said in the previous post about fstyp -v command:
http://forums1.itrc.hp.com/service/forums/parseCurl.do?CURL=%2Fcm%2FQuestionAnswer%2F1%2C%2C0x22307b8d1de3d5118ff40090279cd0f9%2C00.html&admit=716493758+1066968007792+28353475
To summarise:
For vxfs filesystems the 'f_bsize' parameter shows the maximum block size, while the 'f_frsize' parameter shows the actual block size.
Cheers
Con