Showing results for 
Search instead for 
Do you mean 

Max FS Block Size.

SOLVED
Go to Solution
Trusted Contributor Trusted Contributor

Max FS Block Size.

Please give me some insight here. Our resident "experts" are creating a large datamart on 9i and 11i. They are asking me to create filesystems with a 16K block size. First of all, is this possible with vxfs or volume manager 3.2? Second of all is it practical?

Thanks in advance.

RZ
1 ACCEPTED SOLUTIONS
Honored Contributor Honored Contributor

Re: Max FS Block Size.

Hi Russ,

In vxfs block size can be
>= 1024 & <= 8192 in powers of 2. So it appears that NO you can't have a 16K block size. 8 is the largest.
You define block size in the newfs command with -b xxxx where xxxx=the desired size

The defaults are as follows
FS size
<= 8GB => 1024
8.1 -> 16 Gb => 2048
16.1 -> 32 Gb => 4096
> 32Gb => 8192

Rgds,
Jeff
PERSEVERANCE -- Remember, whatever does not kill you only makes you stronger!
5 REPLIES
Honored Contributor Honored Contributor

Re: Max FS Block Size.

It's definitely possible. And the file system block size ideally should match the Oracle block size (which apparently is going to be 16K in your case)

Under LVM, it's
# newfs -F vxfs -b 16384 /dev/vgXX/rlvolY

The default is 1024 for file systems less than 8 gigabytes, 2048 for file systemsless than 16 gigabytes, 4096 for file systemsless than 32 gigabytes, and 8192 for larger
file systems.

Volume manager 3.2 may change the syntax somewhat but it will still be doable.
Remember, wherever you go, there you are...
Honored Contributor Honored Contributor

Re: Max FS Block Size.

Hi Russ,

In vxfs block size can be
>= 1024 & <= 8192 in powers of 2. So it appears that NO you can't have a 16K block size. 8 is the largest.
You define block size in the newfs command with -b xxxx where xxxx=the desired size

The defaults are as follows
FS size
<= 8GB => 1024
8.1 -> 16 Gb => 2048
16.1 -> 32 Gb => 4096
> 32Gb => 8192

Rgds,
Jeff
PERSEVERANCE -- Remember, whatever does not kill you only makes you stronger!
Honored Contributor Honored Contributor

Re: Max FS Block Size.

oops...nevermind...goes to show you should test before opening one's mouth....

/usr/sbin/newfs -F vxfs -b 16384 /dev/vg01/rlvol16
vxfs mkfs: bsize must be a power of 2 >= 1024 and <= 8192
vxfs mkfs: Usage:
mkfs [-F vxfs] [-V] -m special
mkfs [-F vxfs] [-V] [-o [N] [X] [ninode=#] [bsize=#] [logsize=#]
[nau=#] [ausize=#] [aufirst=#] [aupad=#]
[version=#] [largefiles|nolargefiles]
[inosize=#] special size
Remember, wherever you go, there you are...
Honored Contributor Honored Contributor

Re: Max FS Block Size.

another thread...same subject

http://forums.itrc.hp.com/cm/QuestionAnswer/1,,0xe99e8cc5e03fd6118fff0090279cd0f9,00.html
Remember, wherever you go, there you are...
Honored Contributor Honored Contributor

Re: Max FS Block Size.

Hey Jim,

Been there...done that, my friend.

Keep foruming,
Jeff
PERSEVERANCE -- Remember, whatever does not kill you only makes you stronger!