Comment # 6 on bug 1229396 from Raúl Osuna
There was a kernel update, to 6.10.7. According to the default rules to keep
the running kernel and only one previous, 6.10.4 was deleted, and 6.10.5 was
kept.

I can still see the initrd's and kernel files of 6.10.4, with the boot
partition close to full with the default size of half a GB.

According to Torsten's comment, I might have some snapshot with the 6.10.4
kernel and hence the files do not get deleted, because of this. I would
understand and accept that then "it works as expected". But we have a problem,
in my opinion, with the defaults. So my suggestion would be to fine tune one of
these possible values:

- /boot/efi default size
- Number/date of snapshots kept
- Number of initrd files kept
- Any other thing that can come to your mind to improve the situation.

It is not that easy to resize /boot/efi partition once installed (I guess it
can be done, but it is at least disturbing), so let's try that this is only
seldom needed.

Attaching all the relevant info I could think of, I won't delete the directory
this time till I don't get any disk full error. Let me know if any other
information from my system would be useful and if you find my thinking with
enough base to tune the defaults or not. Maybe this is something new to fight
with following the change from grub2 to systemd boot.

mordor:/boot/efi/bad01a2647cb4fef8827293b9d389245 # ls
6.10.4-1-default  6.10.5-1-default  6.10.7-1-default

mordor:/boot/efi/bad01a2647cb4fef8827293b9d389245 # df -h .
Filesystem      Size  Used Avail Use% Mounted on
/dev/nvme0n1p1  511M  448M   64M  88% /boot/efi

mordor:/boot/efi/bad01a2647cb4fef8827293b9d389245 # uname -a
Linux mordor.arkayate.org 6.10.7-1-default #1 SMP PREEMPT_DYNAMIC Fri Aug 30
04:50:21 UTC 2024 (54e6893) x86_64 x86_64 x86_64 GNU/Linux

mordor:/boot/efi/bad01a2647cb4fef8827293b9d389245 # snapper ls
   # │ Type   │ Pre # │ Date                     │ User │ Used Space │ Cleanup
│ Description       │ Userdata
─────┼────────┼───────┼──────────────────────────┼──────┼────────────┼─────────┼───────────────────┼──────────────
  0  │ single │       │                          │ root │            │        
│ current           │
851  │ pre    │       │ Mon Aug 19 00:28:56 2024 │ root │ 610.23 MiB │ number 
│ zypp(zypper)      │ important=yes
852* │ post   │   851 │ Mon Aug 19 00:29:19 2024 │ root │   2.80 MiB │ number 
│                   │ important=yes
861  │ pre    │       │ Thu Aug 22 14:31:04 2024 │ root │ 357.21 MiB │ number 
│ zypp(packagekitd) │ important=yes
862  │ post   │   861 │ Thu Aug 22 14:33:24 2024 │ root │ 314.97 MiB │ number 
│                   │ important=yes
867  │ pre    │       │ Mon Aug 26 20:58:36 2024 │ root │ 236.17 MiB │ number 
│ zypp(packagekitd) │ important=yes
868  │ post   │   867 │ Mon Aug 26 21:00:00 2024 │ root │  60.01 MiB │ number 
│                   │ important=yes
871  │ pre    │       │ Tue Aug 27 11:06:49 2024 │ root │  73.35 MiB │ number 
│ zypp(zypper)      │ important=no
872  │ post   │   871 │ Tue Aug 27 11:07:17 2024 │ root │   9.41 MiB │ number 
│                   │ important=no
873  │ pre    │       │ Thu Aug 29 11:31:01 2024 │ root │  15.46 MiB │ number 
│ zypp(zypper)      │ important=no
874  │ post   │   873 │ Thu Aug 29 11:36:30 2024 │ root │  17.23 MiB │ number 
│                   │ important=no
875  │ pre    │       │ Sun Sep  1 23:33:53 2024 │ root │  15.54 MiB │ number 
│ zypp(zypper)      │ important=yes
876  │ post   │   875 │ Sun Sep  1 23:35:08 2024 │ root │   5.80 MiB │ number 
│                   │ important=yes
877  │ pre    │       │ Mon Sep  2 09:32:40 2024 │ root │   2.10 MiB │ number 
│ zypp(packagekitd) │ important=yes
878  │ post   │   877 │ Mon Sep  2 09:35:47 2024 │ root │  10.58 MiB │ number 
│                   │ important=yes
879  │ pre    │       │ Tue Sep  3 08:04:00 2024 │ root │  11.96 MiB │ number 
│ zypp(packagekitd) │ important=yes
880  │ post   │   879 │ Tue Sep  3 08:05:30 2024 │ root │   1.82 MiB │ number 
│                   │ important=yes
881  │ pre    │       │ Tue Sep  3 08:14:50 2024 │ root │ 284.00 KiB │ number 
│ zypp(zypper)      │ important=yes
882  │ post   │   881 │ Tue Sep  3 08:15:12 2024 │ root │ 268.00 KiB │ number 
│                   │ important=yes

