看板FreeBSD
标 题Re: df 显示的磁碟大小怪怪的?
发信站大家来疯小栈 (Thu Sep 1 02:16:25 2005)
转信站ptt!ctu-reader!ctu-peer!news.nctu!netnews.csie.nctu!news.ee.ttu!news.n
因为系统会保留 8% 的空间来给 root 用
当 HD 剩余容量小於 8% 时,只有 root 才可使用
当然可以调整,请 man tunefs
-m minfree
Specify the percentage of space held back from normal users; the
minimum free space threshold. The default value used is 8%.
Note that lowering the threshold can adversely affect perfor-
mance:
o Settings of 5% and less force space optimization to always be
used which will greatly increase the overhead for file
writes.
o The file system's ability to avoid fragmentation will be
reduced when the total free space, including the reserve,
drops below 15%. As free space approaches zero, throughput
can degrade by up to a factor of three over the performance
obtained at a 10% threshold.
If the value is raised above the current usage level, users will
be unable to allocate files until enough files have been deleted
to get under the higher threshold.
--
→↓ O
rigin:
a6's˙大家来疯小栈 BBS.a6Crazy.twbbs.org
↑← Au
thor:
a6530466 从
61-220-26-89.HINET-IP.hinet.net 发表