General discussion
-
CreatorTopic
-
December 5, 2001 at 3:27 am #2130503
OS Block size
Lockedby chatterjee.k · about 20 years, 5 months ago
How can we know the OS Block size in an Unix system?
Topic is locked -
CreatorTopic
All Comments
-
AuthorReplies
-
-
December 6, 2001 at 12:33 am #3547366
OS Block size
by cpfeiffe · about 20 years, 5 months ago
In reply to OS Block size
Many different ways, depending on your OS and file system manager. HP uses a tweaked version of Veritas. You can access your JFS logical volumes through SAM and there you can see your block size. This is actually adjustable when you create a new volume.
The defaults are 512, 1024, 8192 (bytes) by most vendors. 8192 is very rare.
SCO manages by OS and not file system. The SCO command for the whole OS is cmchk.
If neither of these help I still might have an answer depending on your OS and volume manager so please list.
-
January 9, 2002 at 6:37 pm #3449096
OS Block size
by shanghai sam · about 20 years, 4 months ago
In reply to OS Block size
Poster rated this answer
-
-
December 6, 2001 at 1:57 am #3547290
OS Block size
by chatterjee.k · about 20 years, 5 months ago
In reply to OS Block size
Hi,
Thanks for your reply that has really helped. I actually wanted to know the commands to get the OS Block size of the following UNIX systems:
1. Solaris
2. SCO – (‘cmchk’ – you have already answered.)
3. HP-UX
4. LinuxYour reply would be really helpfull.
K CHATTERJEE
-
December 7, 2001 at 12:26 am #3546405
OS Block size
by cpfeiffe · about 20 years, 5 months ago
In reply to OS Block size
I don’t know the commannd to verify, but I know the default for Solaris and Linux is 8192. For HP, the default is 4096. This is also what will come up when you allocate a new file system through SAM (by default) but is adjustable per file system.
Solaris can also be changed with the -b option of newfs when creating a new filesystem. I’m sure Linux can be changed per file system as well, but I don’t know how.I guess you just wanted to know how the OS applications treat data so the filesystem stuff may not be important this time, but you never know.
I hope this helps a little more.
-
January 9, 2002 at 6:37 pm #3449097
OS Block size
by shanghai sam · about 20 years, 4 months ago
In reply to OS Block size
Poster rated this answer
-
-
December 7, 2001 at 2:02 am #3546324
OS Block size
by chatterjee.k · about 20 years, 5 months ago
In reply to OS Block size
Hi,
Actually I wanted to know the OS Block size of the already created volumes in those OSs as while configuring ‘init
.ora’ file in oracle I can determine which multiplication of OS Block size should I use to define Oracle Block size. If the OS blck size of already created volumes are visible through SAM, my question is answered.
Thanks.
K CHATTERJEE
-
December 7, 2001 at 7:31 am #3546865
OS Block size
by ghislain.levesque · about 20 years, 5 months ago
In reply to OS Block size
Solaris: newfs -Nv /dev/rdsk/cxtxdxsx
-
January 9, 2002 at 6:37 pm #3449098
OS Block size
by shanghai sam · about 20 years, 4 months ago
In reply to OS Block size
Poster rated this answer
-
-
December 18, 2001 at 1:50 am #3559956
OS Block size
by budgiesoft · about 20 years, 5 months ago
In reply to OS Block size
In a Tru64 UNIX system, the default block size is 8192 bytes. The Oracle block size should also be set to 8192 bytes.
-
January 9, 2002 at 6:37 pm #3449099
OS Block size
by shanghai sam · about 20 years, 4 months ago
In reply to OS Block size
Poster rated this answer
-
-
December 18, 2001 at 4:33 am #3559830
OS Block size
by let · about 20 years, 5 months ago
In reply to OS Block size
This information is maintained in the superblock for that file system, so anything that queries that can provide usefull clues to the blocksize. On solaris systems, a df -g will yield this. Do a man page on the other unix systems on df to find theoption that gives the block size.
-
January 9, 2002 at 6:37 pm #3449100
OS Block size
by shanghai sam · about 20 years, 4 months ago
In reply to OS Block size
Poster rated this answer
-
-
January 9, 2002 at 6:37 pm #3449095
OS Block size
by chatterjee.k · about 20 years, 4 months ago
In reply to OS Block size
This question was closed by the author
-
-
AuthorReplies