You are not logged in.

#1 2015-04-13 19:26:55

5donuts
Member
From: The Internet
Registered: 2014-11-06
Posts: 24

[Solved] /tmp size limitation?

Recently, I was playing around with shell scripts to automate the duplication of data on my arch machine, and I decided to copy the desired data to /tmp then compress it with tar, then put the compressed data where I store that kind of stuff and remove the copied data in /tmp

I encountered an error about halfway through the copying of data, where there was "no space left on disk". I found this to be particularly odd, since I have all of / mounted on the same partition with ~200GiB of free space when I was trying this out. I tried copying data to an external location and did not encounter the same error.

I guess I'm just wondering if /tmp has some sort of size limitation?

Last edited by 5donuts (2015-04-13 19:34:16)


The trouble with having an open mind, of course, is that people will insist on coming along and trying to put things in it. --Terry Pratchett

Offline

#2 2015-04-13 19:31:30

lucke
Member
From: Poland
Registered: 2004-11-30
Posts: 4,018

Re: [Solved] /tmp size limitation?

By default /tmp In Arch is mounted as tmpfs - which by default has the size equal to half the RAM.

Offline

#3 2015-04-13 19:34:00

5donuts
Member
From: The Internet
Registered: 2014-11-06
Posts: 24

Re: [Solved] /tmp size limitation?

That would explain things, thanks!


The trouble with having an open mind, of course, is that people will insist on coming along and trying to put things in it. --Terry Pratchett

Offline

#4 2015-04-13 20:10:50

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

Re: [Solved] /tmp size limitation?

Offline

Board footer

Powered by FluxBB