LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - General (https://www.linuxquestions.org/questions/linux-general-1/)
-   -   Directory Capacity - what is the max (iNote?) (https://www.linuxquestions.org/questions/linux-general-1/directory-capacity-what-is-the-max-inote-492847/)

bskrakes 10-16-2006 10:28 AM

Directory Capacity - what is the max (iNote?)
 
Correction its INODE

Hello, I was wondering if anyone could help me out... my boss has asked me to look into something he says is called iNote for Linux. This apparently controls or is a admin tool which manages the max directory size?!?!?! Please don't tell me to 'man inote' because we don't have it installed and I am basically asking the great world of LQ if they know anything about this.... thank you!

EXAMPLE:
So basicaly if we had 1 directory with 99 sub directories would that be the max sub directories allowed? OR what is the max capacity of that directory of 99 sub directories?

In effect would it affect performance?
As the capacity reaches max does this affect performance of the file strucute? I would assume so as most cpu systems get slower while processing larger ammounts of data.

Thank you!

bskrakes 10-16-2006 11:05 AM

I will reply to my own thread :( Ok so I found out that it's called INODE not inote, my boss is french and well you can't always understand him correctly.

This link takes me to come info on inode:
http://openacs.org/forums/message-view?message_id=23162

Within this link I found this:
cat /proc/sys/fs/file-max
cat /proc/sys/fs/inode-max


This seems to have done it! Although I would appreciate anyone else knowledge on this topic... thanks!

marozsas 10-16-2006 12:03 PM

The info at /proc/sys/fs/inode-max, is the max size of inodes the KERNEL will recognize.
It is not the same your filesystem has allocated for a specific partition.

To get the inode size for a ext2/3 filesystem, you can use dumpefs:
Code:

# dumpe2fs /dev/system/home | grep "Inode count:"
dumpe2fs 1.38 (30-Jun-2005)
Inode count:              1310720
#

This filesystem has 1.310.720 inodes.

bskrakes 10-17-2006 10:59 AM

Thank you Marozsas!


All times are GMT -5. The time now is 10:11 AM.