<?xml version="1.0" encoding="UTF-8" ?>
<rss version="2.0">
<channel>
<title><![CDATA[BIWEB开源PHP WMS系统创始人ArthurXF肖飞的blog]]></title> 
<link>http://www.bizeway.net/index.php</link> 
<description><![CDATA[网务通 - 网务公司发展之路]]></description> 
<language>zh-cn</language> 
<copyright><![CDATA[BIWEB开源PHP WMS系统创始人ArthurXF肖飞的blog]]></copyright>
<item>
<link>http://www.bizeway.net/read.php?</link>
<title><![CDATA[FREEBSD 建目录上限]]></title> 
<author>ArthurXF &lt;arthurxf@gmail.com&gt;</author>
<category><![CDATA[FreeBSD]]></category>
<pubDate>Thu, 01 Jul 2010 09:05:56 +0000</pubDate> 
<guid>http://www.bizeway.net/read.php?</guid> 
<description>
<![CDATA[ 
	FREEBSD 系统一般在I/O操作时,不只需要磁盘的空间 onodes也同样重要<br/><br/>onodes是根据磁盘空间自动设定的,也有办法调整<br/><br/>调整Inode数量<br/>另外，每个分区的Inode数目是有限的。<br/>可以使用df -i来查看<br/><br/># df -i<br/>Filesystem &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;Inodes &nbsp; IUsed &nbsp; IFree IUse% Mounted on<br/>/dev/mapper/VolGroup00-LogVol00<br/> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 1958400 &nbsp; 97435 1860965 &nbsp; &nbsp;5% /<br/>/dev/sda1 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;26104 &nbsp; &nbsp; &nbsp;32 &nbsp; 26072 &nbsp; &nbsp;1% /boot<br/>/dev/shm &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 23850 &nbsp; &nbsp; &nbsp; 1 &nbsp; 23849 &nbsp; &nbsp;1% /dev/shm<br/><br/>当一个磁盘分区（文件子系统）的Inode被用光的时候，是无法再创建文件的。<br/>这种情况在邮件服务器或者BBS这种系统中容易出现，因为用户创建了很多小文件的情况。<br/><br/>要增加Inode的数量只能umount文件系统，然后用newfs命令来调整<br/><br/>#newfs /dev/sda1 -i 调整字节/inode的比例，来达到增加创建inode数目的目的。<br/>磁盘空间一定的情况下，当然比例越小，能创建的Inode就越多<br/><br/>不过注意。调整Inode相当于重新格式化了分区。原有的文件都会丢失<br/>所以确实需要调整的话，先要备份数据；<br/>或者在服务器搭建时预先设置好。<br/><br/>Tags - <a href="tag.php?tag=freebsd" rel="tag">freebsd</a> , <a href="tag.php?tag=inode" rel="tag">inode</a>
]]>
</description>
</item><item>
<link>http://www.bizeway.net/read.php?&amp;guid=0#topreply</link>
<title><![CDATA[[评论] FREEBSD 建目录上限]]></title> 
<author> &lt;user@domain.com&gt;</author>
<category><![CDATA[评论]]></category>
<pubDate>Thu, 01 Jan 1970 00:00:00 +0000</pubDate> 
<guid>http://www.bizeway.net/read.php?&amp;guid=0#topreply</guid> 
<description>
<![CDATA[ 
	
]]>
</description>
</item>
</channel>
</rss>