• Skip to primary navigation
  • Skip to main content
  • Skip to primary sidebar
  • Skip to footer navigation

The Geek Diary

  • OS
    • Linux
    • CentOS/RHEL
    • VCS
  • Interview Questions
  • Database
    • MariaDB
  • DevOps
    • Docker
    • Shell Scripting
  • Big Data
    • Hadoop
    • Cloudera
    • Hortonworks HDP

“No space left on device” – kdump generation issue (CentOS/RHEL)

by admin

The Problem

Unable to generate kdump and fails with the following error:

Checking for memory holes : [100.0 %] | copy_bitmap_file: Can't write the bitmap(/tmp/kdump_bitmapQijuck). No space left on device"
kdump: dump target is /dev/[ 14.793505] EXT4-fs (dm-0): re-mounted. Opts: (null)
mapper/VGExaDb-kdump_vol
kdump: saving to /kdumproot/kdump/u01/crashfiles/127.0.0.1-2020-04-29-09:46:31/
kdump: saving vmcore-dmesg.txt
kdump: saving vmcore-dmesg.txt complete
kdump: saving vmcore
The kernel version is not supported.
The makedumpfile operation may be incomplete.
Checking for memory holes : [100.0 %] | copy_bitmap_file: Can't write the bitmap(/tmp/kdump_bitmapQijuck). No space left on device
create_2nd_bitmap: Can't copy 1st-bitmap to 2nd-bitmap.

makedumpfile Failed.
kdump: saving vmcore failed
touch: cannot touch '/kdumproot/u01/crashfiles/kdump_post.log': No such file or directory
tee: /kdumproot/u01/crashfiles/kdump_post.log: No such file or directory
2020-04-29 09:46:38 +0200 [INFO] Started kdump post
tee: /kdumproot/u01/crashfiles/kdump_post.log: No such file or directory

The Solution

Kdump initramfs unable to fetch real disk in order to dump the core.

Due to huge memory system need some place for makedumpfile to work and mark included/excluded memory pages. Add –work-dir to the makedumpfile command which will use actual disk rather than kdump ramdisk.

1. Edit the /etc/kdump.conf file as below and add –work-dir=/kdumproot/kdump/u01/crashfiles entry.

# vi /etc/kdump.conf
core_collector makedumpfile -p -d 31 --work-dir=/kdumproot/kdump/u01/crashfiles

2. Restart kdump service:

# systemctl restart kdump

Note that path found for –work-dir came from below message:

kdump: saving to /kdumproot/kdump/u01/crashfiles/127.0.0.1-2020-04-29-09:46:31/

Filed Under: CentOS/RHEL, Linux

Some more articles you might also be interested in …

  1. How to Recover Corrupted Root Partition from Rescue Mode in CentOS/RHEL 5,6
  2. rm: command not found
  3. CentOS / RHEL 6,7 : How to increase system log message verbosity (rsyslogd)
  4. circup: The CircuitPython library updater
  5. rofi: command not found
  6. Understanding Cluster Fencing Policy in RedHat Virtualization (RHV)
  7. “docker inspect” Command Examples
  8. radeontop Command Examples in Linux
  9. checkupdates : Command Examples in Linux
  10. ctrlaltdel: command not found

You May Also Like

Primary Sidebar

Recent Posts

  • gml2gv Command Examples
  • glow Command Examples
  • glib-compile-resources Command Examples
  • glances Command Examples

© 2023 · The Geek Diary

  • Archives
  • Contact Us
  • Copyright