Page 1 of 3 123 LastLast
Results 1 to 10 of 21

Thread: No space on /home !!!

  1. #1
    Join Date
    Jan 2009
    Location
    France
    Posts
    30

    Default No space on /home !!!

    Hi there,


    For about a month nowI got that message « low space in home folder.
    Cleaned my folder. It came back, and now the system cannot boot due to lack of space !!!

    Ran ncdu on /and noticed there was something with var, ran ncdu on /var got the following :

    4.6 GiB [##########] /log
    523.3 MiB [# ] /adm
    494.7 MiB [# ] /lib
    376.1 MiB [ ] /cache
    85.6 MiB [ ] /spool
    30.7 MiB [ ] /tmp
    16.0 KiB [ ] /run.runmove~
    4.0 KiB [ ] /yp
    e 4.0 KiB [ ] /opt
    e 4.0 KiB [ ] /lock.lockmove~
    e 4.0 KiB [ ] /gdm
    4.0 KiB [ ] /games
    e 4.0 KiB [ ] /crash
    4.0 KiB [ ] .updated
    @ 0.0 B [ ] lock
    @ 0.0 B [ ] agentx
    @ 0.0 B [ ] mail
    @ 0.0 B [ ] run


    Does the same on /log:here is what I got (part of it :
    /..
    2.2 GiB [##########] messages
    2.2 GiB [######### ] warn
    22.8 MiB [ ] /updateTestcase-2020-01-20-17-05-59
    22.7 MiB [ ] /updateTestcase-2020-01-17-11-45-46
    12.0 MiB [ ] /YaST2
    10.0 MiB [ ] pk_backend_zypp-1
    5.7 MiB [ ] boot.log
    5.6 MiB [ ] zypper.log
    4.4 MiB [ ] snapper.log
    3.9 MiB [ ] /zypp
    What am I to do ?
    I’m on gnome, leap 15.1, kernel 4.12
    I went into files and folders and found out :
    - there are two kernels : 4.15 and 4.16 that were downloaded when I used packagekit for updates. Need to delete these . But in what folder are there ???


    - Though I work with gnome, kde*plasma was installed years ago as I needed astronomy programs (kstar, stellarium) … how to softly uninstall that ?


    - Years ago, as I needed a program , 32 bits files were installed, though the whole system is in 64 bits. How to delete these withut disturbing the whole system ?




    Thanks a lot.













  2. #2
    Join Date
    Jun 2008
    Location
    San Diego, Ca, USA
    Posts
    11,843
    Blog Entries
    2

    Default Re: No space on /home !!!

    If this system is not an upgrade and installed BTRFS,
    You are likely running out of disk space due to an accumulation of snapshots...
    Open snapper and remove images you don't think you'll need.

    Starting in 15.1,
    A big change was made to the default layout,
    Instead of separate partitions for root and /home,
    it's now all on one big partition (but separate volumes) so
    Although snapshots are only of parts in /, your whole system's disk usage is affected.

    TSU
    Beginner Wiki Quickstart - https://en.opensuse.org/User:Tsu2/Quickstart_Wiki
    Solved a problem recently? Create a wiki page for future personal reference!
    Learn something new?
    Attended a computing event?
    Post and Share!

  3. #3
    Join Date
    Feb 2010
    Location
    Germany
    Posts
    2,752

    Question Re: No space on /home !!!

    @mahanand:

    We need to know how much free disk space is present:
    • By simply inspecting /etc/fstab you should be able to determine if, the system partition is a Btrfs partition, or not.
    • If Btrfs then, with the user “root”, “btrfs filesystem df /” will indicate if there's a free space issue with the root partition, or not.
    • If not Btrfs then “df -h /” will indicate the root partition's free space.

  4. #4
    Join Date
    Aug 2010
    Location
    Chicago suburbs
    Posts
    13,168
    Blog Entries
    3

    Default Re: No space on /home !!!

    Looking on my system, I see that "/var/log" is only using 200M.

    If I look just at "messages*, there is a file "/var/log/messages" and there are bunch of older files with names such as "messages-20200124.xz". Those files are compressed version of earlier "messages" version.

    It is usually safe to remove "/var/log/*.xz". That deletes older log files. Unless you need to examine them for problems, you aren't likely to need them. That could free up some space fairly quickly, unless those files are also in "btrfs" snapshots. Removing some unneeded older snapshots can also clear up space.
    openSUSE Leap 15.1; KDE Plasma 5;
    testing Leap 15.2Alpha

  5. #5
    Join Date
    Jun 2008
    Location
    Groningen, Netherlands
    Posts
    20,306
    Blog Entries
    14

    Default Re: No space on /home !!!

    Just to make sure what we're talking about: Please show
    Code:
    cat /etc/fstab
    ° Appreciate my reply? Click the star and let me know why.

    ° Perfection is not gonna happen. No way.

    http://en.opensuse.org/User:Knurpht
    http://nl.opensuse.org/Gebruiker:Knurpht

  6. #6
    Join Date
    Jan 2009
    Location
    France
    Posts
    30

    Default Re: No space on /home !!!

    Quote Originally Posted by tsu2 View Post
    If this system is not an upgrade and installed BTRFS,
    You are likely running out of disk space due to an accumulation of snapshots...
    Open snapper and remove images you don't think you'll need.

    Starting in 15.1,
    A big change was made to the default layout,
    Instead of separate partitions for root and /home,
    it's now all on one big partition (but separate volumes) so
    Although snapshots are only of parts in /, your whole system's disk usage is affected.

    TSU
    Thanks for your reply.
    my system is not an upgrade and is not btrfs.
    checked space and got this :

    Filesystem Size Used Avail Use% Mounted on
    /dev/sda1 20G 20G 0 100% /

  7. #7
    Join Date
    Jan 2009
    Location
    France
    Posts
    30

    Default Re: No space on /home !!!

    Quote Originally Posted by Knurpht View Post
    Just to make sure what we're talking about: Please show
    Code:
    cat /etc/fstab
    here it is :

    /dev/disk/by-id/ata-ST500DM002-1BD142_W2AFVHBX-part1 / ext4 acl,user_xattr 1 1
    /dev/disk/by-id/ata-ST500DM002-1BD142_W2AFVHBX-part2 /home ext4 defaults 1 2

  8. #8
    Join Date
    Jan 2009
    Location
    France
    Posts
    30

    Default Re: No space on /home !!!

    Quote Originally Posted by nrickert View Post
    Looking on my system, I see that "/var/log" is only using 200M.

    If I look just at "messages*, there is a file "/var/log/messages" and there are bunch of older files with names such as "messages-20200124.xz". Those files are compressed version of earlier "messages" version.

    It is usually safe to remove "/var/log/*.xz". That deletes older log files. Unless you need to examine them for problems, you aren't likely to need them. That could free up some space fairly quickly, unless those files are also in "btrfs" snapshots. Removing some unneeded older snapshots can also clear up space.
    you are right. They are 2 folders with a size of 2.2 Gib each as you can see in firts post. I keep on deleting them but to no avail, each time they come back !

  9. #9
    Join Date
    Jun 2008
    Location
    Groningen, Netherlands
    Posts
    20,306
    Blog Entries
    14

    Default Re: No space on /home !!!

    So, the title is wrong, the problem is not /home, rather / . To make sure:
    Code:
    du -h --max-depth=1 /
    du -h --max-depth=1 /home
    And please use CODE tags, the # in the editor to post output.
    ° Appreciate my reply? Click the star and let me know why.

    ° Perfection is not gonna happen. No way.

    http://en.opensuse.org/User:Knurpht
    http://nl.opensuse.org/Gebruiker:Knurpht

  10. #10
    Join Date
    Jan 2009
    Location
    France
    Posts
    30

    Default Re: No space on /home !!!

    Quote Originally Posted by Knurpht View Post
    So, the title is wrong, the problem is not /home, rather / . To make sure:
    Code:
    du -h --max-depth=1 /
    du -h --max-depth=1 /home
    And please use CODE tags, the # in the editor to post output.
    Here is what I got :
    Code:
     du -h --max-depth=1 /
    0       /sys
    279G    /home
    6.1G    /var
    12G     /usr
    16K     /lost+found
    70M     /tmp
    1.3G    /lib
    8.0K    /.config
    4.0K    /.w3m
    38M     /etc
    0       /dev
    396M    /opt
    9.9M    /sbin
    1.4M    /srv
    du: cannot access '/run/user/1000/gvfs': Permission denied
    475M    /run
    8.0K    /mnt
    du: cannot access '/proc/5527/task/5527/fd/4': No such file or directory
    du: cannot access '/proc/5527/task/5527/fdinfo/4': No such file or directory
    du: cannot access '/proc/5527/fd/3': No such file or directory
    du: cannot access '/proc/5527/fdinfo/3': No such file or directory
    0       /proc
    48M     /root
    1.7M    /bin
    4.0K    /selinux
    108M    /boot
    12M     /lib64
    299G    /
    
    
    du -h --max-depth=1 /home
    33M     /home/papinou
    16K     /home/lost+found
    279G    /home/papaya
    279G    /home
    Last edited by Knurpht; 25-Jan-2020 at 07:15.

Page 1 of 3 123 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
  •