# 为何我有 5.8G 空间，但重建时提示空间不足

**URL:** <https://meta.discourse.org/t/why-i-have-5-8g-space-but-when-rebuilding-space-is-not-enough/109881>\
**Category:** Self-hosting\
**Created:** [2019 年2 月 23 日 04:44 UTC](https://meta.discourse.org/t/why-i-have-5-8g-space-but-when-rebuilding-space-is-not-enough/109881 "2019-02-23T04:44:38Z")\
**Posts on this page:** 1\
**Showing post:** 5

<div class="post-metadata">

作者： ![xiasummer](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/xiasummer/32/82790_2.png) [@xiasummer](https://meta.discourse.org/u/xiasummer)\
发布日期： [2019 年3 月 8 日 12:42 UTC](https://meta.discourse.org/t/why-i-have-5-8g-space-but-when-rebuilding-space-is-not-enough/109881/5 "2019-03-08T12:42:41Z")

</div>

Very Strange, my usually used discourse’s backup file (20G KVM ramnode), only 670M, and the server don’t have enough space to rebuild.

While another discourse of mine, not usually using, also on a 20G KVM ramnode, with backup file 990M, but still have enouth space to reubild.

So I checked the space again, and I find there being a big ./log folder. So, **is it safe to delete the log files there in the big folder**?

```plaintext
root@xxx:/var# du -h --max-depth=1
3.6G ./log
20K ./spool
4.0K ./opt
4.0K ./tmp
1.6M ./backups
1.8G ./discourse
188M ./cache
4.0K ./local
4.0K ./mail
7.1G ./lib

```

---

_[View the full topic](https://meta.discourse.org/t/why-i-have-5-8g-space-but-when-rebuilding-space-is-not-enough/109881)._
