LUKS automount for iSCSI based LUN not working at boot time

Solution Unverified - Updated -

Issue

  • After setting up /etc/fstab and /etc/crypttab to automatically decrypt and mount a LUKS filesystem at boot time, getting below errors and dropped to the Maintenance mode shell.

    fsck.ext4: no such file or directory while trying to open /dev/mapper/luks-dev
    fsck.ext4: unable  to resolve 'UUID=xxxxxxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx'
    

Environment

  • Red Hat Enterprise Linux 6
  • Red Hat Enterprise Linux 7
  • LUKS encryption on iSCSI LUNs

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content