'dracut' command takes excessive amount of time during upgrade from RHEL 6.10 to 7.6

Solution Verified - Updated -

Issue

  • Upgrade from RHEL 6.10 to 7.6 using the redhat-upgrade-tool takes excessive amount of time to complete. It was found that dracut process was taking significantly longer to complete.

    While running strace on dracut process it was found to be taking ~2 hours time to complete. The strace logs for dracut process also showed lots of following messages during this delay:

    31852 11:46:06.855460 write(2, "WARNING: Device /dev/testvg1/testvg1 not initialized in udev database even after waiting 10000000"..., 114) = 114
    31852 11:46:16.937028 write(2, "WARNING: Device /dev/testvg2/testvg2 not initialized in udev database even after waiting 10"..., 120) = 120
    31852 11:46:27.019324 write(2, "WARNING: Device /dev/testvg3/testvg3 not initialized in udev database even after waiting 10000000 m"..., 112) = 112
    31852 11:46:37.101428 write(2, "WARNING: Device /dev/rootvg/lv_tmp not initialized in udev database even after waiting 10000000 micr"..., 109) = 109
    [...]
    

Environment

  • Red Hat Enterprise Linux 6.10
  • Red Hat Enterprise Linux 7.6

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In