Results 1 to 10 of 10

Thread: Root Partition Full How to Free Space

  1. #1

    Unhappy Root Partition Full How to Free Space

    My root partition is full. How do I free some space? I have searched on Google, but most of the solutions have something to do with a command using apt-get, but because I am using YaST as my package manager, I believe that the command I need will have something to do with YaST.

  2. #2
    Join Date
    Oct 2008
    Location
    Birmingham. AL
    Posts
    858

    Default Re: Root Partition Full How to Free Space

    Quote Originally Posted by Paranelsus View Post
    My root partition is full. How do I free some space? I have searched on Google, but most of the solutions have something to do with a command using apt-get, but because I am using YaST as my package manager, I believe that the command I need will have something to do with YaST.
    Do you have one big partition, or do you have (at least) separate root and /home partitions? Can you boot into the machine? Need more info.

    FYI, Yast is the configuration tool for Opensuse. Among other things, it can be used to install software, which is what apt-get does for Debian-based distros (including Ubuntu).

  3. #3
    Join Date
    Jun 2008
    Location
    Groningen, Netherlands
    Posts
    19,861
    Blog Entries
    14

    Default Re: Root Partition Full How to Free Space

    Empty the trashcan. That should free some space.
    You could also take a look at /tmp.

    To help you, we need some output of commands:

    df -h

    du -h /tmp | tail -1
    ° Appreciate my reply? Click the star and let me know why.

    ° Perfection is not gonna happen. No way.

    https://en.opensuse.org/openSUSE:Board#Members
    http://en.opensuse.org/User:Knurpht
    http://nl.opensuse.org/Gebruiker:Knurpht

  4. #4

    Default Re: Root Partition Full How to Free Space

    Quote Originally Posted by smpoole7 View Post
    Do you have one big partition, or do you have (at least) separate root and /home partitions? Can you boot into the machine? Need more info.

    FYI, Yast is the configuration tool for Opensuse. Among other things, it can be used to install software, which is what apt-get does for Debian-based distros (including Ubuntu).
    My system is split into separate partitions for "/home" and "/".

    The command that I have found that the Debian-based distributions use to free space in the root partitions is
    Code:
    apt-get clean
    .

  5. #5

    Default Re: Root Partition Full How to Free Space

    Quote Originally Posted by Knurpht View Post
    Empty the trashcan. That should free some space.
    You could also take a look at /tmp.

    To help you, we need some output of commands:

    df -h

    du -h /tmp | tail -1
    df - h produces
    Code:
    Filesystem            Size  Used Avail Use% Mounted on
    /dev/sda6              20G   19G  186M 100% /
    udev                  1.5G  124K  1.5G   1% /dev
    /dev/sda7              48G  5.9G   39G  14% /home
    The size of "/tmp" is 902MiB, and smpoole7, yes, my system is bootable.

  6. #6
    Join Date
    Jun 2008
    Location
    The English Lake District. UK - GMT/BST
    Posts
    36,733
    Blog Entries
    20

    Default Re: Root Partition Full How to Free Space

    Leap 15.1_KDE
    My Articles Was I any help? If yes: Click the star below

  7. #7
    Join Date
    Jun 2008
    Location
    The English Lake District. UK - GMT/BST
    Posts
    36,733
    Blog Entries
    20

    Default Re: Root Partition Full How to Free Space

    After that you may want to look at why you have used so much space up.

    Perhaps check
    Code:
    du -h /var/log
    Leap 15.1_KDE
    My Articles Was I any help? If yes: Click the star below

  8. #8

    Lightbulb Re: Root Partition Full How to Free Space

    du -h /var/log
    Code:
    4.0K    /var/log/krb5
    360K    /var/log/ConsoleKit
    4.0K    /var/log/apparmor/reports-archived
    4.0K    /var/log/apparmor/reports
    4.0K    /var/log/apparmor/reports-exported
    16K     /var/log/apparmor
    2.5M    /var/log/cups
    4.0K    /var/log/news
    9.1M    /var/log/YaST2
    276K    /var/log/mythtv
    464K    /var/log/audit
    420K    /var/log/zypp
    8.0K    /var/log/smpppd
    236K    /var/log/apache2
    8.9G    /var/log
    I was also told that old kernels would take up space. How would I remove them?

  9. #9
    platinum NNTP User

    Default Re: Root Partition Full How to Free Space

    > 8.9G /var/log

    some of the log files in there are taking FAR too much space..
    my _guess_ is a massive file (or files) named "firewall" and/or
    "messages" and/or "warn" and/or "zypper.log"..

    there are ways to make those record less, and have the system compact
    the files, and throw them out after xx days...

    those way are discussed in previous threads in this forum as well as
    the official documentation..

    --
    platinum

  10. #10

    Talking Re: Root Partition Full How to Free Space

    Quote Originally Posted by platinum View Post
    > 8.9G /var/log

    some of the log files in there are taking FAR too much space..
    my _guess_ is a massive file (or files) named "firewall" and/or
    "messages" and/or "warn" and/or "zypper.log"..

    there are ways to make those record less, and have the system compact
    the files, and throw them out after xx days...

    those way are discussed in previous threads in this forum as well as
    the official documentation..

    --
    platinum
    It seems as if I had an 8GB file named NetworkManager[timestamp]

    Thank you for your help.

Tags for this Thread

Posting Permissions

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