Max FS Block Size. (9 Views)
Reply
Trusted Contributor
Ross Zubritski
Posts: 349
Registered: ‎11-06-2002
Message 1 of 6 (9 Views)
Accepted Solution

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
Honored Contributor
James A. Donovan
Posts: 923
Registered: ‎07-28-1998
Message 2 of 6 (9 Views)

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
Jeff Schussele
Posts: 6,795
Registered: ‎02-18-2002
Message 3 of 6 (9 Views)

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
James A. Donovan
Posts: 923
Registered: ‎07-28-1998
Message 4 of 6 (9 Views)

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
James A. Donovan
Posts: 923
Registered: ‎07-28-1998
Message 5 of 6 (9 Views)

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
Jeff Schussele
Posts: 6,795
Registered: ‎02-18-2002
Message 6 of 6 (9 Views)

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!
The opinions expressed above are the personal opinions of the authors, not of HP. By using this site, you accept the Terms of Use and Rules of Participation.