LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 06-26-2013, 12:16 AM   #1
zato no ichi
LQ Newbie
 
Registered: Feb 2012
Location: sacramento ca
Distribution: mageia 1 and 3
Posts: 17

Rep: Reputation: Disabled
Unhappy not enough space in temp folder


I wanted to copy a dvd in K3b but it says not enough spece in temp folder, I just installed mageia 3 and did a full install how can I allocate more space in the temp folder...any help is GREATLY appreciated.
 
Old 06-26-2013, 01:17 AM   #2
chrism01
LQ Guru
 
Registered: Aug 2004
Location: Sydney
Distribution: Centos 6.8, Centos 5.10
Posts: 17,240

Rep: Reputation: 2324Reputation: 2324Reputation: 2324Reputation: 2324Reputation: 2324Reputation: 2324Reputation: 2324Reputation: 2324Reputation: 2324Reputation: 2324Reputation: 2324
Can you open a terminal and type
Code:
df -h

lsblk
and post the results, using code tags https://www.linuxquestions.org/quest...do=bbcode#code
 
Old 06-26-2013, 01:26 AM   #3
eklavya
Member
 
Registered: Mar 2013
Posts: 619

Rep: Reputation: 136Reputation: 136
Are you really short of space in /tmp? What is the output from
Quote:
df -h
 
Old 06-26-2013, 02:13 AM   #4
zato no ichi
LQ Newbie
 
Registered: Feb 2012
Location: sacramento ca
Distribution: mageia 1 and 3
Posts: 17

Original Poster
Rep: Reputation: Disabled
it is the program K9 copy and K3b that says I don't have enough space, ill try the command line...im kinda new at that...probably will have some issues...ill reply
 
Old 06-26-2013, 02:52 AM   #5
Firerat
Senior Member
 
Registered: Oct 2008
Distribution: Debian Jessie / sid
Posts: 1,471

Rep: Reputation: 444Reputation: 444Reputation: 444Reputation: 444Reputation: 444
It will be creating an iso image in /tmp/
but you probably have space in tmp than the size of the 'project'

as people have said, df -h ( open a terminal and type it )
will tell you how much space, you have not got, in /tmp

What they are looking for is where you have space available

So, look in the column 'Avail' for something greater than 9 GiB ( or just 5 gig if single layer )
in k3b's
Settings --> configure k3b --> misc --> Default Temp.. dir.
Change that to a path that has enough space.

Alternatively, when it comes to Copying the Disk, click the 'image' Tab and navigate to somewhere with enough space.


If you have *lots* of ram then /run/shm/ is a good place, will be nice and fast
Just hope k3b cleans up after itself.
 
Old 06-26-2013, 07:41 AM   #6
jpollard
Senior Member
 
Registered: Dec 2012
Location: Washington DC area
Distribution: Fedora, CentOS, Slackware
Posts: 4,602

Rep: Reputation: 1241Reputation: 1241Reputation: 1241Reputation: 1241Reputation: 1241Reputation: 1241Reputation: 1241Reputation: 1241Reputation: 1241
It also depends on what distribution you are using...

Currently fedora is using a tmpfs for /tmp. And that will limit you to about 1/2 your memory by default. If you have less than 6-8GB of memory you won't be able to copy a DVD - and it may not work even if you do as other things ALSO use tmpfs. You could even deadlock the system as an OOM condition caused by tmpfs cannot be prevented.
 
Old 06-26-2013, 08:12 AM   #7
linuxzilla.com
LQ Newbie
 
Registered: May 2013
Distribution: CentOS, Ubuntu, Debian
Posts: 22

Rep: Reputation: Disabled
Check with the below command:

du -sh *


It will show the disk usage of each file and directory. Please make sure you delete the un-necessary logs or any un-wanted files.
 
Old 06-26-2013, 08:35 AM   #8
Firerat
Senior Member
 
Registered: Oct 2008
Distribution: Debian Jessie / sid
Posts: 1,471

Rep: Reputation: 444Reputation: 444Reputation: 444Reputation: 444Reputation: 444
@jpollard , I always assumed full tmpfs would go to swap

@linuxzilla.com, that will only work for the present working dir
assuming k3b's default /tmp/kde-<usename>
( which is a lame tmp filename imo )

Code:
sudo du -h /tmp/
also need root to get a clear picture, else it tells you nothing about what is using actually using space

du is handy, but if you want a real nice, interactive view of disk use then ncdu works a treat.

Anyway, back to du and deleting logs and things
Please read #4 in this thread
Do you think they are ready for deleting random things?
 
Old 06-26-2013, 10:11 AM   #9
jpollard
Senior Member
 
Registered: Dec 2012
Location: Washington DC area
Distribution: Fedora, CentOS, Slackware
Posts: 4,602

Rep: Reputation: 1241Reputation: 1241Reputation: 1241Reputation: 1241Reputation: 1241Reputation: 1241Reputation: 1241Reputation: 1241Reputation: 1241
Quote:
Originally Posted by Firerat View Post
@jpollard , I always assumed full tmpfs would go to swap
Yes - but it is still limited to half your ram by default.

Unfortunately there are multiple tmpfs mounts ... so the total is almost guaranteed to overload swap as each are given half the ram.

On the plus side, it does dynamically change size as files are created/deleted.

But it is still relatively easy to deadlock the system. For a single mount to do it though requires the size to be the entire system memory... For multiple, it only takes two.

Now if you have LOTS of swap (say 8GB) then it becomes quite hard to deadlock using the default sizes. And if you then give the /tmp tmpfs mount 4GB, then it should copy the DVD.

Of course, now you get into issues of how much swapping might go on that could cause a failure of the copy - thrashing swap is never a good thing to happen.
 
Old 06-26-2013, 08:22 PM   #10
zato no ichi
LQ Newbie
 
Registered: Feb 2012
Location: sacramento ca
Distribution: mageia 1 and 3
Posts: 17

Original Poster
Rep: Reputation: Disabled
I appreciate the input, I saw that the tmp folder is only 498Mib so I made the default dir home...I tried to make a folder but the system says I do not have permission?.so I made a new folder in the /home/video/and named it dvd....when I made it the default output dir in K9 copy it now works....you telling me that info helped me piece it together on my own, I thought I had to make the tmp dir bigger...thank you all for helping me over a learning bump...I am really trying to be a good linux guy..takes time though..
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
writing to temp folder fachhoch@gmail.com Linux - Newbie 1 05-14-2012 06:14 PM
Delete Temp Folder on Shutdown? Mr.Gosh SUSE / openSUSE 6 03-29-2010 09:33 PM
Fishy files in temp folder freetommy33 Linux - Security 4 03-03-2009 09:55 AM
Wine temp folder saejazz Linux - Software 1 07-28-2008 01:48 AM
Temp Folder tfrye Linux - General 3 04-18-2001 09:33 AM


All times are GMT -5. The time now is 06:44 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration