# /var/discourse 占用 36GB：如何将膨胀数据移至 /mnt？

**URL:** <https://meta.discourse.org/t/var-discourse-is-36gb-how-to-move-bloat-to-mnt/113415>\
**Category:** Support\
**Created:** [2019年四月4日 05:58 UTC](https://meta.discourse.org/t/var-discourse-is-36gb-how-to-move-bloat-to-mnt/113415 "2019-04-04T05:58:35Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![dylanh724](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/dylanh724/32/119642_2.png) [@dylanh724](https://meta.discourse.org/u/dylanh724)\
**Post date:** [2019年四月4日 05:58 UTC](https://meta.discourse.org/t/var-discourse-is-36gb-how-to-move-bloat-to-mnt/113415/1 "2019-04-04T05:58:35Z")

</div>

I have a 128gb droplet and you can’t really add space to it, but you can (and I did) add a **/mnt**

How can I move files that cause the dir to bloat out to /mnt?

I’m sure there’s a link somewhere, but I’m confusing some of the keywords and terminology, so I can’t quite find the best one.

Thanks!

---

<div class="post-metadata">

**Author:** ![pfaffman](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/pfaffman/32/120154_2.png) [@pfaffman](https://meta.discourse.org/u/pfaffman)\
**Post date:** [2019年四月4日 11:53 UTC](https://meta.discourse.org/t/var-discourse-is-36gb-how-to-move-bloat-to-mnt/113415/2 "2019-04-04T11:53:46Z")

</div>

Best would be to move images to S3.

Next you add another volumes section to app.yml to point to the different location. It’s best to leave database on the local ssd, the extra volumes are a bit slower

---

<div class="post-metadata">

**Author:** ![system](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/system/32/443519_2.png) [@system](https://meta.discourse.org/u/system)\
**Post date:** [2022年七月13日 06:24 UTC](https://meta.discourse.org/t/var-discourse-is-36gb-how-to-move-bloat-to-mnt/113415/4 "2022-07-13T06:24:20Z")

</div>

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.
