Re: 請問硬碟空間的問題

看板FreeBSD作者時間21年前 (2005/03/11 12:32), 編輯推噓0(000)
留言0則, 0人參與, 最新討論串2/2 (看更多)
※ 引述《donkeykong.bbs@ptt.cc (硬碟不足)》之銘言: > Filesystem Size Used Avail Capacity Mounted on > /dev/ad1s1e 113G 102G 2.6G 97% /mnt/hitachi > /dev/ad2s1e 113G 102G 1.9G 98% /mnt/maxtor > /dev/ad3s1e 151G 139G 0B 100% /mnt/hitachi160 > 請問一下 我df出來的結果是這樣 很怪的是 102+2.6 = 104.6 92% > 而且151-139應該還有12G的 卻顯示沒有空間了 > 這樣要如何處理呢? FreeBSD 預設會保留 8% 的空間當作緩衝地帶 所以不見的空間是合理的 (139/151≒ 0.9205) 詳細的說明請見 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: 楓橋驛站<bbs.cs.nthu.edu.tw> ◆ From: 59-104-4-15.adsl.dynamic.seed.net.tw
文章代碼(AID): #12CHz700 (FreeBSD)
文章代碼(AID): #12CHz700 (FreeBSD)