On 4/1/2013 6:33 PM, Jose Manuel dos Santos Calhariz wrote:
> On Mon, Apr 01, 2013 at 06:10:25PM -0400, Jeffrey Altman wrote:
>> You probably ran out of room in the directory for new entries.
>> Each directory has a limit of 64K directory chunks.  The number of
>> chunks required to represent a given file name is determined by the
>> length of the name.
>>
>>   First 12 characters of the name fit in the first chunk.
>>
>>   Each additional fraction of 32 characters requires an
>>   additional chunk.
>>
>> How many files did you create?
> 
> Around 64 million files, as I said in another email, there is no
> directory with 64K files.

Looks like you hit the namei vnode limit of 67108863 files.

From src/vol/namei_ops.c (for non-Windows file servers):

* Inode number format:
 * low 26 bits - vnode number - all 1's if volume special file.
 * next 3 bits - tag
 * next 3 bits spare (0's)
 * high 32 bits - uniquifier (regular) or type if spare
 */

The namei vnode is a 32-bit field of which currently only 26-bits are
available.

Jeffrey Altman


Attachment: smime.p7s
Description: S/MIME Cryptographic Signature

Reply via email to