藍森林首頁 | 返回主頁 | 本站地圖 | 站內搜索 | 聯繫信箱 |
 您目前的位置:首頁 > 自由軟件 > 技術交流 > 系統管理


    

藍森林 http://www.lslnet.com 2006年8月08日 13:08


如何增加i結點數?

操作系統為sco5.0.5,文件系統空間剩餘率還有50%,但是i結點數卻不夠用了,使用率達98%了,稍有一些文件產生,就會出錯,請問該如何增加系統可使用結點數呢?

如何增加i結點數?

這要求,以前有人貼過。

但沒人能解決。我想你只能直接求斑主了。

如何增加i結點數?

應該不能動態調整
進單用戶維護模式做 fsck 可以釋放一些
查找那些小文件,備份後刪除無用的文件

如何增加i結點數?

刪除文件這倒是可以實現,可文件數得控制在一定範圍內,我現在做了個定時腳本刪除一些隨機生成的文件,可這不是長久不計啊,請大家再幫幫忙吧.

如何增加i結點數?

i接點個數在創建分區時就已經定死了,除非你重新建分區,
不過那樣你的數據就gogo了

如何增加i結點數?

增加文件系統i節點的數目請參考:
http://www.www.lslnet.com/linux/jh/6/338284.html

如何增加i結點數?

從SCO知識庫中找出來的,可以參考一下,基本上跟樓上的差不多。

increase the number of available inodes:

1.        Back up the filesystem and verify the integrity of the backup using the Backup Manager. See ``Running unscheduled filesystem backups''.

2.        Unmount the filesystem. See ``Mounting and unmounting filesystems''.

3.        From the command line, run mkfs(ADM) and specify more inodes for the filesystem. For example, to reconfigure the number of inodes on the /dev/u filesystem to 6400, enter:

mkfs /dev/u fssize:6400
Replace fssize with the size of the filesystem (in 512-byte blocks). See the mkfs(ADM) manual page for more information.

4.        Mount the filesystem. See ``Mounting and unmounting filesystems''.

5.        Restore the filesystem from the backup using the Backup Manager. See ``Restoring files or directories from backup media''.
這裡要強調的,也就是文中所說的第一個步驟,一定要先備份。因為增加inode要重建文件系統,因此上面的原來文件自然要刪除掉的。

如何增加i結點數?

最後增加一塊硬盤。



Copyright © 1999-2000 LSLNET.COM. All rights reserved. 藍森林網站 版權所有。 E-mail : webmaster@lslnet.com