# Your storage is almost full

**URL:** <https://help.nextcloud.com/t/your-storage-is-almost-full/6501>\
**Category:** ℹ️ Support\
**Created:** [December 21, 2016, 1:47am UTC](https://help.nextcloud.com/t/your-storage-is-almost-full/6501 "2016-12-21T01:47:57Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![depawlur](https://help.nextcloud.com/user_avatar/help.nextcloud.com/depawlur/32/564_2.png) [@depawlur](https://help.nextcloud.com/u/depawlur)\
**Post date:** [December 21, 2016, 1:47am UTC](https://help.nextcloud.com/t/your-storage-is-almost-full/6501/1 "2016-12-21T01:47:57Z")

</div>

I actually think I understand why it’s doing that, but it’s just a funny thing.

Here’s my setup. Basically I have incremental daily backup of ~12 GB of my important documents. Every day my script makes hardlinks to files that didn’t change and adds new “bytes” of data of the files that did change.

Basically the file size of the backup never changes and 30gigs of my EC2 instance will be enough for good many years in the future. BUT due to the nature of the hardlinks Nexcloud thinks of them as the files so over time I have this:

 ![](https://help.nextcloud.com/uploads/default/original/2X/3/3e2666bc6ddcd77eecea28e82a543f5c45dca946.png)

But the actual space that is taken is only ~15gb of the hard drive. I just found it interesting. Well anyways, it could be cool if I could remove the “Your storage is almost full” message as it will not be full in the near future.

 ![](https://help.nextcloud.com/uploads/default/original/2X/b/b9208379a6d3b72628e86c7e476ef1b55fc18064.png)

Thanks!

---

<div class="post-metadata">

**Author:** ![riegerCLOUD](https://help.nextcloud.com/user_avatar/help.nextcloud.com/riegercloud/32/53593_2.png) [@riegerCLOUD](https://help.nextcloud.com/u/riegerCLOUD)\
**Post date:** [December 21, 2016, 5:20am UTC](https://help.nextcloud.com/t/your-storage-is-almost-full/6501/2 "2016-12-21T05:20:55Z")

</div>

Hi depawlur

You are using NC10?

I changed

> ```
> replace: /var/www/nextcloud/lib/private/helper.php
> 
> ```

> ```
> config:php:
> 'filesystem_check_changes' => 1,
> 'quota_include_external_storage' => false,
> 
> ```

> ```
> In Nextcloud - AdminPanel:
> set user quota e.g. to "unlimited" or any specific valid value e.g. 1.2TB
> 
> ```

You can find the patched file: [here](https://wolke.c-rieger.de/index.php/s/olPFQivvPmWSRih?path=%2Fnextcloud%20patches)

(1) download the patched one  
(2) backup (move) the original file (e.g. sudo mv /var/www/nextcloud/lib/private/helper.php ~/helper.php)  
(3) put the new file to /var/www/nextcloud/lib/private/helper.php  
(4) restart nginx (service nginx restart) or apache 😉

This patch was officially requested and fixed for me on  
1: [public upload failed if 'quota\_include\_external\_storage' =\> true, · Issue #801 · nextcloud/server · GitHub](https://github.com/nextcloud/server/issues/801)  
2: [fix quota calculation when a filesystem is mounted in a user home by icewind1991 · Pull Request #847 · nextcloud/server · GitHub](https://github.com/nextcloud/server/issues/847)

For Nextcloud 11 this issue was already fixed.  
Cheers, Carsten

---

<div class="post-metadata">

**Author:** ![depawlur](https://help.nextcloud.com/user_avatar/help.nextcloud.com/depawlur/32/564_2.png) [@depawlur](https://help.nextcloud.com/u/depawlur)\
**Post date:** [December 21, 2016, 2:57pm UTC](https://help.nextcloud.com/t/your-storage-is-almost-full/6501/3 "2016-12-21T14:57:09Z")

</div>

As a matter of fact I’m on NC11. Thanks for pointing where to look, I will see what I can dig.  
It’s not a big deal.

---

<div class="post-metadata">

**Author:** ![tflidd](https://help.nextcloud.com/letter_avatar/tflidd/32/5_5575768a8748004e209b776fc1b2916d.png) [@tflidd](https://help.nextcloud.com/u/tflidd)\
**Post date:** [November 27, 2021, 10:33pm UTC](https://help.nextcloud.com/t/your-storage-is-almost-full/6501/4 "2021-11-27T22:33:15Z")

</div>

A post was split to a new topic: [Storage usage questions](https://help.nextcloud.com/t/storage-usage-questions/128097)

---

<div class="post-metadata">

**Author:** ![wwe](https://help.nextcloud.com/user_avatar/help.nextcloud.com/wwe/32/72963_2.png) [@wwe](https://help.nextcloud.com/u/wwe)\
**Post date:** [November 6, 2024, 8:44pm UTC](https://help.nextcloud.com/t/your-storage-is-almost-full/6501/5 "2024-11-06T20:44:04Z")

</div>

wwe: close old topics

---

<div class="post-metadata">

**Author:** ![wwe](https://help.nextcloud.com/user_avatar/help.nextcloud.com/wwe/32/72963_2.png) [@wwe](https://help.nextcloud.com/u/wwe)\
**Post date:** [December 9, 2024, 10:47am UTC](https://help.nextcloud.com/t/your-storage-is-almost-full/6501/6 "2024-12-09T10:47:37Z")

</div>


