The inode of a file is a data structure on disk that contains vital information 
about the file, like file owner, file permissions, dates of 
creation/access/update, pointers to data blocks, etc. The inode size (the 
number of bytes needed to hold all those info about the file) can be set by the 
user when formatting a partition using mkfs.ext3, but can not be smaller than 
128 bytes.

I think that your problem, though, is not inode size, but the number of inodes 
that were created when you first did a "mkfs.ext3" on the partition, since when 
you run out of inodes, you can not create new files.
I think the real trick when running the mkfs.ext3 formatting program is to 
create a nice balance between the number of inodes (number of files you can 
create) and the number of data blocks (that you can use for the file data). 
Tuning the various parameters to mkfs.ext3 should do the trick.

"man mkfs.ext3" is your friend.

Pablo Manalastas

--- On Fri, 4/24/09, Nathanael Cariaga <[email protected]> wrote:

> I'm having problems with the inode size on my debian
> 5.0 server...  I tried to search the internet to find a work
> around on this problem. Below are the results when I typed
> df -hi and df -ha.  Almost all of the installed applications
> has started to fail including squid.  I was wondering if
> anyone here could give me an advice on how to proceed. 
> Thanks!
>  
> proxy:~# df -hi
> Filesystem            Inodes   IUsed   IFree IUse% Mounted
> on
> /dev/sda1               4.5M    4.5M     42K  100% /
> tmpfs                   219K       4    219K    1%
> /lib/init/rw
> udev                    219K     854    219K    1% /dev
> tmpfs                   219K       1    219K    1% /dev/shm
> 
> proxy:~# df -ha
> Filesystem            Size  Used Avail Use% Mounted on
> /dev/sda1              71G   24G   44G  36% /
> tmpfs                1014M     0 1014M   0% /lib/init/rw
> proc                     0     0     0   -  /proc
> sysfs                    0     0     0   -  /sys
> procbususb               0     0     0   -  /proc/bus/usb
> udev                   10M   80K   10M   1% /dev
> tmpfs                1014M     0 1014M   0% /dev/shm
> devpts                   0     0     0   -  /dev/pts
>  
>  
> -nathan
_________________________________________________
Philippine Linux Users' Group (PLUG) Mailing List
http://lists.linux.org.ph/mailman/listinfo/plug
Searchable Archives: http://archives.free.net.ph

Reply via email to