<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<title><![CDATA[Linux Forum &mdash; Кончились inode]]></title>
		<link>https://linuxforum.ru/viewtopic.php?id=12296</link>
		<atom:link href="https://linuxforum.ru/extern.php?action=feed&amp;tid=12296&amp;type=rss" rel="self" type="application/rss+xml" />
		<description><![CDATA[Недавние сообщения в теме «Кончились inode».]]></description>
		<lastBuildDate>Mon, 28 Mar 2011 12:23:02 +0000</lastBuildDate>
		<generator>PunBB</generator>
		<item>
			<title><![CDATA[Re: Кончились inode]]></title>
			<link>https://linuxforum.ru/viewtopic.php?pid=161775#p161775</link>
			<description><![CDATA[<div class="quotebox"><cite>drBatty пишет:</cite><blockquote><p>они что, почти все меньше 1К? дайте-ка статистику по размеру глянуть?</p></blockquote></div><p>скрипт на скорую руку не сооружу, чтобы подсчитать... &lt;1K не много, но амболютное большенство &lt;4K.... в любом случае большой размер файлов нам не нужен...</p><div class="quotebox"><cite>drBatty пишет:</cite><blockquote><p>вы не совсем правы. этот параметр может зависеть от объёма ФС. Для маленьких разделов инодов может выделятся больше на гиг. <br />чем гадать и мучить калькулятор, лучше-бы глянули mke2fs.conf</p></blockquote></div><p>от размера он только для совсем мелких(порядка нескольких метров) зависит...<br /><div class="termtitle" style="font-family: sans-serif; position:relative; height:auto; width:auto; background:#3A4061; color:#FFFFFF; padding: 1px;"><b> Консоль:</b></div>
<div class="termcont" style="font-family: Terminus; position:relative; height:auto; width:auto; overflow-x:scroll; white-space: nowrap ; overflow-y:auto;background:#000000; color:#4EF44E; line-height:1.2; padding: 3px; font-size: 1rem; max-height: 60vh"><br /># tune2fs -l /dev/sda2<br />tune2fs 1.41.12 (17-May-2010)<br />Inode count:&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 122160<br />Block count:&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 487974<br />Free blocks:&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 223291<br />Free inodes:&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 97381<br />Block size:&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;4096<br /></div></p>]]></description>
			<author><![CDATA[null@example.com (Fat-Zer)]]></author>
			<pubDate>Mon, 28 Mar 2011 12:23:02 +0000</pubDate>
			<guid>https://linuxforum.ru/viewtopic.php?pid=161775#p161775</guid>
		</item>
		<item>
			<title><![CDATA[Re: Кончились inode]]></title>
			<link>https://linuxforum.ru/viewtopic.php?pid=161763#p161763</link>
			<description><![CDATA[<div class="quotebox"><cite>Fat-Zer пишет:</cite><blockquote><p>ну так... на 2х гиговом разделе быдет ~66156*2, что меньше 141573(и это мы только файлы считали). простая арифметика показывает, что инодов не хватает...</p></blockquote></div><p>вы не совсем правы. этот параметр может зависеть от объёма ФС. Для маленьких разделов инодов может выделятся больше на гиг. <br />чем гадать и мучить калькулятор, лучше-бы глянули mke2fs.conf<br /></p><div class="quotebox"><cite>Fat-Zer пишет:</cite><blockquote><p>для портеджей лучше уменьшить размер блока до 1к... ибо файлы всё равно мелкие,</p></blockquote></div><p>они что, почти все меньше 1К? дайте-ка статистику по размеру глянуть?<br /></p><div class="quotebox"><cite>Fat-Zer пишет:</cite><blockquote><p>а ещё лучше обратится reiser&#039;у.</p></blockquote></div><p>....</p>]]></description>
			<author><![CDATA[null@example.com (drBatty)]]></author>
			<pubDate>Mon, 28 Mar 2011 11:55:40 +0000</pubDate>
			<guid>https://linuxforum.ru/viewtopic.php?pid=161763#p161763</guid>
		</item>
		<item>
			<title><![CDATA[Re: Кончились inode]]></title>
			<link>https://linuxforum.ru/viewtopic.php?pid=161754#p161754</link>
			<description><![CDATA[<div class="quotebox"><cite>drBatty пишет:</cite><blockquote><p>как видите, на раздел в 132Г выделяется по дефолту 8 732 672 инодов, что составляет 66156 инодов на гиг.</p></blockquote></div><p>ну так... на 2х гиговом разделе быдет ~66156*2, что меньше 141573(и это мы только файлы считали). простая арифметика показывает, что инодов не хватает... </p><p>для портеджей лучше уменьшить размер блока до 1к... ибо файлы всё равно мелкие, а ещё лучше обратится reiser&#039;у.</p>]]></description>
			<author><![CDATA[null@example.com (Fat-Zer)]]></author>
			<pubDate>Mon, 28 Mar 2011 11:44:47 +0000</pubDate>
			<guid>https://linuxforum.ru/viewtopic.php?pid=161754#p161754</guid>
		</item>
		<item>
			<title><![CDATA[Re: Кончились inode]]></title>
			<link>https://linuxforum.ru/viewtopic.php?pid=161737#p161737</link>
			<description><![CDATA[<div class="quotebox"><cite>Lupo Alberto пишет:</cite><blockquote><p>Собственно, я спрашивал в контексте обсуждения данной темы.</p></blockquote></div><p>ну вот вам в контексте:<br /></p><div class="codebox"><pre><code>/dev/sda3             132G   78G   54G  60% /mnt/sda3

Inode count:              8732672
Block count:              34921293
Reserved block count:     0
Free blocks:              14086795
Free inodes:              8610975</code></pre></div><p>как видите, на раздел в 132Г выделяется по дефолту 8 732 672 инодов, что составляет 66156 инодов на гиг.<br /></p><div class="quotebox"><cite>man mkfs пишет:</cite><blockquote><p>&nbsp; &nbsp; &nbsp; &nbsp;-i bytes-per-inode<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Specify the bytes/inode ratio.&nbsp; mke2fs creates an inode for every bytes-per-inode bytes of space on the disk.&nbsp; The larger<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; the bytes-per-inode ratio, the fewer inodes will be created.&nbsp; This value generally shouldn&#039;t be smaller than&nbsp; the&nbsp; block-<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; size&nbsp; of&nbsp; the&nbsp; filesystem,&nbsp; since in that case more inodes would be made than can ever be used.&nbsp; Be warned that it is not<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; possible to expand the number of inodes on a filesystem after it is created, so be careful deciding the correct value for<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; this parameter.</p></blockquote></div><div class="quotebox"><cite>man mke2fs.conf пишет:</cite><blockquote><p>&nbsp; &nbsp; &nbsp; inode_ratio<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; This relation specifies the default inode ratio if the user does not specify one on the command line, and the filesystem-<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; type specific section of the configuration file does not specify a default inode ratio.</p></blockquote></div>]]></description>
			<author><![CDATA[null@example.com (drBatty)]]></author>
			<pubDate>Mon, 28 Mar 2011 11:19:49 +0000</pubDate>
			<guid>https://linuxforum.ru/viewtopic.php?pid=161737#p161737</guid>
		</item>
		<item>
			<title><![CDATA[Re: Кончились inode]]></title>
			<link>https://linuxforum.ru/viewtopic.php?pid=161706#p161706</link>
			<description><![CDATA[<div class="quotebox"><cite>drBatty пишет:</cite><blockquote><p>вы можете сами посмотреть, что она думает, выполнив</p></blockquote></div><p>Собственно, я спрашивал в контексте обсуждения данной темы.<br />Сам я почти везде использую ReiserFS, проблем пока не замечал.</p>]]></description>
			<author><![CDATA[null@example.com (Lupo Alberto)]]></author>
			<pubDate>Mon, 28 Mar 2011 10:12:37 +0000</pubDate>
			<guid>https://linuxforum.ru/viewtopic.php?pid=161706#p161706</guid>
		</item>
		<item>
			<title><![CDATA[Re: Кончились inode]]></title>
			<link>https://linuxforum.ru/viewtopic.php?pid=161680#p161680</link>
			<description><![CDATA[<div class="quotebox"><cite>Lupo Alberto пишет:</cite><blockquote><p>Не знаю, много это или мало почти 270000 файлов для раздела в 2 Гб</p></blockquote></div><p>мало. по мнению mkfs.ext4<br />вы можете сами посмотреть, что она думает, выполнив<br /><div class="termtitle" style="font-family: sans-serif; position:relative; height:auto; width:auto; background:#3A4061; color:#FFFFFF; padding: 1px;"><b> Консоль:</b></div>
<div class="termcont" style="font-family: Terminus; position:relative; height:auto; width:auto; overflow-x:scroll; white-space: nowrap ; overflow-y:auto;background:#000000; color:#4EF44E; line-height:1.2; padding: 3px; font-size: 1rem; max-height: 60vh">tune2fs -l /dev/sdaXY</div></p>]]></description>
			<author><![CDATA[null@example.com (drBatty)]]></author>
			<pubDate>Mon, 28 Mar 2011 09:13:53 +0000</pubDate>
			<guid>https://linuxforum.ru/viewtopic.php?pid=161680#p161680</guid>
		</item>
		<item>
			<title><![CDATA[Re: Кончились inode]]></title>
			<link>https://linuxforum.ru/viewtopic.php?pid=161674#p161674</link>
			<description><![CDATA[<div class="quotebox"><cite>drBatty пишет:</cite><blockquote><p>Что-то у вас там не так в вашей генте...</p></blockquote></div><p><div class="termtitle" style="font-family: sans-serif; position:relative; height:auto; width:auto; background:#3A4061; color:#FFFFFF; padding: 1px;"><b> Консоль:</b></div>
<div class="termcont" style="font-family: Terminus; position:relative; height:auto; width:auto; overflow-x:scroll; white-space: nowrap ; overflow-y:auto;background:#000000; color:#4EF44E; line-height:1.2; padding: 3px; font-size: 1rem; max-height: 60vh"><br />lupo@gentoo-laptop ~ % cd /usr/portage<br />lupo@gentoo-laptop portage % find . | wc -l<br />141573<br /></div><br />Немного не точно — у меня каталог с архивами исходных текстов вынесен отдельно:<br /><div class="termtitle" style="font-family: sans-serif; position:relative; height:auto; width:auto; background:#3A4061; color:#FFFFFF; padding: 1px;"><b> Консоль:</b></div>
<div class="termcont" style="font-family: Terminus; position:relative; height:auto; width:auto; overflow-x:scroll; white-space: nowrap ; overflow-y:auto;background:#000000; color:#4EF44E; line-height:1.2; padding: 3px; font-size: 1rem; max-height: 60vh"><br />gentoo-laptop ~ % cd /home/users/portage&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; [gentoo-laptop][12:03]<br />gentoo-laptop portage %&nbsp; find . | wc -l&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;[gentoo-laptop][12:03]<br />115660<br /></div></p><p>Не знаю, много это или мало почти 270000 файлов для раздела в 2 Гб&nbsp; :o</p>]]></description>
			<author><![CDATA[null@example.com (Lupo Alberto)]]></author>
			<pubDate>Mon, 28 Mar 2011 09:00:06 +0000</pubDate>
			<guid>https://linuxforum.ru/viewtopic.php?pid=161674#p161674</guid>
		</item>
		<item>
			<title><![CDATA[Re: Кончились inode]]></title>
			<link>https://linuxforum.ru/viewtopic.php?pid=161672#p161672</link>
			<description><![CDATA[<div class="quotebox"><cite>Fat-Zer пишет:</cite><blockquote><p>а это, просто опция, которая (моя догадка) при изменении размеров самой ФС будет менять кол-во инодов... без форматирования опять же не обойтись...</p></blockquote></div><p>дык... любопытно, что сейчас её можно только ОТКЛЮЧИТЬ.&nbsp; smile </p><div class="quotebox"><cite>Fat-Zer пишет:</cite><blockquote><p>сомневаюсь, что реализуют.</p></blockquote></div><p>ну не знаю. Не так-уж оно и надо на самом деле. Что-то у вас там не так в вашей генте... Даже на небольших разделах миллионы инодов по умолчанию создаются. Или у вас раздел совсем крохотный? А зачем жадничаете? Вот mkfs и решила, что на таком мизерном разделе и файлов будет немного... Я с таким никогда не сталкивался. Помню обратную ситуацию - когда mkfs пожрала немеренно гигабайт под эти дурацкие иноды на разделе для фильмов (фильмов-то на диск мало можно натолкать). Пришлось занизить до 500000. Появилось много лишних гигов.&nbsp; :cool:</p>]]></description>
			<author><![CDATA[null@example.com (drBatty)]]></author>
			<pubDate>Mon, 28 Mar 2011 08:56:26 +0000</pubDate>
			<guid>https://linuxforum.ru/viewtopic.php?pid=161672#p161672</guid>
		</item>
		<item>
			<title><![CDATA[Re: Кончились inode]]></title>
			<link>https://linuxforum.ru/viewtopic.php?pid=161666#p161666</link>
			<description><![CDATA[<div class="quotebox"><cite>Lupo Alberto пишет:</cite><blockquote><p>man mkfs.ext4</p></blockquote></div><p>про это я сам писал<br /></p><div class="quotebox"><cite>Lupo Alberto пишет:</cite><blockquote><p>man tune2fs</p></blockquote></div><p>а это, просто опция, которая (моя догадка) при изменении размеров самой ФС будет менять кол-во инодов... без форматирования опять же не обойтись...<br /></p><div class="quotebox"><cite>drBatty пишет:</cite><blockquote><p>мда... видимо ещё не реализовали. значит только mkfs...</p></blockquote></div><p>хмм... сомневаюсь, что реализуют.</p>]]></description>
			<author><![CDATA[null@example.com (Fat-Zer)]]></author>
			<pubDate>Mon, 28 Mar 2011 08:48:25 +0000</pubDate>
			<guid>https://linuxforum.ru/viewtopic.php?pid=161666#p161666</guid>
		</item>
		<item>
			<title><![CDATA[Re: Кончились inode]]></title>
			<link>https://linuxforum.ru/viewtopic.php?pid=161648#p161648</link>
			<description><![CDATA[<p>мда... видимо ещё не реализовали. значит только mkfs...</p>]]></description>
			<author><![CDATA[null@example.com (drBatty)]]></author>
			<pubDate>Mon, 28 Mar 2011 08:13:47 +0000</pubDate>
			<guid>https://linuxforum.ru/viewtopic.php?pid=161648#p161648</guid>
		</item>
		<item>
			<title><![CDATA[Re: Кончились inode]]></title>
			<link>https://linuxforum.ru/viewtopic.php?pid=161642#p161642</link>
			<description><![CDATA[<div class="quotebox"><cite>Fat-Zer пишет:</cite><blockquote><p>чего-т я пробежался по ману и не увидел, как изменить количество инодов. просвятитите уж...</p></blockquote></div><p><strong>man mkfs.ext4</strong><br /></p><div class="codebox"><pre><code>-N number-of-inodes
              Overrides  the  default calculation of the number of inodes that should be reserved for the filesystem (which is based on
              the number of blocks and the bytes-per-inode ratio).  This allows the user  to  specify  the  number  of  desired  inodes
              directly.</code></pre></div><p><strong>man tune2fs</strong><br /></p><div class="codebox"><pre><code> -O [^]feature[,...]
              Set  or  clear  the  indicated  filesystem features (options) in the filesystem.  More than one filesystem feature can be
              cleared or set by separating features with commas.  Filesystem features prefixed with a caret  character  (&#039;^&#039;)  will  be
              cleared  in the filesystem&#039;s superblock; filesystem features without a prefix character or prefixed with a plus character
              (&#039;+&#039;) will be added to the filesystem.

 ...

                   resize_inode
                          Reserve space so the block group descriptor table may grow in the future.   Tune2fs  only  supports  clearing
                          this filesystem feature.
...</code></pre></div>]]></description>
			<author><![CDATA[null@example.com (Lupo Alberto)]]></author>
			<pubDate>Mon, 28 Mar 2011 08:04:03 +0000</pubDate>
			<guid>https://linuxforum.ru/viewtopic.php?pid=161642#p161642</guid>
		</item>
		<item>
			<title><![CDATA[Re: Кончились inode]]></title>
			<link>https://linuxforum.ru/viewtopic.php?pid=161639#p161639</link>
			<description><![CDATA[<p>чего-т я пробежался по ману и не увидел, как изменить количество инодов. просвятитите уж...</p>]]></description>
			<author><![CDATA[null@example.com (Fat-Zer)]]></author>
			<pubDate>Mon, 28 Mar 2011 07:58:04 +0000</pubDate>
			<guid>https://linuxforum.ru/viewtopic.php?pid=161639#p161639</guid>
		</item>
		<item>
			<title><![CDATA[Re: Кончились inode]]></title>
			<link>https://linuxforum.ru/viewtopic.php?pid=161628#p161628</link>
			<description><![CDATA[<div class="quotebox"><cite>Fat-Zer пишет:</cite><blockquote><p>добавлю конкретики: mke2fs ключ -N</p></blockquote></div><p>можно и без форматирования обойтись. Или в вашей генте нельзя?</p>]]></description>
			<author><![CDATA[null@example.com (drBatty)]]></author>
			<pubDate>Mon, 28 Mar 2011 07:40:45 +0000</pubDate>
			<guid>https://linuxforum.ru/viewtopic.php?pid=161628#p161628</guid>
		</item>
		<item>
			<title><![CDATA[Re: Кончились inode]]></title>
			<link>https://linuxforum.ru/viewtopic.php?pid=161627#p161627</link>
			<description><![CDATA[<div class="quotebox"><cite>mister_hat пишет:</cite><blockquote><p>Вопрос - можно ли в ext4 увеличить количество inode без увеличения размера раздела? Где об этом можно поподробнее почитать?</p></blockquote></div><p>tune2fs<br />только учтите - должна быть включена фича ФС resize_inode. Проверяйте в tune2fs -l /dev/sdXY</p>]]></description>
			<author><![CDATA[null@example.com (drBatty)]]></author>
			<pubDate>Mon, 28 Mar 2011 07:39:44 +0000</pubDate>
			<guid>https://linuxforum.ru/viewtopic.php?pid=161627#p161627</guid>
		</item>
		<item>
			<title><![CDATA[Re: Кончились inode]]></title>
			<link>https://linuxforum.ru/viewtopic.php?pid=161615#p161615</link>
			<description><![CDATA[<p>добавлю конкретики: mke2fs ключ -N</p>]]></description>
			<author><![CDATA[null@example.com (Fat-Zer)]]></author>
			<pubDate>Mon, 28 Mar 2011 07:09:27 +0000</pubDate>
			<guid>https://linuxforum.ru/viewtopic.php?pid=161615#p161615</guid>
		</item>
	</channel>
</rss>
