Re: df 顯示的磁碟大小怪怪的?
因為系統會保留 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.
--
→↓ Origin: a6's˙大家來瘋小棧 BBS.a6Crazy.twbbs.org
↑← Author: a6530466 從 61-220-26-89.HINET-IP.hinet.net 發表
討論串 (同標題文章)
FreeBSD 近期熱門文章
PTT數位生活區 即時熱門文章