LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
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-25-2013, 11:16 PM   #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, 12:17 AM   #2
chrism01
LQ Guru
 
Registered: Aug 2004
Location: Sydney
Distribution: Rocky 9.2
Posts: 18,356

Rep: Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751
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, 12:26 AM   #3
eklavya
Member
 
Registered: Mar 2013
Posts: 636

Rep: Reputation: 142Reputation: 142
Are you really short of space in /tmp? What is the output from
Quote:
df -h
 
Old 06-26-2013, 01: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, 01:52 AM   #5
Firerat
Senior Member
 
Registered: Oct 2008
Distribution: Debian sid
Posts: 2,683

Rep: Reputation: 783Reputation: 783Reputation: 783Reputation: 783Reputation: 783Reputation: 783Reputation: 783
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, 06:41 AM   #6
jpollard
Senior Member
 
Registered: Dec 2012
Location: Washington DC area
Distribution: Fedora, CentOS, Slackware
Posts: 4,912

Rep: Reputation: 1513Reputation: 1513Reputation: 1513Reputation: 1513Reputation: 1513Reputation: 1513Reputation: 1513Reputation: 1513Reputation: 1513Reputation: 1513Reputation: 1513
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, 07: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, 07:35 AM   #8
Firerat
Senior Member
 
Registered: Oct 2008
Distribution: Debian sid
Posts: 2,683

Rep: Reputation: 783Reputation: 783Reputation: 783Reputation: 783Reputation: 783Reputation: 783Reputation: 783
@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, 09:11 AM   #9
jpollard
Senior Member
 
Registered: Dec 2012
Location: Washington DC area
Distribution: Fedora, CentOS, Slackware
Posts: 4,912

Rep: Reputation: 1513Reputation: 1513Reputation: 1513Reputation: 1513Reputation: 1513Reputation: 1513Reputation: 1513Reputation: 1513Reputation: 1513Reputation: 1513Reputation: 1513
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, 07: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



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 05:14 PM
Delete Temp Folder on Shutdown? Mr.Gosh SUSE / openSUSE 6 03-29-2010 08:33 PM
Fishy files in temp folder freetommy33 Linux - Security 4 03-03-2009 08:55 AM
Wine temp folder saejazz Linux - Software 1 07-28-2008 12:48 AM
Temp Folder tfrye Linux - General 3 04-18-2001 08:33 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 05:45 AM.

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
Open Source Consulting | Domain Registration