Re: how to resize /tmp?
- From: Ulick Magee <ulickatmaildotcom@xxxxxxxxxxxxxxx>
- Date: Sun, 20 Feb 2011 20:23:48 +0000
On 20/02/11 18:02, Nebojsa Subanovic wrote:
Hi folks!
I have OpenSUSE 11.3 and need to resize a /tmp file. Actually, I have to add
5GB to it.
Is there any easy way to do it?
Do you mean that the /tmp partition is running out of space?
The default setup is to have one partition for /home and another for /
(in other words, everything else including /tmp shares the rest of the
disk space.)
If you have created your own /tmp partition then you presumably had a
good reason to do that and you presumably would also know how to manage
and resize partitions.
So I'm a bit confused. Can you let us know:
1. Is /tmp filling up? What is filling it up? If it is log files then
you probably have some other problem that needs fixing, and allocating
more space to /tmp won't solve it, because sooner or later it'll fill up
again.
2. What is the output of the following two commands:
mount
and
df -h
?
3. If the problem is that you have a very large logfile in /tmp and you
need to shrink that file, how you do that depends on what program is
generating the file and whether you can take that program down
temporarily, and whether a reboot is possible (not a problem on a home
machine but can be a problem on a server.) e.g. some programs such as
Oracle are generate logfiles many GB in size over time, some of these
files can be safely trimmed with the db running but some will need the
database to be stopped temporarily.
--
Ulick Magee
Free software and free formats for free information for free people.
LibreOffice for Windows/OSX/Linux: www.documentfoundation.org/download
openSUSE Linux: http://en.opensuse.org
.
- Follow-Ups:
- Re: how to resize /tmp?
- From: Nebojsa Subanovic
- Re: how to resize /tmp?
- References:
- how to resize /tmp?
- From: Nebojsa Subanovic
- how to resize /tmp?
- Prev by Date: Re: how to resize /tmp?
- Next by Date: Re: ID not saved
- Previous by thread: Re: how to resize /tmp?
- Next by thread: Re: how to resize /tmp?
- Index(es):
Relevant Pages
|