Unix Technical Forum

choices for NBPI and Allocation Group Size?

This is a discussion on choices for NBPI and Allocation Group Size? within the AIX Operating System forums, part of the Unix Operating Systems category; --> This has always been confusing to me. I have some new disk I need to put into a large ...


Go Back   Unix Technical Forum > Unix Operating Systems > AIX Operating System

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 01-05-2008, 03:50 AM
Mike
 
Posts: n/a
Default choices for NBPI and Allocation Group Size?

This has always been confusing to me. I have some new disk I need
to put into a large filesystem. The final filesystem is 137GB and
within this filesystem one of the files will range in size from
100GB -> 137GB, consuming the entire filesystem. I can create the
filesystem, but when I test the filesystem by creating a file that
is 100GB it fails at ~68GB.

What choices of NBPI and Allocation Group Size should I use for
this filesystem? I have tried several and the current is 16K
NBPI and 64M Allocation Group Size.

(AIX 5.2)

Mike
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 01-05-2008, 03:50 AM
Stephane Gassies
 
Posts: n/a
Default Re: choices for NBPI and Allocation Group Size?

With JFS and default NBPI, your maximum filesystem size will
be 64 Gb (~68000 Mb). Any greater value for NBPI will allow you
to cross that limit.

NBPI & allocation group size depend on your filesytem usage, but
I would say that your choice is OK.

OBS: you could have avoided that trouble with JFS2 instead of JFS,
but there are other consideration with JFS2 that maybe not interest
you.

Mike a écrit:
>
> This has always been confusing to me. I have some new disk I need
> to put into a large filesystem. The final filesystem is 137GB and
> within this filesystem one of the files will range in size from
> 100GB -> 137GB, consuming the entire filesystem. I can create the
> filesystem, but when I test the filesystem by creating a file that
> is 100GB it fails at ~68GB.
>
> What choices of NBPI and Allocation Group Size should I use for
> this filesystem? I have tried several and the current is 16K
> NBPI and 64M Allocation Group Size.
>
> (AIX 5.2)
>
> Mike

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3 (permalink)  
Old 01-05-2008, 03:50 AM
Mike
 
Posts: n/a
Default Re: choices for NBPI and Allocation Group Size?

In article <41019AF7.DED151D9@club-internet.fr>, Stephane Gassies wrote:
> With JFS and default NBPI, your maximum filesystem size will
> be 64 Gb (~68000 Mb). Any greater value for NBPI will allow you
> to cross that limit.
>
> NBPI & allocation group size depend on your filesytem usage, but
> I would say that your choice is OK.
>
> OBS: you could have avoided that trouble with JFS2 instead of JFS,
> but there are other consideration with JFS2 that maybe not interest
> you.
>
> Mike a écrit:
>>
>> This has always been confusing to me. I have some new disk I need
>> to put into a large filesystem. The final filesystem is 137GB and
>> within this filesystem one of the files will range in size from
>> 100GB -> 137GB, consuming the entire filesystem. I can create the
>> filesystem, but when I test the filesystem by creating a file that
>> is 100GB it fails at ~68GB.
>>
>> What choices of NBPI and Allocation Group Size should I use for
>> this filesystem? I have tried several and the current is 16K
>> NBPI and 64M Allocation Group Size.
>>
>> (AIX 5.2)
>>
>> Mike


It was the 64GB limit causing the problem. Next week we will create
the filesystem as JFS2.

Mike
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #4 (permalink)  
Old 01-05-2008, 03:59 AM
Simon Marchese
 
Posts: n/a
Default Re: choices for NBPI and Allocation Group Size?

Mike wrote:

> This has always been confusing to me. I have some new disk I need
> to put into a large filesystem. The final filesystem is 137GB and
> within this filesystem one of the files will range in size from
> 100GB -> 137GB, consuming the entire filesystem. I can create the
> filesystem, but when I test the filesystem by creating a file that
> is 100GB it fails at ~68GB.


How are you trying to create the file? What error code is returned?
Please be exact.

> What choices of NBPI and Allocation Group Size should I use for
> this filesystem? I have tried several and the current is 16K
> NBPI and 64M Allocation Group Size.


If the filesystem is 137GB, then choosing 16kNBPI will allocate
137*1024*1024*1024/16*1024 inodes. That is, about 9 million. That may
sound like a lot but it depends on how many files you are expecting in
the filesystem.

The allocation group size basically defines the disc blocks to be
allocated as follows from block zero:

<some inodes><data blocks><some inodes><data blocks> and so on.

The idea is that inodes are allocated near-ish the data blocks they
relate to. Shouldn't matter much for you big file.

Check out
http://www.unet.univie.ac.at/aix/aix...size_under.htm.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


All times are GMT. The time now is 04:58 AM.


Powered by vBulletin® Version 3.6.5
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.2.0
www.UnixAdminTalk.com