|
ru.unix.bsd- RU.UNIX.BSD ------------------------------------------------------------------ From : Anton Yuzhaninov 2:5020/400 07 Feb 2006 14:28:07 To : Igor Sysoev Subject : Re: ufs2 and dynamic inodes allocation --------------------------------------------------------------------------------
Hello, Igor!
You wrote on Tue, 7 Feb 2006 09:53:12 +0000 (UTC):
IS> Hесмотря на то, что в книжке "The Design and Implementation of the
IS> FreeBSD Operating System" МакКузик рассказывает, что в UFS2 иноды
IS> выделяются динамически, это не так. Они очень легко могут кончится. Be
IS> warned.
Он там же предупреждает, что закончится они все же могут:
In theory, a filesystem could fill, using up all the blocks set aside for
inodes. Later, after large files have been removed and many small files
created to replace them, the filesystem might find itself unable to
allocated the needed inodes because all the space set aside for inodes was
still in use. Here, it would be necessary to reallocate existing files to
move them to new locations outside the inode area. Such code has not been
written as we do not expect that this condition will arise in practice,
since the free space reserve used on most filesystems (8 percent) exceeds
the amount of space needed for inodes (typically less than 6 percent). On
these systems only a process running with root privileges would ever be able
to allocate the inode blocks. Should the code prove necessary in real use,
it can be written at that time. Until it is written, filesystems hitting
this condition will return an "out of inodes" error on attempts to create
new files.
Или ты о другом?
--
Anton Yuzhaninov, OSPF-RIPE, citrin#citrin.ru
--- ifmail v.2.15dev5.3
* Origin: Rambler (2:5020/400)
Вернуться к списку тем, сортированных по: возрастание даты уменьшение даты тема автор
Архивное /ru.unix.bsd/12317fa5b71b7.html, оценка из 5, голосов 10
|