# Can't install Discourse with only 10 GB disk, run out of space

**URL:** <https://meta.discourse.org/t/cant-install-discourse-with-only-10-gb-disk-run-out-of-space/29149>\
**Category:** Self-hosting\
**Tags:** docker, server-resources\
**Created:** [2015年五月22日 19:27 UTC](https://meta.discourse.org/t/cant-install-discourse-with-only-10-gb-disk-run-out-of-space/29149 "2015-05-22T19:27:54Z")\
**Posts on this page:** 3\
**Page:** 3

<div class="post-metadata">

**Author:** ![dandv](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/dandv/32/169779_2.png) [@dandv](https://meta.discourse.org/u/dandv)\
**Post date:** [2016年二月19日 03:04 UTC](https://meta.discourse.org/t/cant-install-discourse-with-only-10-gb-disk-run-out-of-space/29149/43 "2016-02-19T03:04:33Z")

</div>

@fefrei: you might want to pitch in at

> <https://stackoverflow.com/questions/24764908/why-use-aufs-as-the-default-docker-storage-backend-instead-of-devicemapper>

@sam: In the meantime I’ve [enabled AUFS support for my Linode](https://meta.discourse.org/t/how-to-install-docker-with-aufs-on-linode/39831).

---

<div class="post-metadata">

**Author:** ![jack2](https://avatars.discourse-cdn.com/v4/letter/j/ac91a4/32.png) [@jack2](https://meta.discourse.org/u/jack2)\
**Post date:** [2017年九月5日 14:30 UTC](https://meta.discourse.org/t/cant-install-discourse-with-only-10-gb-disk-run-out-of-space/29149/44 "2017-09-05T14:30:46Z")

</div>

@hedgehog, did you solve your original issue? I have the exact same problem on OVH VPS SSD 1 (10 GB SSD, 1 GB RAM).

---

<div class="post-metadata">

**Author:** ![jack2](https://avatars.discourse-cdn.com/v4/letter/j/ac91a4/32.png) [@jack2](https://meta.discourse.org/u/jack2)\
**Post date:** [2017年九月6日 10:38 UTC](https://meta.discourse.org/t/cant-install-discourse-with-only-10-gb-disk-run-out-of-space/29149/45 "2017-09-06T10:38:48Z")

</div>

Here is what seems to happen when installing Discourse on an [OVH VPS](https://www.ovh.com/us/vps/vps-ssd.xml) SSD 1 (10 GB SSD, 1 GB RAM) at $3.49/month:

- After updating the system and installing git and docker, 6.5GB of drive space remain.
- `discourse-setup` will start by creating a 2GB swap, so then 4.5GB of drive space remain.
- Later on, `discourse-setup` will complain that it needs at least 5GB and it will stop.

Here is a workaround:

1. Run `discourse-setup` normally and enter the requested data
2. When asked to confirm the data (“Does it look good?”) open another SSH terminal and reduce the swap size to 1GB (see [here](https://www.digitalocean.com/community/questions/how-to-change-swap-size-on-ubuntu-14-04) about how to proceed)
3. Continue `discourse-setup` until the end
4. Increase the swap size back to 2GB, just like you did it to reduce it

The resulting Discourse instance seems to work for now.

[上一頁](https://meta.discourse.org/t/cant-install-discourse-with-only-10-gb-disk-run-out-of-space/29149.md?page=2)
