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

The Geek Diary

  • OS
    • Linux
    • CentOS/RHEL
    • Solaris
    • Oracle Linux
    • VCS
  • Interview Questions
  • Database
    • oracle
    • oracle 12c
    • ASM
    • mysql
    • 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. treetime Command Examples in Linux
  2. firewall-cmd: command not found
  3. setpci command – configure PCI device
  4. dmidecode: command not found
  5. How to blacklist a local disk using the “find_multipaths” directive in CentOS/RHEL 6
  6. CentOS / RHEL : How to install a specific version of rpm package using YUM
  7. whiptail Command Examples in Linux
  8. fcrackzip Command Examples in Linux
  9. How does “chmod -R 755” works
  10. bspc: command not found

You May Also Like

Primary Sidebar

Recent Posts

  • aws ec2: CLI for AWS EC2 (Command Examples)
  • aws cur – Create, query, and delete AWS usage report definitions (Command Examples)
  • aws configure – Manage configuration for the AWS CLI (Command Examples)
  • aws cognito-idp: Manage Amazon Cognito user pool and its users and groups using the CLI

© 2023 · The Geek Diary

  • Archives
  • Contact Us
  • Copyright