Author Topic: /tmp folder is Only 20Mbytes?  (Read 3935 times)

Offline sbfreddie

  • Newbie
  • *
  • Posts: 15
  • Karma: +0/-0
    • View Profile
/tmp folder is Only 20Mbytes?
« on: November 25, 2013, 10:43:54 pm »
I moved the linaro image from Nand to a 2.5" Hard Drive.  After many updates it seems to be functioning OK.  But while building gnu radio, I get getting this error that the /tmp folder is full and it can't continue.
After checking the properties of the /tmp folder I discovered that it is only 20 Mbytes in size.  Anyone know why?
The hard disk is 160 GB with only 30 GB used.
How do I make the /tmp folder bigger?

Thanks,
Freddie

Offline jiv

  • Jr. Member
  • **
  • Posts: 53
  • Karma: +0/-0
    • View Profile
Re: /tmp folder is Only 20Mbytes?
« Reply #1 on: November 26, 2013, 07:51:58 am »
mount it on hdd.

Offline sbfreddie

  • Newbie
  • *
  • Posts: 15
  • Karma: +0/-0
    • View Profile
Re: /tmp folder is Only 20Mbytes?
« Reply #2 on: November 26, 2013, 12:34:56 pm »
jiv:
I don't understand your statement.  The entire File System is mounted on the Hard Disk drive and the /tmp folder is on the HDD.

Thanks,
Freddie

Offline patwood

  • Linux geek
  • Global Moderator
  • Hero Member
  • *****
  • Posts: 1660
  • Karma: +129/-0
    • View Profile
Re: /tmp folder is Only 20Mbytes?
« Reply #3 on: November 27, 2013, 12:36:07 am »
jiv:
I don't understand your statement.  The entire File System is mounted on the Hard Disk drive and the /tmp folder is on the HDD.

Thanks,
Freddie

So what's the output of the "df" command?

Offline sbfreddie

  • Newbie
  • *
  • Posts: 15
  • Karma: +0/-0
    • View Profile
Re: /tmp folder is Only 20Mbytes?
« Reply #4 on: November 27, 2013, 05:09:27 pm »
jiv:
I don't understand your statement.  The entire File System is mounted on the Hard Disk drive and the /tmp folder is on the HDD.

Thanks,
Freddie

So what's the output of the "df" command?
Pat:
Here is the output of the df command:

linaro@cubietruck:~$ df
Filesystem         1Kblocks        Used     Available     Use%     Mounted on
/dev/root       153854644 25312148     121352348  18%      /
devtemfs            934500              4          934496    1%      /dev
tmpfs                   20480              4            20476    1%      /tmp
none                  186924           400          186524    1%      /run
none                      5120              0              5120    0%      /run/lock
none                  934608              0           934608    0%     /run/shm
none                  102400             12          102388    1%     /run/user

I see the /tmp folder, but how to I make it bigger?

Thanks,
Freddie
 

Offline patwood

  • Linux geek
  • Global Moderator
  • Hero Member
  • *****
  • Posts: 1660
  • Karma: +129/-0
    • View Profile
Re: /tmp folder is Only 20Mbytes?
« Reply #5 on: November 27, 2013, 07:59:43 pm »
tmp is mounted as a tmpfs (ramdisk).  Look at /etc/fstab and /etc/rc.local to see where it's mounted and delete the line. Then /tmp should just be a directory on you root fs.

Offline sbfreddie

  • Newbie
  • *
  • Posts: 15
  • Karma: +0/-0
    • View Profile
Re: /tmp folder is Only 20Mbytes?
« Reply #6 on: November 27, 2013, 09:49:20 pm »
tmp is mounted as a tmpfs (ramdisk).  Look at /etc/fstab and /etc/rc.local to see where it's mounted and delete the line. Then /tmp should just be a directory on you root fs.

Thanks Pat, that did the trick!

Freddie

Offline con

  • Jr. Member
  • **
  • Posts: 84
  • Karma: +8/-0
    • View Profile
Re: /tmp folder is Only 20Mbytes?
« Reply #7 on: December 02, 2013, 04:26:40 am »
As the cb1/2 and 3 have sufficient memory, using the tmpfs (zram?) might actually speed up your system. You can change the size as said in /etc/fstab in general.