You are not logged in.

#1 2025-10-12 21:11

TravelerOS
Member
From: Boston, MA
Registered: 2025-08-25
Posts: 11
Website

How to expand /tmp from 1.9 GB to 2.5 GB

While creating TravelerOS 4, I noticed that there is not enough space in /tmp to create the 01-core.sb file. The file was too large for /tmp to handle. Is there any way to expand the /tmp directory?

Offline

#2 2025-10-12 21:58

q4osteam
Q4OS Team
Registered: 2015-12-06
Posts: 6,109
Website

Re: How to expand /tmp from 1.9 GB to 2.5 GB

Yes, you need to edit /etc/fstab and just remove /tmp line. Reboot afterwards.

Offline

#3 2025-10-12 22:06

TravelerOS
Member
From: Boston, MA
Registered: 2025-08-25
Posts: 11
Website

Re: How to expand /tmp from 1.9 GB to 2.5 GB

It still says that it's 1.9 GB.

Offline

#4 2025-10-13 09:05

q4osteam
Q4OS Team
Registered: 2015-12-06
Posts: 6,109
Website

Re: How to expand /tmp from 1.9 GB to 2.5 GB

Please post your /etc/fstab here and output of the commands:
$ mount
$ df -h

Offline

#5 2025-10-15 01:43

TravelerOS
Member
From: Boston, MA
Registered: 2025-08-25
Posts: 11
Website

Re: How to expand /tmp from 1.9 GB to 2.5 GB

# /etc/fstab: static file system information.
#
# Use 'blkid' to print the universally unique identifier for a device; this may
# be used with UUID= as a more robust way to name devices that works even if
# disks are added and removed. See fstab(5).
#
# <file system>             <mount point>  <type>  <options>  <dump>  <pass>
UUID=329B-865D                            /boot/efi      vfat    defaults   0 2
UUID=cb96ea76-defe-4ecd-8d80-2da8c7c04cbe /              ext4    defaults   0 1


sysfs on /sys type sysfs (rw,nosuid,nodev,noexec,relatime)
proc on /proc type proc (rw,nosuid,nodev,noexec,relatime)
udev on /dev type devtmpfs (rw,nosuid,relatime,size=1912848k,nr_inodes=478212,mode=755,inode64)
devpts on /dev/pts type devpts (rw,nosuid,noexec,relatime,gid=5,mode=600,ptmxmode=000)
tmpfs on /run type tmpfs (rw,nosuid,nodev,noexec,relatime,size=388796k,mode=755,inode64)
/dev/sda2 on / type ext4 (rw,relatime)
securityfs on /sys/kernel/security type securityfs (rw,nosuid,nodev,noexec,relatime)
tmpfs on /dev/shm type tmpfs (rw,nosuid,nodev,inode64)
cgroup2 on /sys/fs/cgroup type cgroup2 (rw,nosuid,nodev,noexec,relatime,nsdelegate,memory_recursiveprot)
pstore on /sys/fs/pstore type pstore (rw,nosuid,nodev,noexec,relatime)
efivarfs on /sys/firmware/efi/efivars type efivarfs (rw,nosuid,nodev,noexec,relatime)
bpf on /sys/fs/bpf type bpf (rw,nosuid,nodev,noexec,relatime,mode=700)
systemd-1 on /proc/sys/fs/binfmt_misc type autofs (rw,relatime,fd=41,pgrp=1,timeout=0,minproto=5,maxproto=5,direct,pipe_ino=1518)
hugetlbfs on /dev/hugepages type hugetlbfs (rw,nosuid,nodev,relatime,pagesize=2M)
debugfs on /sys/kernel/debug type debugfs (rw,nosuid,nodev,noexec,relatime)
mqueue on /dev/mqueue type mqueue (rw,nosuid,nodev,noexec,relatime)
tracefs on /sys/kernel/tracing type tracefs (rw,nosuid,nodev,noexec,relatime)
tmpfs on /run/lock type tmpfs (rw,nosuid,nodev,noexec,relatime,size=5120k,inode64)
tmpfs on /tmp type tmpfs (rw,nosuid,nodev,size=1943980k,nr_inodes=1048576,inode64)
tmpfs on /run/credentials/systemd-journald.service type tmpfs (ro,nosuid,nodev,noexec,relatime,nosymfollow,size=1024k,nr_inodes=1024,mode=700,inode64,noswap)
fusectl on /sys/fs/fuse/connections type fusectl (rw,nosuid,nodev,noexec,relatime)
configfs on /sys/kernel/config type configfs (rw,nosuid,nodev,noexec,relatime)
/dev/sda1 on /boot/efi type vfat (rw,relatime,fmask=0022,dmask=0022,codepage=437,iocharset=ascii,shortname=mixed,utf8,errors=remount-ro)
binfmt_misc on /proc/sys/fs/binfmt_misc type binfmt_misc (rw,nosuid,nodev,noexec,relatime)
tmpfs on /run/user/1000 type tmpfs (rw,nosuid,nodev,relatime,size=388792k,nr_inodes=97198,mode=700,uid=1000,gid=1000,inode64)
portal on /run/user/1000/doc type fuse.portal (rw,nosuid,nodev,relatime,user_id=1000,group_id=1000)
traveler@traveler-usb:~$
traveler@traveler-usb:~$ df -h
Filesystem      Size  Used Avail Use% Mounted on
udev            1.9G     0  1.9G   0% /dev
tmpfs           380M  7.6M  373M   2% /run
/dev/sda2        15G  6.2G  7.4G  46% /
tmpfs           1.9G     0  1.9G   0% /dev/shm
efivarfs         64K   32K   28K  54% /sys/firmware/efi/efivars
tmpfs           5.0M  8.0K  5.0M   1% /run/lock
tmpfs           1.9G  4.0K  1.9G   1% /tmp
tmpfs           1.0M     0  1.0M   0% /run/credentials/systemd-journald.service
/dev/sda1       300M  7.0M  293M   3% /boot/efi
tmpfs           380M   72K  380M   1% /run/user/1000
traveler@traveler-usb:~$

Offline

#6 2025-10-15 09:22

q4osteam
Q4OS Team
Registered: 2015-12-06
Posts: 6,109
Website

Re: How to expand /tmp from 1.9 GB to 2.5 GB

Run command:
$ sudo systemctl mask tmp.mount
Reboot and post back the result

Offline

#7 2025-10-15 12:28

TravelerOS
Member
From: Boston, MA
Registered: 2025-08-25
Posts: 11
Website

Re: How to expand /tmp from 1.9 GB to 2.5 GB

It's no longer 1.9 GB, thanks!

Offline

Board footer

Powered by FluxBB