Page 1 of 10 123 ... LastLast
Results 1 to 10 of 99

Thread: Root partion is almost full 99 MB left

  1. #1

    Default Root partion is almost full 99 MB left

    Today while doing zypper dup, a message popped up, Root partion almost full.

    After reboot I got that message again, stating 99 Mib left.

    I googled and searched on this forum, but all topic are years old, and I could not find anything about cleaning up the root partition.

    Code:
    Disk /dev/sda: 931,51 GiB, 1000204886016 bytes, 1953525168 sectors
    Disk model: WDC WD10EZEX-08W 
    Units: sectors of 1 * 512 = 512 bytes 
    Sector size (logical/physical): 512 bytes / 4096 bytes 
    I/O size (minimum/optimal): 4096 bytes / 4096 bytes 
    Disklabel type: gpt 
    Disk identifier: 9B2B0727-8EF2-458A-8CD7-5E13FF3E9BCB 
    
    Device  Start       End   Sectors  SizeType
    /dev/sda1     2048    1085439    1083392   529M Windows recovery environment 
    /dev/sda2  1085440    1288191     202752    99M EFI System 
    /dev/sda3  1288192    1320959      32768    16M Microsoft reserved 
    /dev/sda4  1320960 1953523711 1952202752 930,9G Microsoft basic data 
    
    
    Disk /dev/sdb: 931,51 GiB, 1000204886016 bytes, 1953525168 sectors
    Disk model: ST1000DM010-2EP1 
    Units: sectors of 1 * 512 = 512 bytes 
    Sector size (logical/physical): 512 bytes / 4096 bytes 
    I/O size (minimum/optimal): 4096 bytes / 4096 bytes 
    Disklabel type: gpt 
    Disk identifier: 9BBDB9A9-4412-4799-BC16-933C59E8ACF6 
    
    Device     Start       End   Sectors  SizeType
    /dev/sdb1        2048    1026047    1024000   500M EFI System 
    /dev/sdb2     1026048   52699135   51673088  24,6G Linux filesystem 
    /dev/sdb3    54407168 1949329407 1894922240 903,6G Linux filesystem 
    /dev/sdb4  1949329408 1953525134    4195727     2G Linux swap
    

    (sda = win10, sdb = Tumbleweed)

  2. #2
    Join Date
    Aug 2010
    Location
    Chicago suburbs
    Posts
    15,592
    Blog Entries
    3

    Default Re: Root partion is almost full 99 MB left

    I assume that "/dev/sdb2" is the root partition. At 24.6G, that's a bit tight, especially with Tumbleweed. Are you using "btrfs" or some other file system?

    Is "/tmp" a directory under root, or is it mounted as "tmpfs"?

    If it is a regular directory, look for files there that can be deleted to clear up space.

    Otherwise look at "/var/log". As a quick fix you can try:
    Code:
    cd /var/log
    rm *.xz
    Those are archived old log files, and removing them might clear up a bunch of space.
    openSUSE Leap 15.3; KDE Plasma 5.18.6;

  3. #3
    Join Date
    Jan 2014
    Location
    Erlangen
    Posts
    3,141

    Default Re: Root partion is almost full 99 MB left

    From your newer posts I conclude you are mutilating the excellent performance of Tumbleweed on AMD Ryzen 5 2600 / AsRock B450M Pro4 by the following:

    1. Using Hard disks which is PITA. Get a NVMe 4x SSD instead: Any brand will be fine. As a reference use SAMSUNG 970 EVO Plus SSD 2TB - M.2 NVMe Interface

    2. ignoring disk space problems. Increase partition size and watch for UNALLOCATED space:

    Code:
    erlangen:~ # btrfs filesystem usage -T / 
    Overall: 
        Device size:                  51.69GiB 
        Device allocated:             42.04GiB 
        Device unallocated:            9.65GiB 
        Device missing:                  0.00B 
        Used:                         32.37GiB 
        Free (estimated):             17.64GiB      (min: 17.64GiB) 
        Free (statfs, df):            17.64GiB 
        Data ratio:                       1.00 
        Metadata ratio:                   1.00 
        Global reserve:              100.61MiB      (used: 0.00B) 
        Multiple profiles:                  no 
    
                      Data     Metadata System               
    Id Path           single   single   single   Unallocated 
    -- -------------- -------- -------- -------- ----------- 
     1 /dev/nvme0n1p3 39.01GiB  3.00GiB 32.00MiB     9.65GiB 
    -- -------------- -------- -------- -------- ----------- 
       Total          39.01GiB  3.00GiB 32.00MiB     9.65GiB 
       Used           31.01GiB  1.36GiB 16.00KiB             
    erlangen:~ #
    For well balanced hardware components compare to:
    Code:
    erlangen:~ # inxi -Fm                               
    System:    Host: erlangen Kernel: 5.14.5-1-default x86_64 bits: 64 Console: tty pts/1 Distro: openSUSE Tumbleweed 20210921  
    Machine:   Type: Desktop Mobo: ASRock model: Z170 Pro4S serial: M86-64000700034 UEFI: American Megatrends v: P3.50  
               date: 06/23/2016  
    Memory:    RAM:total: 31.18 GiB used: 3.19 GiB (10.2%)  
               Array-1:capacity: 64 GiB slots: 4 EC: None  
               Device-1: ChannelA-DIMM0 size: No Module Installed  
               Device-2: ChannelA-DIMM1 size: 16 GiB speed: 2133 MT/s  
               Device-3: ChannelB-DIMM0 size: No Module Installed  
               Device-4: ChannelB-DIMM1 size: 16 GiB speed: 2133 MT/s  
    CPU:       Info: Quad Core model: Intel Core i7-6700K bits: 64 type: MT MCP cache:L2: 8 MiB  
               Speed: 800 MHz min/max: 800/4200 MHz Core speeds (MHz):1: 800 2: 800 3: 800 4: 1663 5: 801 6: 1190 7: 918 8: 800  
    Graphics:  Device-1: AMD Lexa PRO [Radeon 540/540X/550/550X / RX 540X/550/550X] driver: amdgpu v: kernel  
               Display:server: X.Org 1.20.13 driver:loaded: amdgpu,ati unloaded: fbdev,modesetting,vesa  
               resolution: 3840x2160~60Hz  
               OpenGL:renderer: Radeon RX550/550 Series (POLARIS12 DRM 3.42.0 5.14.5-1-default LLVM 12.0.1) v: 4.6 Mesa 21.2.1  
    Audio:     Device-1: Intel 100 Series/C230 Series Family HD Audio driver: snd_hda_intel  
               Device-2: AMD Baffin HDMI/DP Audio [Radeon RX 550 640SP / RX 560/560X] driver: snd_hda_intel  
               Sound Server-1: ALSA v: k5.14.5-1-default running: yes  
               Sound Server-2: PulseAudio v: 15.0 running: yes  
               Sound Server-3: PipeWire v: 0.3.36 running: yes  
    Network:   Device-1: Intel Ethernet I219-V driver: e1000e  
               IF: eth0 state: up speed: 1000 Mbps duplex: full mac: d0:50:99:9a:e1:50  
    Drives:    Local Storage:total: 6.38 TiB used: 1.55 TiB (24.3%)  
               ID-1: /dev/nvme0n1 vendor: Samsung model: SSD 950 PRO 512GB size: 476.94 GiB  
               ID-2: /dev/sda vendor: Crucial model: CT2000BX500SSD1 size: 1.82 TiB  
               ID-3: /dev/sdb vendor: Western Digital model: WD40EZRX-22SPEB0 size: 3.64 TiB  
               ID-4: /dev/sdc vendor: Samsung model: SSD 850 EVO 500GB size: 465.76 GiB  
    Partition: ID-1: / size: 51.69 GiB used: 32.47 GiB (62.8%) fs: btrfs dev: /dev/nvme0n1p3  
               ID-2: /boot/efi size: 99.8 MiB used: 8.3 MiB (8.3%) fs: vfat dev: /dev/nvme0n1p1  
               ID-3: /home size: 406.34 GiB used: 289.91 GiB (71.3%) fs: ext4 dev: /dev/nvme0n1p4  
               ID-4: /opt size: 51.69 GiB used: 32.47 GiB (62.8%) fs: btrfs dev: /dev/nvme0n1p3  
               ID-5: /var size: 51.69 GiB used: 32.47 GiB (62.8%) fs: btrfs dev: /dev/nvme0n1p3  
    Swap:      Alert: No Swap data was found.  
    Sensors:   System Temperatures:cpu: 34.0 C mobo: 35.0 C gpu: amdgpu temp: 53.0 C  
               Fan Speeds (RPM):fan-1: 0 fan-2: 507 fan-3: 0 fan-4: 0 fan-5: 0 fan-6: 0 gpu: amdgpu fan: 982  
    Info:      Processes: 293 Uptime: 1h 07m Shell: Bash inxi: 3.3.03  
    erlangen:~ #
    AMD Athlon 4850e (2009), openSUSE 13.1, KDE 4, Intel i3-4130 (2014), i7-6700K (2016), i5-8250U (2018), AMD Ryzen 5 3400G (2020), openSUSE Tumbleweed, KDE Plasma 5

  4. #4
    Join Date
    Sep 2014
    Location
    Germany
    Posts
    889

    Default Re: Root partion is almost full 99 MB left

    You did not tell us to which Tumbleweed version you were updating. However if you updated to 20210920 probably most of your system was updated.

    On my system zypper is configured to first download all new packages to its cache and the install them (that might be the default setting). In my case that were approximately 3000 packages which had to be cached.

    If your root filesystem is only 24 GiB then that could become a problem. You have several options to avoid this

    • Increase the size of your root file system (40 GiB with ext4, probably more with btrfs an snapshots enabled).
    • Move your zypper cache to a device with sufficient space (e.g. i keep my zypper cache on my NAS).
    • Do not install recommended packages (e.g. my system takes 14 GiB with plasma5 as DE).


    Regards

    susejunky

  5. #5

    Default Re: Root partion is almost full 99 MB left

    [QUOTE=karlmistelberger;3068637]From your newer posts I conclude you are mutilating the excellent performance of Tumbleweed on AMD Ryzen 5 2600 / AsRock B450M Pro4 by the following:

    1. Using Hard disks which is PITA. Get a NVMe 4x SSD instead: Any brand will be fine. As a reference use SAMSUNG 970 EVO Plus SSD 2TB - M.2 NVMe Interface

    2. ignoring disk space problems. Increase partition size and watch for UNALLOCATED space:




    If you send me 250 euro I will This reminds me why I went for two harddisk.

    I have been thinking of getting an ssd for tumbleweed though.

    Code:
     inxi -Fm 
    System:    Host: linux-2ls4 Kernel: 5.14.2-1-default x86_64 bits: 64 Desktop: KDE Plasma 5.22.5  
               Distro: openSUSE Tumbleweed 20210916  
    Machine:   Type: Desktop Mobo: ASRock model: B450M Pro4 serial: <superuser required> UEFI: American Megatrends v: P3.60  
               date: 07/31/2019  
    Memory:    RAM:total: 15.54 GiB used: 5.96 GiB (38.4%)  
               RAM Report:permissions: Unable to run dmidecode. Root privileges required.  
    CPU:       Info: 6-Core model: AMD Ryzen 5 2600 bits: 64 type: MT MCP cache:L2: 3 MiB  
               Speed: 1375 MHz min/max: 1550/3400 MHz Core speeds (MHz):1: 1375 2: 1375 3: 1378 4: 1380 5: 1375 6: 1374 7: 1373  
               8: 1367 9: 1375 10: 1373 11: 1375 12: 1371  
    Graphics:  Device-1: Advanced Micro Devices [AMD/ATI] Ellesmere [Radeon RX 470/480/570/570X/580/580X/590] driver: amdgpu  
               v: kernel  
               Display: x11 server: X.Org 1.20.13 driver:loaded: amdgpu,ati unloaded: fbdev,modesetting,vesa  
               resolution: 1920x1080~60Hz  
               OpenGL:renderer: Radeon RX 570 Series (POLARIS10 DRM 3.42.0 5.14.2-1-default LLVM 12.0.1) v: 4.6 Mesa 21.2.1  
    Audio:     Device-1: AMD Ellesmere HDMI Audio [Radeon RX 470/480 / 570/580/590] driver: snd_hda_intel  
               Device-2: Advanced Micro Devices [AMD] Family 17h HD Audio driver: snd_hda_intel  
               Sound Server-1: ALSA v: k5.14.2-1-default running: yes  
               Sound Server-2: PulseAudio v: 15.0 running: yes  
    Network:   Device-1: Realtek RTL8111/8168/8411 PCI Express Gigabit Ethernet driver: r8169  
               IF: eth0 state: up speed: 1000 Mbps duplex: full mac: 70:85:c2:c1:31:6a  
               IF-ID-1: virbr0 state: up speed: 10 Mbps duplex: unknown mac: 52:54:00:30:ec:48  
               IF-ID-2: vnet0 state: unknown speed: 10 Mbps duplex: full mac: fe:54:00:be:2d:a4  
    Drives:    Local Storage:total: 1.82 TiB used: 425.94 GiB (22.9%)  
               ID-1: /dev/sda vendor: Western Digital model: WD10EZEX-08WN4A0 size: 931.51 GiB  
               ID-2: /dev/sdb vendor: Seagate model: ST1000DM010-2EP102 size: 931.51 GiB  
    Partition: ID-1: / size: 24.13 GiB used: 22.78 GiB (94.4%) fs: ext4 dev: /dev/sdb2  
               ID-2: /boot/efi size: 499.7 MiB used: 4.9 MiB (1.0%) fs: vfat dev: /dev/sdb1  
               ID-3: /home size: 903.26 GiB used: 403.16 GiB (44.6%) fs: xfs dev: /dev/sdb3  
    Swap:      ID-1: swap-1 type: partition size: 2 GiB used: 0 KiB (0.0%) dev: /dev/sdb4  
    Sensors:   System Temperatures:cpu: 31.1 C mobo: N/A gpu: amdgpu temp: 39.0 C  
               Fan Speeds (RPM): N/A gpu: amdgpu fan: 198  
    Info:      Processes: 284 Uptime: N/A Shell: Bash inxi: 3.3.03 
    
    
    

  6. #6

    Default Re: Root partion is almost full 99 MB left

    Quote Originally Posted by nrickert View Post
    I assume that "/dev/sdb2" is the root partition. At 24.6G, that's a bit tight, especially with Tumbleweed. Are you using "btrfs" or some other file system?

    Is "/tmp" a directory under root, or is it mounted as "tmpfs"?

    If it is a regular directory, look for files there that can be deleted to clear up space.

    Otherwise look at "/var/log". As a quick fix you can try:
    Code:
    cd /var/log
    rm *.xz
    Those are archived old log files, and removing them might clear up a bunch of space.

    That freed up some space but , I still get the warning, it now says 130 Mib left
    I am using ext 4, but not sure about the root partition. That might be xfs ?

    Do I need to go into YAST, and make my home dir smaller, then add that free space to my root partition ?

    Code:
    guus@linux-2ls4:~> df -aTh 
    Filesystem     Type             Size  Used Avail Use% Mounted on 
    proc           proc                0     0     0    - /proc 
    sysfs          sysfs               0     0     0    - /sys 
    devtmpfs       devtmpfs         7,8G     0  7,8G   0% /dev 
    securityfs     securityfs          0     0     0    - /sys/kernel/security 
    tmpfs          tmpfs            7,8G     0  7,8G   0% /dev/shm 
    devpts         devpts              0     0     0    - /dev/pts 
    tmpfs          tmpfs            3,2G  9,8M  3,1G   1% /run 
    cgroup2        cgroup2             0     0     0    - /sys/fs/cgroup 
    pstore         pstore              0     0     0    - /sys/fs/pstore 
    efivarfs       efivarfs            0     0     0    - /sys/firmware/efi/efivars 
    none           bpf                 0     0     0    - /sys/fs/bpf 
    /dev/sdb2      ext4              25G   23G  131M 100% / 
    systemd-1      autofs              0     0     0    - /proc/sys/fs/binfmt_misc 
    mqueue         mqueue              0     0     0    - /dev/mqueue 
    debugfs        debugfs             0     0     0    - /sys/kernel/debug 
    tracefs        tracefs             0     0     0    - /sys/kernel/tracing 
    hugetlbfs      hugetlbfs           0     0     0    - /dev/hugepages 
    tmpfs          tmpfs            7,8G     0  7,8G   0% /tmp 
    configfs       configfs            0     0     0    - /sys/kernel/config 
    fusectl        fusectl             0     0     0    - /sys/fs/fuse/connections 
    /dev/sdb1      vfat             500M  5,0M  495M   1% /boot/efi 
    /dev/sdb3      xfs              904G  404G  501G  45% /home 
    tmpfs          tmpfs            1,6G   56K  1,6G   1% /run/user/1000 
    gvfsd-fuse     fuse.gvfsd-fuse     0     0     0    - /run/user/1000/gvfs
    
    
    

  7. #7
    Join Date
    Jan 2014
    Location
    Erlangen
    Posts
    3,141

    Default Re: Root partion is almost full 99 MB left

    Quote Originally Posted by Gps2010 View Post
    If you send me 250 euro I will This reminds me why I went for two harddisk.
    Code:
     inxi -Fm 
    System:    Host: linux-2ls4 Kernel: 5.14.2-1-default x86_64 bits: 64 Desktop: KDE Plasma 5.22.5  
               Distro: openSUSE Tumbleweed 20210916  
    Machine:   Type: Desktop Mobo: ASRock model: B450M Pro4 serial: <superuser required> UEFI: American Megatrends v: P3.60  
               date: 07/31/2019  
    Memory:    RAM:total: 15.54 GiB used: 5.96 GiB (38.4%)  
               RAM Report:permissions: Unable to run dmidecode. Root privileges required.  
    CPU:       Info: 6-Core model: AMD Ryzen 5 2600 bits: 64 type: MT MCP cache:L2: 3 MiB  
               Speed: 1375 MHz min/max: 1550/3400 MHz Core speeds (MHz):1: 1375 2: 1375 3: 1378 4: 1380 5: 1375 6: 1374 7: 1373  
               8: 1367 9: 1375 10: 1373 11: 1375 12: 1371  
    Graphics:  Device-1: Advanced Micro Devices [AMD/ATI] Ellesmere [Radeon RX 470/480/570/570X/580/580X/590] driver: amdgpu  
               v: kernel  
               Display: x11 server: X.Org 1.20.13 driver:loaded: amdgpu,ati unloaded: fbdev,modesetting,vesa  
               resolution: 1920x1080~60Hz  
               OpenGL:renderer: Radeon RX 570 Series (POLARIS10 DRM 3.42.0 5.14.2-1-default LLVM 12.0.1) v: 4.6 Mesa 21.2.1  
    Audio:     Device-1: AMD Ellesmere HDMI Audio [Radeon RX 470/480 / 570/580/590] driver: snd_hda_intel  
               Device-2: Advanced Micro Devices [AMD] Family 17h HD Audio driver: snd_hda_intel  
               Sound Server-1: ALSA v: k5.14.2-1-default running: yes  
               Sound Server-2: PulseAudio v: 15.0 running: yes  
    Network:   Device-1: Realtek RTL8111/8168/8411 PCI Express Gigabit Ethernet driver: r8169  
               IF: eth0 state: up speed: 1000 Mbps duplex: full mac: 70:85:c2:c1:31:6a  
               IF-ID-1: virbr0 state: up speed: 10 Mbps duplex: unknown mac: 52:54:00:30:ec:48  
               IF-ID-2: vnet0 state: unknown speed: 10 Mbps duplex: full mac: fe:54:00:be:2d:a4  
    Drives:    Local Storage:total: 1.82 TiB used: 425.94 GiB (22.9%)  
               ID-1: /dev/sda vendor: Western Digital model: WD10EZEX-08WN4A0 size: 931.51 GiB  
               ID-2: /dev/sdb vendor: Seagate model: ST1000DM010-2EP102 size: 931.51 GiB  
    Partition: ID-1: / size: 24.13 GiB used: 22.78 GiB (94.4%) fs: ext4 dev: /dev/sdb2  
               ID-2: /boot/efi size: 499.7 MiB used: 4.9 MiB (1.0%) fs: vfat dev: /dev/sdb1  
               ID-3: /home size: 903.26 GiB used: 403.16 GiB (44.6%) fs: xfs dev: /dev/sdb3  
    Swap:      ID-1: swap-1 type: partition size: 2 GiB used: 0 KiB (0.0%) dev: /dev/sdb4  
    Sensors:   System Temperatures:cpu: 31.1 C mobo: N/A gpu: amdgpu temp: 39.0 C  
               Fan Speeds (RPM): N/A gpu: amdgpu fan: 198  
    Info:      Processes: 284 Uptime: N/A Shell: Bash inxi: 3.3.03 
    
    
    
    Your setup is very reasonable apart from the HDDs. You may add a smaller disk: https://www.idealo.de/preisvergleich...s-samsung.html I am fine with 512 GB on NMVe. Even a Crucial CT250MX500SSD1 holding system and heavily used /home files will boost performance and ease maintenance significantly. Prices start at 38 €.
    AMD Athlon 4850e (2009), openSUSE 13.1, KDE 4, Intel i3-4130 (2014), i7-6700K (2016), i5-8250U (2018), AMD Ryzen 5 3400G (2020), openSUSE Tumbleweed, KDE Plasma 5

  8. #8

    Default Re: Root partion is almost full 99 MB left

    Thank you, I will have a look.

    I like to think of my pc, like a gaming pc on a budget.

  9. #9
    Join Date
    Aug 2010
    Location
    Chicago suburbs
    Posts
    15,592
    Blog Entries
    3

    Default Re: Root partion is almost full 99 MB left

    Quote Originally Posted by Gps2010 View Post
    That freed up some space but , I still get the warning, it now says 130 Mib left
    I am using ext 4, but not sure about the root partition. That might be xfs ?

    Do I need to go into YAST, and make my home dir smaller, then add that free space to my root partition ?
    Checking my Tumbleweed system, I see that I am using around 10G for the root file system. You are using a lot more than that.

    Have you installed a lot of optional software?

    Maybe try (as root):
    Code:
    zypper clean
    There might be some leftovers in the package cache.

    You can find which file system by looking closely at the output of:
    Code:
    mount
    openSUSE Leap 15.3; KDE Plasma 5.18.6;

  10. #10
    Join Date
    Nov 2009
    Location
    West Virginia Sector 13
    Posts
    16,276

    Default Re: Root partion is almost full 99 MB left

    Changing drive types will not solve space problems on root. Faster drives are nice but do not fix space miss-allocation.

    If your home partition is XFS you can not reduce its size. XFS problem. Be certain on how all partitions are formatted before proceeding. Also you must reduce home and then move it to allow space for root to expand into.

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