# now space left on remote\_tmp

**URL:** <https://forum.ansible.com/t/now-space-left-on-remote-tmp/37337>\
**Category:** Ansible Project\
**Created:** [November 11, 2022, 4:04pm UTC](https://forum.ansible.com/t/now-space-left-on-remote-tmp/37337 "2022-11-11T16:04:37Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![dulhaver](https://sea1.discourse-cdn.com/ansible/user_avatar/forum.ansible.com/dulhaver/32/1061_2.png) [@dulhaver](https://forum.ansible.com/u/dulhaver)\
**Post date:** [November 11, 2022, 4:04pm UTC](https://forum.ansible.com/t/now-space-left-on-remote-tmp/37337/1 "2022-11-11T16:04:37Z")

</div>

I am getting

```auto
12<em>fatal: [VM-414001-0264.step.zrz.dvz.cn-mv.de]: FAILED! =>
  msg: 'failure writing module data to temporary file for transfer: [Errno 28] No space left on device
</em>

```

eventhough

```auto
123<em>user@vm-51150-0128:~/repos/ansible/step> grep tmp ansible.cfg
allow_world_readable_tmpfiles = True
remote_tmp = /tmp/.ansible/tmp
</em>

```

and

```auto
123<em>stepuser@vm-414001-0264:~> df -h /tmp
Filesystem Size Used Avail Use% Mounted on
/dev/mapper/vgsys-root 7,0G 2,2G 4,9G 32% /
</em>

```

what am I doing wrong?

---

<div class="post-metadata">

**Author:** ![dnmvisser](https://avatars.discourse-cdn.com/v4/letter/d/8e8cbc/32.png) [@dnmvisser](https://forum.ansible.com/u/dnmvisser)\
**Post date:** [November 11, 2022, 4:10pm UTC](https://forum.ansible.com/t/now-space-left-on-remote-tmp/37337/2 "2022-11-11T16:10:47Z")

</div>

It’s total gibberish to me.  
Post plain text and we might be able to help  
But one thing that comes to mind and that is you’ve ran out of inodes.

---

<div class="post-metadata">

**Author:** ![Antony\_Stone](https://avatars.discourse-cdn.com/v4/letter/a/4491bb/32.png) [@Antony\_Stone](https://forum.ansible.com/u/Antony_Stone)\
**Post date:** [November 11, 2022, 4:17pm UTC](https://forum.ansible.com/t/now-space-left-on-remote-tmp/37337/3 "2022-11-11T16:17:22Z")

</div>

Indeed - as well as "df -h" it's always good to do "df -i"

Antony.

---

<div class="post-metadata">

**Author:** ![Nico\_Kadel-Garcia](https://sea1.discourse-cdn.com/ansible/user_avatar/forum.ansible.com/nico_kadel-garcia/32/9998_2.png) [@Nico\_Kadel-Garcia](https://forum.ansible.com/u/Nico_Kadel-Garcia)\
**Post date:** [November 11, 2022, 4:18pm UTC](https://forum.ansible.com/t/now-space-left-on-remote-tmp/37337/4 "2022-11-11T16:18:38Z")

</div>

Since your notes give no hint of what file was being transferred, it  
may have just too dang big.

---

<div class="post-metadata">

**Author:** ![Werner\_Flamme](https://avatars.discourse-cdn.com/v4/letter/w/c68b51/32.png) [@Werner\_Flamme](https://forum.ansible.com/u/Werner_Flamme)\
**Post date:** [November 11, 2022, 4:22pm UTC](https://forum.ansible.com/t/now-space-left-on-remote-tmp/37337/5 "2022-11-11T16:22:14Z")

</div>

Are you using BTRFS on /dev/mapper/vgsys-root? Then you better check "btrfs fs df /"

---

<div class="post-metadata">

**Author:** ![Evan\_Hisey](https://avatars.discourse-cdn.com/v4/letter/e/ce73a5/32.png) [@Evan\_Hisey](https://forum.ansible.com/u/Evan_Hisey)\
**Post date:** [November 11, 2022, 4:26pm UTC](https://forum.ansible.com/t/now-space-left-on-remote-tmp/37337/6 "2022-11-11T16:26:51Z")

</div>

You need to be careful with using /tmp as teh remote tmp directory on selinux systems. You can end up doing weird stuff to to your permissions there when ansible things that is the home directory. Have you made sure the permissions are good.

---

<div class="post-metadata">

**Author:** ![dulhaver](https://sea1.discourse-cdn.com/ansible/user_avatar/forum.ansible.com/dulhaver/32/1061_2.png) [@dulhaver](https://forum.ansible.com/u/dulhaver)\
**Post date:** [November 11, 2022, 4:35pm UTC](https://forum.ansible.com/t/now-space-left-on-remote-tmp/37337/7 "2022-11-11T16:35:44Z")

</div>

here in plain text

I am getting

&nbsp;&nbsp;&nbsp;fatal: [VM-414001-0264.step.zrz.dvz.cn-mv.de]: FAILED! =\>  
&nbsp;&nbsp;&nbsp;msg: 'failure writing module data to temporary file for transfer: [Errno 28] No space left on device

on "Gathering Facts" of a playbook execution, eventhough I have setup ansible to use /tmp/.ansible/tmp and there should be space available as far as I can tell

&nbsp;&nbsp;&nbsp;stepuser@vm-414001-0264:~\> df -h /tmp  
&nbsp;&nbsp;&nbsp;Filesystem Size Used Avail Use% Mounted on  
&nbsp;&nbsp;&nbsp;/dev/mapper/vgsys-root 7,0G 2,2G 4,9G 32% /

what am I doing wrong?

---

<div class="post-metadata">

**Author:** ![dnmvisser](https://avatars.discourse-cdn.com/v4/letter/d/8e8cbc/32.png) [@dnmvisser](https://forum.ansible.com/u/dnmvisser)\
**Post date:** [November 11, 2022, 6:41pm UTC](https://forum.ansible.com/t/now-space-left-on-remote-tmp/37337/8 "2022-11-11T18:41:42Z")

</div>

You’re only looking at the number of free space (i.e. blocks).  
But (as I stated earlier) there are also inodes which the filesystem can run out of.  
Try:

df -i

---

<div class="post-metadata">

**Author:** ![dulhaver](https://sea1.discourse-cdn.com/ansible/user_avatar/forum.ansible.com/dulhaver/32/1061_2.png) [@dulhaver](https://forum.ansible.com/u/dulhaver)\
**Post date:** [November 13, 2022, 1:24pm UTC](https://forum.ansible.com/t/now-space-left-on-remote-tmp/37337/9 "2022-11-13T13:24:04Z")

</div>

sorry everybody. I made a stupid mistake. The error message was about the anible-controler, NOT THE REMOTE HOST.

and, again, I recognize that it is always a good idea to post the entire -vvv content here. Sorry that I did not do ii this time and likewise may have directed everybody into the wrong direction.
