Quantcast
Channel: Active questions tagged mount+fstab - Ask Ubuntu
Viewing all articles
Browse latest Browse all 699

How to mount /tmp to another directory to increase memory

$
0
0

My /tmp directory is now at capacity and I want to increase the available memory:

df -h /tmpFilesystem      Size  Used Avail Use% Mounted on/dev/nvme0n1p3   59G   54G  2.1G  97% /

To try and do this, I plan to move my /tmp folder to /mnt/raid1/tmp (a mounted directory with a lot more available memory) and following this answer I tried adding the following to etc/fstab:

#update /tmp directory to get increased memory for running processes/tmp    /mnt/raid1/tmp    defaults,noatime,mode=1777   0  0

However this caused an issue after rebooting that was only resloved when I removed these lines. Anybody know how to move /tmp to /mnt/raid1/tmp correctly?


Viewing all articles
Browse latest Browse all 699

Trending Articles