|
ru.unix.bsd- RU.UNIX.BSD ------------------------------------------------------------------ From : Igor Sysoev 2:5020/400 07 Feb 2006 14:58:53 To : "Anton Yuzhaninov" Subject : Re: ufs2 and dynamic inodes allocation -------------------------------------------------------------------------------- Anton Yuzhaninov <citrin@icn.bmstu.ru> wrote: > 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. > > Или ты о другом? Это я читал. Большие файлы имеют место, но они не удаляются, во всяком случае, массово. Имеется также огромное количество мелких файлов. minfree 8%. -- Игорь Сысоев http://sysoev.ru --- ifmail v.2.15dev5.3 * Origin: Demos online service (2:5020/400) Вернуться к списку тем, сортированных по: возрастание даты уменьшение даты тема автор
Архивное /ru.unix.bsd/6577c7d77fb4.html, оценка из 5, голосов 10
|