看板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 發表