Re: how to resize /tmp?



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
.



Relevant Pages

  • Re: [Fwd: Re: [opensuse] Boot magic]
    ... Since I installed some milestones I can no longer boot the partition I want. ... I wanted to the view the progression in OpenSuse and I had a free partition so ... I installed on part3 milestone 6 with its own boot directory in the rootdir. ...
    (SuSE)
  • Re: [opensuse] How to partitioning in unallocated disk space
    ... Grub Legacy in openSUSE is ... I recommend using Ubuntu to first create a new logical partition at the end of the extended space. ... The partitioner in the openSUSE installer is competent to do all of what follows in preparation for installing the OS as the first major stage of the overall installation procedure. ...
    (SuSE)
  • [opensuse] boot loader problem
    ... Prior to installing openSUSE 11.1 I decided to upgrade to a larger hard drive. ... I moved to a 500G drive and made one 120G partition on this drive. ... and ntfsresize I moved Windows XP into this partition. ... I was able to boot into Windows 7 after the install. ...
    (SuSE)
  • Re: [opensuse] Re: Installation Woes
    ... I install openSUSE Factory on about a dozen of them, representing a decent cross section of old hardware that should still be viable with recent and upcoming releases, and file bugs when I find things that used to work work no longer. ... But, ATI 200 is not in my inventory, and AFAICT, was never a big seller, nothing like Intel onboard video. ... Kubuntu partition for inclusion in Grub. ... getting *buntu into the openSUSE Grub menu requires no more than adding two short lines to a plain text config file (with any plain text ...
    (SuSE)
  • Re: Re: Ex3 Partition Resize program...help!
    ... >> the manual and thought it would resize partition size for me as well as ... >> with fdisk after using the program). ... And I was decreasing filesystem size back then. ...
    (alt.os.linux)