Re: 請問硬碟空間的問題
※ 引述《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
討論串 (同標題文章)
FreeBSD 近期熱門文章
PTT數位生活區 即時熱門文章