sysctl 에서 inode-max(fs.inode-max) 가 unknown key...

mosqhan의 이미지

커널 파라미터 중 fs.inode-max 수치를 변경하려 하는데 다음과 같은 에러가 납니다.
여러 Doc 를 참조해 봐도 분명 fs.inode-max 에 대해 언급이 되있는데 바꿀수 없는 이유를 모르겠습니다.
아시는 분 조언 바랍니다.

[root@xxx57 root]# uname -a
Linux xxx57 2.4.20-8smp #1 SMP Thu Mar 13 17:45:54 EST 2003 i686 i686 i386 GNU/Linux
[root@xxx57 root]# /sbin/sysctl fs.inode-max
error: 'fs.inode-max' is an unknown key

Quote:

/usr/src/linux-2.4/Documentation/sysctl/fs.txt 참조내용
...
The value in inode-max denotes the maximum number of inode
handlers. This value should be 3-4 times larger than the value
in file-max, since stdin, stdout and network sockets also
need an inode struct to handle them. When you regularly run
out of inodes, you need to increase this value.
...
codebank의 이미지

http://uranus.it.swin.edu.au/~jn/linux/redhatserver.htm
sysctl.conf부분

http://www.debian.org/doc/manuals/reference/ch-kernel.en.html
7.3.1 절

위 두링크를 보면 inode-max라는 항목은 커널 2.2이전까지만 사용되고 커널 2.4부터는
자동으로 할당되는 것으로 나옵니다.
즉, 현재 커널 2.4이상을 사용하신다면 해당항목은 사용하실 수 없다고 생각됩니다.

인용하신 /usr/src/linux/Do... 의 문서의 제일 처음부분을 확인해보세요.

Quote:
Documentation for /proc/sys/fs/* kernel version 2.2.10

아마 2.2.10이후의 커널에서는 이문서를 수정하지 않은 것으로 보입니다.
/etc/sysctl.conf (or /etc/sysctl/sysctl.conf) 파일을 참조하시거나
/proc/sys/fs 의 파일들을 확인해보시는건 어떠실런지요?

------------------------------
좋은 하루 되세요.

mosqhan의 이미지

네.. 자료 잘봤습니다.
Documents 밑의 파일은 2.2 까지였네요...
감사합니다.

집에가서 발닦고 잠이나 자자...