You are not logged in.

#1 2005-09-02 00:16:24

skeeter
Member
From: Morristown TN
Registered: 2003-02-01
Posts: 77

Resize /tmp problem

I tried to load a large game and it stated that my /tmp was too small.  I googled about a bit and  found I could do the following but is this a "smart" way or more to the point is there a better way.

Example:  cd /
          rm -r /tmp
          mkdir /home/skeeter/tmp
          ln -s /home/skeeter/tmp tmp

This is if my home dir is large. My case it would be just "/"

[root@sprint skeeter]# df -h
Filesystem            Size  Used Avail Use% Mounted on
/dev/sda2              74G  4.0G   70G   6% /
none                  504M     0  504M   0% /dev/shm
tmpfs                 504M  8.0K  504M   1% /tmp
/dev/sda1              37G   18G   19G  49% /mnt/dos

Any directions or links would be appreciated. TIA  wink


Skeeter

Rule #1:  There are NO RULES!

Offline

#2 2005-09-02 00:19:32

T-Dawg
Forum Fellow
From: Charlotte, NC
Registered: 2005-01-29
Posts: 2,736

Re: Resize /tmp problem

I thought /tmp was dynamic in size?

Offline

#3 2005-09-02 00:32:10

skeeter
Member
From: Morristown TN
Registered: 2003-02-01
Posts: 77

Re: Resize /tmp problem

That's what I originally thought (up to Swap's limit?). Then I came across the above bit of info. Just wondering if that's the best idea or maybe resize swap using parted or something.  I hope I don't have to start all over with cfdisk.


Skeeter

Rule #1:  There are NO RULES!

Offline

#4 2005-09-02 01:14:03

Stinky
Member
From: The Colony, TX
Registered: 2004-05-28
Posts: 187

Re: Resize /tmp problem

Comment out the tmpfs line in /etc/fstab and reboot.  [/code]

Offline

#5 2005-09-02 02:36:08

Cam
Member
From: Brisbane, Aus
Registered: 2004-12-21
Posts: 658
Website

Re: Resize /tmp problem

Stinky wrote:

Comment out the tmpfs line in /etc/fstab and reboot.

Yup, or you just just umount it instead of rebooting wink That'll just integrate /tmp as a directory in your original root filesystem rather than a partition that feeds off swap smile

Offline

#6 2005-09-02 19:46:53

skeeter
Member
From: Morristown TN
Registered: 2003-02-01
Posts: 77

Re: Resize /tmp problem

Stinky and Cam  THANKS for the info. Yep, I commented it out in fstab and no more problems.  I can always count on the GREAT Arch community for assistance.   lol


Skeeter

Rule #1:  There are NO RULES!

Offline

#7 2012-12-15 13:16:39

enricotognoni
Member
Registered: 2012-08-05
Posts: 7

Re: Resize /tmp problem

i have same problem with /tmp, but # tmpfs is not enough:

#
# /etc/fstab: static file system information
#
# <file system> <dir>   <type>  <options>       <dump>  <pass>
# tmpfs         /tmp    tmpfs   nodev,nosuid    0       0

UUID=6ed24ca2-a738-4f16-8f5b-607ee218c10e / ext2 defaults 0 0
UUID=85551010-1160-41dd-aeca-fd507b7a580e swap swap defaults 0 0

if i check on pcmanfm

in /tmp  : free space 1005 Mb

but in /  : 21G free space

Offline

#8 2012-12-15 13:46:29

aesiris
Member
Registered: 2012-02-25
Posts: 97

Re: Resize /tmp problem

As you should have guessed, things have changed from 2005
Nowadays systemd mount /tmp as tmpfs by default

TL;DR: don't necropost

Offline

#9 2012-12-15 14:14:19

fsckd
Forum Fellow
Registered: 2009-06-15
Posts: 4,173

Re: Resize /tmp problem

Oh indeed, things have changed a lot since 2005. Please read Forum Etiquette: Old Threads / Necro-Bumping. Closing.


aur S & M :: forum rules :: Community Ethos
Resources for Women, POC, LGBT*, and allies

Offline

Board footer

Powered by FluxBB