How To Upgrade a Kernel if Updating the Kernel Has Failed with "No space left on device" on BDA V4.2 (Doc ID 2022471.1)

Last updated on JUNE 22, 2017

Applies to:

Big Data Appliance Integrated Software - Version 4.2.0 and later
Linux x86-64

Symptoms

Note: The only correct way to upgrade a kernel on BDA V4.2 is by using: How To Upgrade a Kernel on BDA V4.2 (Doc ID 2033797.1).  This note is only to be used if the kernel update failed due to lack of space in /boot when following: How To Upgrade a Kernel on BDA V4.2 (Doc ID 2033797.1).

Running a "yum update <kernel-* files>" fails with "No space left on device" due to the /boot partition  being full.

This may happen if the Linux Kernel install takes more space that than the minimum available as described in: On Oracle Big Data Appliance, What Needs to Done when /boot Partition is Full (Doc ID 1991706.1)


1. The error raised on the "yum update <kernel-* files> is like:

gzip: stdout: No space left on device
E: dracut: creation of /boot/initramfs-<kernel-version>.x86_64.img failed
mkinitrd failed
warning: %posttrans(kernel-uek-<kernel-version>.el6uek.x86_64) scriptlet failed, exit status 1
Verifying  : kernel-uek-debug-devel-<kernel-version>.x86_64       1/10


The same can happen when implementing a "yum update <kernel-* files> with dcli like:


3. Running  'df -h /boot' or 'dcli -C df -h /boot' returns "0" space Available.

 

Cause

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms