- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- db_block_size and operating system block_size para...
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
тАО01-08-2002 02:49 AM
тАО01-08-2002 02:49 AM
Does anybody know how to find out the OS block_size on vxfs in HPUX 11?
I'm trying to adjust SGA, and one of the parameters involved is, as you all know, db_block_size, which must be multiple of the OS block_size.
I know you define it when creating the file system, but I don't remember the value, and don't know where nor how to visualize the value.
Thanks in advance.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-08-2002 02:55 AM
тАО01-08-2002 02:55 AM
Re: db_block_size and operating system block_size parameter
will return the blocksize as f_bsize and the fragment size as f_frsize.
Regards,
Joh
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-08-2002 02:58 AM
тАО01-08-2002 02:58 AM
Solutionfstyp -v /dev/vgXX/lvolY
And look at the value given for f_frsize
OR
mkfs -m /dev/vgXX/lvolY
which shows you the original mkfs command used to create the file system.
Unless it was specified at creation time, VxFS file systems will default to a block size of 1024 - this is probably a bit small for most Oracle databases - most people seem happy with a block size of 8192.
HTH
Duncan
I am an HPE Employee
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-08-2002 03:58 AM
тАО01-08-2002 03:58 AM
Re: db_block_size and operating system block_size parameter
Thanks, Duncan and John.
Greetings.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-08-2002 07:35 AM
тАО01-08-2002 07:35 AM
Re: db_block_size and operating system block_size parameter
There is much confusion on this issue. Here's a doc:
http://us-support3.external.hp.com/cki/bin/doc.pl/sid=c4b25c3a08f59ac82a/screen=ckiDisplayDocument?docId=200000054230626
Also, from man newfs_vxfs:
-b block_size File system block size in bytes. The default value used is 1024 bytes.
Look for f_frsize from:
fstyp -v /dev/vg##/lvol#
Look for fragment size from:
df -g /mount_point
There's quite a number of threads in the forums about this. I suggest you search (limiting the domain to itrc.hp.com) at http://www.google.com/advanced_search
Darrell
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-09-2002 02:49 AM
тАО01-09-2002 02:49 AM
Re: db_block_size and operating system block_size parameter
The info you gave through man pages and other commands have been enough for me to solve my doubts, specially man newfs_vxfs, man df, and man statvfs, which is the C system funtion for retrieving file system info, and that is called from command line interfaces like df, and so on.
Here is an extract of man statvfs, which I think make clear the issue:
man statvfs
Reformatting entry. Wait... done
statvfs(2) statvfs(2)
NAME
statvfs, fstatvfs - get file system information. These C funtions are called from command line interfaces, like df.
DESCRIPTION
statvfs() returns information about a mounted file system.
...
The statvfs structure contains the following members:
...
ulong f_frsize; /* fundamental file system block size */
...
Of course John and Duncan gave the right answer as well...
;^)
Greetings.