On Mon, Apr 01, 2013 at 03:05:41PM -0700, Russ Allbery wrote:
> Jose Manuel dos Santos Calhariz <[email protected]> writes:
> 
> > I am trying to fill a 1TB volume with lots of small files.  At 40%
> > filled I started to see on client " Cannot open: No space left on
> > device"
> 
> The number of files in a particular directory is capped.  See the
> fileserver man page:
> 
>        The maximum number of directory entries is 64,000 if all of the entries
>        have names that are 15 octets or less in length. A name that is 15
>        octets long requires the use of only one block in the directory.
>        Additional sequential blocks are required to store entries with names
>        that are longer than 15 octets. Each additional block provides an
>        additional length of 32 octets for the name of the entry. Note that if
>        file names use an encoding like UTF-8, a single character may be
>        encoded into multiple octets.
> 

That idea crossed my mind, but that is not the problem.  

I don't have a big directory with all files.  I use a for cicle to
generate a new directory name, that is filled with the linux sources. 

Something like:

00000001  00000038  00000075  00000112  00000149  00000186  00000223  00000260  
00000297  00000334  00000371
00000002  00000039  00000076  00000113  00000150  00000187  00000224  00000261  
00000298  00000335  00000372
00000003  00000040  00000077  00000114  00000151  00000188  00000225  00000262  
00000299  00000336  00000373
00000004  00000041  00000078  00000115  00000152  00000189  00000226  00000263  
00000300  00000337  00000374
00000005  00000042  00000079  00000116  00000153  00000190  00000227  00000264  
00000301  00000338  00000375
...


inside 00000001 is:

linux-3.8


One another behaviour, I can't do a "touch empty_file" anywhere inside the 
volume.


     Jose Calhariz


-- 
--
Toda a idéia revolucionária provoca três estágios:
         1. 'é impossível - não perca meu tempo.'
         2. 'é possível mas não vale o esforço'
         3. 'eu sempre disse que era uma boa idéia'

Attachment: signature.asc
Description: Digital signature

Reply via email to