1836456 Members
2170 Online
110101 Solutions
New Discussion

Re: block size

 
SOLVED
Go to solution
j773303
Super Advisor

block size

The default block size is 1KB, but which command can show the block size ? or which configuration file can config block size?
Hero
5 REPLIES 5
Jean-Louis Phelix
Honored Contributor

Re: block size

Hi,

It's more related to filesystem, so you can get it using fstyp -v. It's configured during newfs or mkfs.

Regards.
It works for me (© Bill McNAMARA ...)
Fabio Ettore
Honored Contributor
Solution

Re: block size

Hi,

# fstyp -v

is the right command and see f_frsize value. It is the value which shows actual block size.
You can change it when (and only when!) you create the filesystem by newfs or mkfs.
Then if you want to modify it, you should re-create filesystem.

KBRC00010670 - Questions on JFS in regards to block size and extents

It is a very good answer to your question, also indicates how to modify block size.

I hope this helps you.

Best regards,
Ettore
WISH? IMPROVEMENT!
Kevin Wright
Honored Contributor

Re: block size

mkfs -m /lvol will show you the original mkfs command used to create the FS.
RAC_1
Honored Contributor

Re: block size

df -g
There is no substitute to HARDWORK
Tim D Fulford
Honored Contributor

Re: block size

You question is rather open ended.. block size of what? There are many types of block devices on a system, disks, scsi, modems tapes, logical volumes... etc..

The above would answer your question if you were looking at filesystems or logical volumes.

Tim
-