mordor:/boot/efi/bad01a2647cb4fef8827293b9d389245 # ls -lR
.:
total 12
drwxr-x--- 2 root root 4096 Sep  2 09:35 6.10.4-1-default
drwxr-x--- 2 root root 4096 Sep  3 08:04 6.10.5-1-default
drwxr-x--- 2 root root 4096 Sep  3 08:04 6.10.7-1-default

./6.10.4-1-default:
total 178736
-rw-r----- 1 root root 84140536 Sep  2 09:35
initrd-3529c816dea29a4603d945a03164ec13317a415f
-rw-r----- 1 root root 84111195 Aug 26 20:59
initrd-8d197e6be32f09f5e1fb0b0320e27efa71d49ad3
-rw-r----- 1 root root 14768496 Aug 12 07:45
linux-7d5327c507b7c87023417fa732be1f3abbc82c44

./6.10.5-1-default:
total 178732
-rw-r----- 1 root root 84136746 Sep  2 09:35
initrd-2714b7f360f4a92ec702dfa17981f3e4206adef2
-rw-r----- 1 root root 84107132 Aug 26 20:59
initrd-419e437d7832c5308ca64a8e9e67b143982edba2
-rw-r----- 1 root root 14772592 Aug 16 12:16
linux-33dc501f1107ebd291ad87f56baf407335b03061

./6.10.7-1-default:
total 96808
-rw-r----- 1 root root 84244524 Sep  3 08:04
initrd-9df433deef45c2e45a0321618404144e2439867c
-rw-r----- 1 root root 14883184 Aug 30 06:48
linux-1be192dfa22187b3101d832c0f4a5562be886833

mordor:/boot/efi/bad01a2647cb4fef8827293b9d389245 # rpm -qa|grep kernel-default
kernel-default-6.10.7-1.1.x86_64
kernel-default-6.10.5-1.1.x86_64

mordor:/boot/efi/bad01a2647cb4fef8827293b9d389245 # zypper purge-kernels -D
Reading installed packages...

Preparing to purge obsolete kernels...
Configuration: latest,latest-1,running
Running kernel release: 6.10.7-1-default
Running kernel arch: x86_64

Resolving package dependencies...
Nothing to do.

mordor:/boot/efi/bad01a2647cb4fef8827293b9d389245 # rpm -qa --last|grep -i
kernel-default
kernel-default-6.10.7-1.1.x86_64              Tue Sep  3 08:04:49 2024
kernel-default-6.10.5-1.1.x86_64              Mon Aug 19 14:58:32 2024

mordor:/boot/efi/bad01a2647cb4fef8827293b9d389245 # du -sh *
175M    6.10.4-1-default
175M    6.10.5-1-default
95M     6.10.7-1-default


You are receiving this mail because: