You are not logged in.

#1 2013-10-23 20:42:57

jdb91
Member
From: Brackley, UK
Registered: 2013-02-26
Posts: 12

Move /tmp to sda rather than tmpfs

My /tmp is mounted as tmpf, so uses RAM.

[joe@eee ~]$ df -h
Filesystem      Size  Used Avail Use% Mounted on
/dev/sda1       293G  6.7G  271G   3% /
dev             496M     0  496M   0% /dev
run             498M  660K  497M   1% /run
tmpfs           498M  160K  497M   1% /dev/shm
tmpfs           498M     0  498M   0% /sys/fs/cgroup
tmpfs           498M   44K  497M   1% /tmp

But, my /etc/fstab doesn't reflect this.

# /dev/sda1
UUID=506fe1de-f3f8-492b-b5f5-941d029c87d3       /               ext4            rw,relatime,data=ordered        0 1

# /dev/sda2
UUID=68af78b6-cf71-48aa-b62a-21e26a33292b       none            swap            defaults        0 0

My main problem is that pacaur uses /tmp  and 500MB isn't enough.  So another solution is to get pacaur to compile in /var/tmp instead (if you can).

Offline

#2 2013-10-23 21:07:46

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: Move /tmp to sda rather than tmpfs

Offline

#3 2013-10-23 22:16:33

msthev
Member
Registered: 2012-04-05
Posts: 177

Re: Move /tmp to sda rather than tmpfs

Hacky solution: $ systemctl mask tmp.mount (not tested by me, but should work);
Proper solution: as karol suggested.

Last edited by msthev (2013-10-23 22:17:29)

Offline

#4 2013-10-23 22:17:45

fukawi2
Ex-Administratorino
From: .vic.au
Registered: 2007-09-28
Posts: 6,222
Website

Re: Move /tmp to sda rather than tmpfs

Not an installation issue, moving to System Administration.

Offline

Board footer

Powered by FluxBB