/boot issue

Latest response

Hi Team,

 we are facing storage issue on /boot  below are the list of file under boot. Please let us know which of the file we can delete.

this is RHEL 8.3 server.

 ll -h

total 382M
-rw-r--r--. 1 root root 184K Mar 27 2020 config-4.18.0-193.el8.x86_64
-rw-r--r--. 1 root root 186K Feb 3 2021 config-4.18.0-240.15.1.el8_3.x86_64
-rw-r--r--. 1 root root 188K Jul 26 13:25 config-4.18.0-305.12.1.el8_4.x86_64
-rw-r--r--. 1 root root 189K Jul 26 13:05 config-4.18.0-305.12.1.el8_4.x86_64+debug
drwxr-xr-x. 3 root root 17 Nov 19 2020 efi
drwx------. 4 root root 140 Sep 2 16:18 grub2
-rw-------. 1 root root 71M Nov 19 2020 initramfs-0-rescue-858aa2b791ec42cbbc0461cc61d8a765.img
-rw-------. 1 root root 76M Mar 16 09:53 initramfs-0-rescue-b6fc7a8c6b9d45b8863234ae200a7f23.img
-rw-------. 1 root root 27M Mar 16 09:54 initramfs-4.18.0-193.el8.x86_64.img
-rw-------. 1 root root 22M Mar 16 09:53 initramfs-4.18.0-193.el8.x86_64kdump.img
-rw-------. 1 root root 27M Mar 16 09:54 initramfs-4.18.0-240.15.1.el8_3.x86_64.img
-rw-------. 1 root root 22M Apr 22 14:34 initramfs-4.18.0-240.15.1.el8_3.x86_64kdump.img
-rw-------. 1 root root 30M Aug 11 15:14 initramfs-4.18.0-305.12.1.el8_4.x86_64+debug.img
-rw-------. 1 root root 27M Aug 11 15:14 initramfs-4.18.0-305.12.1.el8_4.x86_64.img
drwxr-xr-x. 3 root root 21 Nov 19 2020 loader
-rw-------. 1 root root 3.8M Mar 27 2020 System.map-4.18.0-193.el8.x86_64
-rw-------. 1 root root 3.9M Feb 3 2021 System.map-4.18.0-240.15.1.el8_3.x86_64
-rw-------. 1 root root 4.0M Jul 26 13:25 System.map-4.18.0-305.12.1.el8_4.x86_64
-rw-------. 1 root root 4.8M Jul 26 13:05 System.map-4.18.0-305.12.1.el8_4.x86_64+debug
-rwxr-xr-x. 1 root root 8.6M Nov 19 2020 vmlinuz-0-rescue-858aa2b791ec42cbbc0461cc61d8a765
-rwxr-xr-x. 1 root root 9.1M Mar 16 09:53 vmlinuz-0-rescue-b6fc7a8c6b9d45b8863234ae200a7f23
-rwxr-xr-x. 1 root root 8.6M Mar 27 2020 vmlinuz-4.18.0-193.el8.x86_64
-rwxr-xr-x. 1 root root 9.1M Feb 3 2021 vmlinuz-4.18.0-240.15.1.el8_3.x86_64
-rwxr-xr-x. 1 root root 9.6M Jul 26 13:26 vmlinuz-4.18.0-305.12.1.el8_4.x86_64
-rwxr-xr-x. 1 root root 22M Jul 26 13:06 vmlinuz-4.18.0-305.12.1.el8_4.x86_64+debug

below are the latest kernel available in the server.

# rpm -q kernel
kernel-4.18.0-193.el8.x86_64
kernel-4.18.0-240.15.1.el8_3.x86_64

Responses