Page 1 of 2 12 LastLast
Results 1 to 10 of 12

Thread: Low disk space what can i delete?

  1. #1

    Default Low disk space what can i delete?

    I have about 50GB of space for /root,but after updates i now have 1.3GB left.

    How can i free some space,what can i delete on root partition?

    Do updates take so much space?

  2. #2
    Join Date
    Jun 2008
    Location
    Berlin
    Posts
    2,108

    Default Re: Low disk space what can i delete?

    Do updates take so much space?
    No, they do not - I have a 15GB-/-partition and still have 5GB (or 33%) free space. Before freeing diskspace by deleting stuff I would try to find out what is causing this.

    Usual culprits for overflowing directories are /tmp and /var/log.

  3. #3

    Default Re: Low disk space what can i delete?

    Hello Tnlgg,

    Quote Originally Posted by Tnlgg
    I have about 50GB of space for /root,but after updates i now have 1.3GB left.
    Do you mean the folder /root or the root partition (/)?
    Where did I put my coffee cup?
    dir -R /home/* | grep "coffee cup"

  4. #4
    Join Date
    Jun 2008
    Location
    Netherlands
    Posts
    16,072

    Default Re: Low disk space what can i delete?

    And further to Edward_Iii's question: do you have a separate /home (or other) partition(s)? Because when you haven't all that space could be from your pictures/movies/rubbish.
    But as you do not tell very much,, I guess you should look at all answers here with distrust because they where all given on the base of much too less (or maybe even false) information.

    Here is another guess: check /tmp.
    Henk van Velden

  5. #5

    Default Re: Low disk space what can i delete?

    The Partition /.

    I looked at /tmp folder & its 36GB big,can i delete all the files there,is it save to do that?

  6. #6
    Join Date
    Oct 2008
    Location
    near Munich
    Posts
    514

    Default Re: Low disk space what can i delete?

    Use Yast -> sysconfig Editor: System -> Cron

    Activate the cron script, to delete tmp files on boot or after x days.

    You should also have a look at /var/tmp, same problem there.

  7. #7
    Join Date
    Aug 2010
    Location
    Chicago suburbs
    Posts
    5,305
    Blog Entries
    3

    Default Re: Low disk space what can i delete?

    If those files are not currently being used, then it is safe.

    If you are not certain, then reboot to failsafe mode (where the GUI won't be running), and you can delete most stuff in "/tmp". Then reboot to the normal mode with your space recovered.

    Or go into Yast --> System --> /etc/sysconfig --> system --> cron
    and you can set CLEAR_TMP_DIRS_AT_BOOTUP
    so that "/tmp" will be automatically cleared on reboot before starting the GUI.
    opensuse factory; KDE 4.14.1 (main desktop);
    opensuse 13.1, KDE 4.11.5 (laptop);

  8. #8
    Join Date
    Jun 2008
    Location
    Netherlands
    Posts
    16,072

    Default Re: Low disk space what can i delete?

    Quote Originally Posted by Tnlgg View Post
    The Partition /.

    I looked at /tmp folder & its 36GB big,can i delete all the files there,is it save to do that?
    No, not by simply doing it. Use The method Fruchtratte decribes above. You would think that even setting it to clean allways completely at boot is OK. I do it for year, never had any problem with it (and there shouldn't be problems clearing /tmp at boot, it is as intended, many have it in RAM).

    Maybe looking in /tmp to see what all those files are might be of interest to you. Normaly applications should remove files there when they finish, thus it points to a buggy program imho.
    Henk van Velden

  9. #9
    Join Date
    Jun 2008
    Location
    Berlin
    Posts
    2,108

    Default Re: Low disk space what can i delete?

    Quote Originally Posted by hcvv
    (and there shouldn't be problems clearing /tmp at boot, it is as intended, many have it in RAM)
    Absolutely. The content of /tmp actually does only matter for the running session. I also agree that 36GB in /tmp is *highly* unusual; normally a few MB is plenty already (right now I have 1.3MB in my /tmp).

  10. #10

    Default AW: Re: Low disk space what can i delete?

    Since overflowing tmp-dirs are apparently a wide spread problem i recently opened a feature request at openFATE to set CLEAR_TMP_DIRS_AT_BOOTUP to yes as default. I would like to see you going there and vote or discuss it.

Page 1 of 2 12 LastLast

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •