Solved

Suse 10.2 /tmp folder filling up after nightly backups

Posted on 2007-03-19
5
446 Views
Last Modified: 2011-09-20
I have a fairly fresh install of Suse 10.2 server with a 500gb hard drive for the OS and 3 500gb hard drives in a raid 5 equaling 1tb for the data. I went for the default partitioning setup since I am new to this and let things rip. Well so far all is good except one thing. I wanted to be sure of having backups so I scheduled a new backup daily going from the main drive to the raid setup nightly. Every single morning the /tmp directory is full of what appears to be temporary backup files. The /tmp directory appears to be a 10gb partition and you would think that would be enough ? The main 500gb is being backed up to the 1tb raid partition.

What am I doing wrong here ? I would think increasing the size would be a band-aid fix and would still fill up in time
0
Comment
Question by:ParanoidOne
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
  • 2
5 Comments
 
LVL 34

Expert Comment

by:Duncan Roe
ID: 18751810
You need to say what is the backup procedure you are using. The fact that it leaves /tmp full every morning suggests to me that it's not actually working at present 0- well written software will delete temporary files on completion but if the temporary resource gets exhausted midway then they may not.
In other words, I suspect your backup process is failing nightly because /tmp fills up.
You can either give /tmp a *lot* more room (try 100GB but it might not be enough) or change the behaviour of your backup package or ditch that package in favour of something that doesn't use /tmp for intermediary storage.
0
 
LVL 34

Expert Comment

by:Duncan Roe
ID: 18751831
You can be as aggressive as you like in flushing /tmp with a root cron job, so you needn't worry about it filling up over time. My concern is that it may be filling up before one instance of a backup can complete.
0
 

Author Comment

by:ParanoidOne
ID: 18752001
Well it was the backup that comes with Suse 10.2, you get to it through Yast2

Duncan,

0
 

Author Comment

by:ParanoidOne
ID: 18752012
Duncan,
     I am also worried that no matter how much I flush the tmp folder, or how much I give /tmp it is always going to fill up quickly. Can anyone suggest a simple to use backup program that will backup into a single tar/gzip file ?
0
 
LVL 34

Accepted Solution

by:
Duncan Roe earned 500 total points
ID: 18754509
I simply back up using tar.
0

Featured Post

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Setting up Secure Ubuntu server on VMware 1.      Insert the Ubuntu Server distribution CD or attach the ISO of the CD which is in the “Datastore”. Note that it is important to install the x64 edition on servers, not the X86 editions. 2.      Power on th…
In the first part of this tutorial we will cover the prerequisites for installing SQL Server vNext on Linux.
Learn how to navigate the file tree with the shell. Use pwd to print the current working directory: Use ls to list a directory's contents: Use cd to change to a new directory: Use wildcards instead of typing out long directory names: Use ../ to move…
How to Install VMware Tools in Red Hat Enterprise Linux 6.4 (RHEL 6.4) Step-by-Step Tutorial
Suggested Courses

738 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question