Re: checkdir error

1999-05-11 Thread Khalid EZZARAOUI
Paulo Henrique Baptista de Oliveira wrote:

> I have a shell script that unzips multiple files in a directory. This
> directory have 4 subdirectories named 001, ..., 004. Each one have 400
> subdirectories named 001, ..., 400. In each of these 400 subdirectories
> I have 400 html files. The file system( using df ) still have enough
>

400x400x4 = 64 (file or dir)
see if your hd is able to manage all this.

you can see this during the boot so try dmesg, I don't know over way. (df)


Re: checkdir error

1999-05-11 Thread E.L. Meijer \(Eric\)
> 
> I have a shell script that unzips multiple files in a directory. This
> directory have 4 subdirectories named 001, ..., 004. Each one have 400
> subdirectories named 001, ..., 400. In each of these 400 subdirectories
> I have 400 html files. The file system( using df ) still have enough
> space for the unpacking and, when running the 4th directory it prints anerror
> like this:
> 
>   checkdir error: cannot create 004/022
>   unable to process 004/022/04022001.html
> 
> After that, everything that I try to do, like mkdir, etc. does not work.It
> says that there's not enough space on the device.

You have probably run out of inodes.  Each file or directory needs one.
You are trying to create 4*400*400=64 files.  You can check how many
inodes are left using 

df -i

By default there are 4096 bytes per inode, which means that for the
amount of files you want to store your partition needs to be at least
64*4/1024=25000 MB in size (neglecting directories).  If you really
need to put the files in this partition, you need to reformat it and use
the -i switch to mkfs.ext2.  See man mkfs.ext2.

HTH,
Eric

-- 
 E.L. Meijer ([EMAIL PROTECTED])
 Eindhoven Univ. of Technology
 Lab. for Catalysis and Inorg. Chem. (SKA)


Re: checkdir error

1999-05-11 Thread Larry Loreman
> I have a shell script that unzips multiple files in a directory. This
> directory have 4 subdirectories named 001, ..., 004. Each one have 400
> subdirectories named 001, ..., 400. In each of these 400 subdirectories
> I have 400 html files. The file system( using df ) still have enough
> space for the unpacking and, when running the 4th directory it prints anerror
> like this:
>
>   checkdir error: cannot create 004/022
>   unable to process 004/022/04022001.html
>
> After that, everything that I try to do, like mkdir, etc. does not work.It
> says that there's not enough space on the device.


You are probably out of either disk space

df

or out of inodes (room for file names)

df -i

If you're out of disk space, the solution is obvious. If you're
out of inodes, you could add another disk, or backup your data
and if possible newfs (mkfs) with an option that will give you
more inodes. Sorry, I don't have that option handy at the moment.

Larry Loreman
[EMAIL PROTECTED]


checkdir error

1999-05-11 Thread Paulo Henrique Baptista de Oliveira
I have a shell script that unzips multiple files in a directory. This
directory have 4 subdirectories named 001, ..., 004. Each one have 400
subdirectories named 001, ..., 400. In each of these 400 subdirectories
I have 400 html files. The file system( using df ) still have enough
space for the unpacking and, when running the 4th directory it prints anerror
like this:

  checkdir error: cannot create 004/022
  unable to process 004/022/04022001.html

After that, everything that I try to do, like mkdir, etc. does not work.It
says that there's not enough space on the device.

Have a nice day,Paulo Henrique