Re: df 顯示的磁碟大小怪怪的?

看板FreeBSD作者時間20年前 (2005/09/01 02:32), 編輯推噓0(000)
留言0則, 0人參與, 最新討論串2/5 (看更多)
因為系統會保留 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: a653046661-220-26-89.HINET-IP.hinet.net 發表
文章代碼(AID): #135VUk00 (FreeBSD)
文章代碼(AID): #135VUk00 (FreeBSD)