# No room left on primary partition

**URL:** <https://community.allstarlink.org/t/no-room-left-on-primary-partition/22337>\
**Category:** Archive\
**Created:** [November 25, 2024, 10:27am UTC](https://community.allstarlink.org/t/no-room-left-on-primary-partition/22337 "2024-11-25T10:27:48Z")\
**Posts on this page:** 11\
**Page:** 1

<div class="post-metadata">

**Author:** ![dbeaujean](https://community.allstarlink.org/letter_avatar_proxy/v4/letter/d/34f0e0/32.png) [@dbeaujean](https://community.allstarlink.org/u/dbeaujean)\
**Post date:** [November 25, 2024, 10:27am UTC](https://community.allstarlink.org/t/no-room-left-on-primary-partition/22337/1 "2024-11-25T10:27:48Z")

</div>

I am running my asl3 on a 32 gig micro sd card. I t seems that on the installation, it created 2 partitions. The first is out of space and I am not sure what to do about it. Can I move stuff to the secondary partition?  
Thanks,  
Dave  
N8EPF

 ![image](https://community.allstarlink.org/uploads/default/original/2X/f/faa4b214bbcb253256ad5865602a2ff69bf1484b.png)  
 ![image](https://community.allstarlink.org/uploads/default/original/2X/6/66acb0366cad450301e69bfa951da339f29b801b.png)

---

<div class="post-metadata">

**Author:** ![N8EI](https://community.allstarlink.org/user_avatar/community.allstarlink.org/n8ei/32/4254_2.png) [@N8EI](https://community.allstarlink.org/u/N8EI)\
**Post date:** [November 25, 2024, 2:42pm UTC](https://community.allstarlink.org/t/no-room-left-on-primary-partition/22337/2 "2024-11-25T14:42:37Z")

</div>

The `/tmp`/ filesystem is ram-backed and limited in size. What kind of device are you on and how much RAM does it have?

---

<div class="post-metadata">

**Author:** ![dbeaujean](https://community.allstarlink.org/letter_avatar_proxy/v4/letter/d/34f0e0/32.png) [@dbeaujean](https://community.allstarlink.org/u/dbeaujean)\
**Post date:** [November 28, 2024, 9:03am UTC](https://community.allstarlink.org/t/no-room-left-on-primary-partition/22337/3 "2024-11-28T09:03:02Z")

</div>

I am running asl3 on a raspberry pi 5 with 8 gigs or ram. The system doesn’t seem to be short on resources. It usually only uses like 5 percent of the ram and only like 2 or 3 percent of cpu. I thought I saw somewhere about an app that allowed you to change drive sizes.  
Thanks,  
Dave  
N8EPF

---

<div class="post-metadata">

**Author:** ![N8EI](https://community.allstarlink.org/user_avatar/community.allstarlink.org/n8ei/32/4254_2.png) [@N8EI](https://community.allstarlink.org/u/N8EI)\
**Post date:** [November 28, 2024, 1:32pm UTC](https://community.allstarlink.org/t/no-room-left-on-primary-partition/22337/4 "2024-11-28T13:32:16Z")

</div>

Please provide the output of `df -h`.

---

<div class="post-metadata">

**Author:** ![dbeaujean](https://community.allstarlink.org/letter_avatar_proxy/v4/letter/d/34f0e0/32.png) [@dbeaujean](https://community.allstarlink.org/u/dbeaujean)\
**Post date:** [November 29, 2024, 7:02pm UTC](https://community.allstarlink.org/t/no-room-left-on-primary-partition/22337/5 "2024-11-29T19:02:21Z")

</div>

![image](https://community.allstarlink.org/uploads/default/original/2X/f/f2fd42c943c0af25c441619d75ef3f672104dea1.png)

I am really interested in fixing this. Does this screen capture tell you anything?  
Dave  
N8EPF

---

<div class="post-metadata">

**Author:** ![N8EI](https://community.allstarlink.org/user_avatar/community.allstarlink.org/n8ei/32/4254_2.png) [@N8EI](https://community.allstarlink.org/u/N8EI)\
**Post date:** [November 29, 2024, 10:09pm UTC](https://community.allstarlink.org/t/no-room-left-on-primary-partition/22337/6 "2024-11-29T22:09:49Z")

</div>

Interesting. I wonder why your system is out of space like that. Anyway, edit the file `/etc/fstab` and change this line:

```auto
tmpfs /tmp tmpfs defaults,noatime,nosuid,nodev,noexec,mode=1777,size=128M 0 0

```

to this:

```auto
tmpfs /tmp tmpfs defaults,noatime,nosuid,nodev,noexec,mode=1777,size=512M 0 0

```

Then you need to reboot the system.

---

<div class="post-metadata">

**Author:** ![dbeaujean](https://community.allstarlink.org/letter_avatar_proxy/v4/letter/d/34f0e0/32.png) [@dbeaujean](https://community.allstarlink.org/u/dbeaujean)\
**Post date:** [December 1, 2024, 7:20pm UTC](https://community.allstarlink.org/t/no-room-left-on-primary-partition/22337/7 "2024-12-01T19:20:17Z")

</div>

This does nothing to solve the problem of running out of memory to run reports. I made the change and rebooted but it didnt help. Exacly what is changing that 128M to 512M do?  
Dave  
N8EPF

---

<div class="post-metadata">

**Author:** ![WA3WCO](https://community.allstarlink.org/user_avatar/community.allstarlink.org/wa3wco/32/3123_2.png) [@WA3WCO](https://community.allstarlink.org/u/WA3WCO)\
**Post date:** [December 1, 2024, 7:56pm UTC](https://community.allstarlink.org/t/no-room-left-on-primary-partition/22337/8 "2024-12-01T19:56:27Z")

</div>

As @N8EI wrote, our default ASL3 appliance configures the “/tmp” (and “/var/tmp”) filesystem to be backed by RAM. We do this to reduce the wear on the SD card. With many of the RPi’s having a limited amount of RAM we set a small but reasonable limit (based on typical ASL3 usage) on the size we set aside.

The suggested change was to bump the allocation from 128M to 512M but that does not appear to be enough for whatever report you are generating.

Since your device has lots of RAM you can increase the size a bit more. You can also comment out the line in the `/etc/fstab` file. That will have any files created in /tmp going to the SD card.

---

<div class="post-metadata">

**Author:** ![N8EI](https://community.allstarlink.org/user_avatar/community.allstarlink.org/n8ei/32/4254_2.png) [@N8EI](https://community.allstarlink.org/u/N8EI)\
**Post date:** [December 1, 2024, 8:37pm UTC](https://community.allstarlink.org/t/no-room-left-on-primary-partition/22337/9 "2024-12-01T20:37:03Z")

</div>

Something else is broken if an sosreport is consuming even 128M of /tmp, let alone 512M. Have you looked at the output of `dmesg` for errors?

---

<div class="post-metadata">

**Author:** ![dbeaujean](https://community.allstarlink.org/letter_avatar_proxy/v4/letter/d/34f0e0/32.png) [@dbeaujean](https://community.allstarlink.org/u/dbeaujean)\
**Post date:** [December 1, 2024, 8:43pm UTC](https://community.allstarlink.org/t/no-room-left-on-primary-partition/22337/10 "2024-12-01T20:43:44Z")

</div>

![image](https://community.allstarlink.org/uploads/default/original/2X/6/6fbe392ccd3c1d911d17f3665dbbfedf9c3f9b32.jpeg)

---

<div class="post-metadata">

**Author:** ![N8EI](https://community.allstarlink.org/user_avatar/community.allstarlink.org/n8ei/32/4254_2.png) [@N8EI](https://community.allstarlink.org/u/N8EI)\
**Post date:** [December 1, 2024, 9:50pm UTC](https://community.allstarlink.org/t/no-room-left-on-primary-partition/22337/11 "2024-12-01T21:50:23Z")

</div>

Why are you running a Diagnostics SOS report? I’m not sure that’s ever been tested with the Pi Appliance. That’s usually for generating diagnostics for OS support cases and that probably does take up a lot of space.
