# Var directory full

**URL:** <https://forums.suse.com/t/var-directory-full/42999>\
**Category:** General\
**Created:** [April 18, 2024, 11:00pm UTC](https://forums.suse.com/t/var-directory-full/42999 "2024-04-18T23:00:29Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![bkesting](https://avatars.discourse-cdn.com/v4/letter/b/838e76/32.png) [@bkesting](https://forums.suse.com/u/bkesting)\
**Post date:** [April 18, 2024, 11:00pm UTC](https://forums.suse.com/t/var-directory-full/42999/1 "2024-04-18T23:00:29Z")

</div>

Probably a simple question, but could use advice. Have a SLES 12.5 system and the /var directory was showing almost 95% full. Without even thinking, I deleted a bunch of log files. The directory within file manager shows space cleared, but a “df” command still shows the directory at 95% full. I cannot seem to find any open files that are taking up space and rebooting the system hasn’t freed it up either. Any advice on where to look or how to tackle this would be appreciated.

---

<div class="post-metadata">

**Author:** ![malcolmlewis1](https://sea2.discourse-cdn.com/flex022/user_avatar/forums.suse.com/malcolmlewis1/32/10022_2.png) [@malcolmlewis1](https://forums.suse.com/u/malcolmlewis1)\
**Post date:** [April 19, 2024, 12:29am UTC](https://forums.suse.com/t/var-directory-full/42999/2 "2024-04-19T00:29:42Z")

</div>

@bkesting might be the zypper rpm cache? Check with `du -sh /var/cache/` are you running containers etc? Maybe /var/tmp? I would just cycle throught the /var direcories with `du -sh`

Are you running btrfs?

---

<div class="post-metadata">

**Author:** ![bkesting](https://avatars.discourse-cdn.com/v4/letter/b/838e76/32.png) [@bkesting](https://forums.suse.com/u/bkesting)\
**Post date:** [April 19, 2024, 8:55pm UTC](https://forums.suse.com/t/var-directory-full/42999/3 "2024-04-19T20:55:53Z")

</div>

My root partition is btrfs…all of my other partitions, including /var are xfs. Not running containers.

Upon further looking…I do see a “.Trash-0” folder in /var that has all my “deleted files” in it. Assume I can just delete these files to clear up space?

---

<div class="post-metadata">

**Author:** ![malcolmlewis1](https://sea2.discourse-cdn.com/flex022/user_avatar/forums.suse.com/malcolmlewis1/32/10022_2.png) [@malcolmlewis1](https://forums.suse.com/u/malcolmlewis1)\
**Post date:** [April 19, 2024, 9:10pm UTC](https://forums.suse.com/t/var-directory-full/42999/4 "2024-04-19T21:10:43Z")

</div>

@bkesting yes that should help…

---

<div class="post-metadata">

**Author:** ![bkesting](https://avatars.discourse-cdn.com/v4/letter/b/838e76/32.png) [@bkesting](https://forums.suse.com/u/bkesting)\
**Post date:** [April 19, 2024, 9:24pm UTC](https://forums.suse.com/t/var-directory-full/42999/5 "2024-04-19T21:24:51Z")

</div>

That did it…not sure why I didn’t notice that folder before. Thanks for the assistance!
