Timed out waiting for device dev-mapper-rhel\x2dswap.device

Latest response

Hello there.

I've some nasty issues after i rebooted after installing the open-vm-tools for this virtual machine. Emergency mode is coming up and since i'm not so familiar with hardware'ish issues i've to ask here for help.

I don't know if the issue is a result of the open-vm-tools installation, but it's very unlikely to say at least, since i installed it with ansible on several other machines as well and this machine was the only one which was unable to boot.

I looked up what happend during the startup with

journal -xb.

The first thing device related i saw were two lvm Warnings:

"Device /dev/sda1 not initialized in udev database even after waiting 10000000 microseconds." The same message for sda2.

Quickly after that, i'm getting

-- Unit local-fs-pre.target has begun starting up.
[...] systemd[1]: Job dev-mapper-rhel\x2dswap.device/start timed out.
[...] systemd[1]: Timed out waiting for device dev-mapper-rhel\x2dswap.device

And a bunch of other stuff like

Dependency failed for /dev/mapper/rhel-swap
Dependency failed for Swap

I consider the other log messages unimportant since the error seems so be more basic.

My /etc/fstab looks like this

/dev/mapper/rhel-root          /          xfs          defaults          0  0
UID=SOMEUID                        /boot  xfs          defaults          0  0
/dev/mapper/rhel-swap        swap   swap      defaults          0  0

I don't know where to start debugging this and hope that someone can help me out.

Thanks in advice.

Responses