Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

System Boot Failure After Unlocking LVM on LUKS #278

Open
NN708 opened this issue Dec 13, 2024 · 0 comments
Open

System Boot Failure After Unlocking LVM on LUKS #278

NN708 opened this issue Dec 13, 2024 · 0 comments

Comments

@NN708
Copy link

NN708 commented Dec 13, 2024

The system occasionally fails to boot after an LVM on LUKS volume is unlocked.

Debug messages:

udev event {Action:add KObj:/devices/virtual/workqueue/kcryptd_io-253:0-1 Env:map[ACTION:add DEVPATH:/devices/virtual/workqueue/kcryptd_10-253:0-1 SEQNUM:1246 SUBSYSTEM:workqueue]}
udev event {Action:add KObj:/devices/virtual/workqueue/kcryptd-253:0-1 Env:map[ACTION:add DEVPATH:/devices/virtual/workqueue/kcryptd-253:0-1 SEQNUM:1247 SUBSYSTEM:workqueue]}
udev event {Action:add KObj:/devices/virtual/bdi/253:0 Env:map[ACTION:add DEVPATH:/devices/virtual/bdi/253:0 SEQNUM:1248 SUBSYSTEM:bdi]}
udev event {Action:add KObj:/devices/virtual/block/dm-0 Env:map[ACTION:add DEVNAME:dm-0 DEVPATH:/devices/virtual/block/dm-0 DEVTYPE:disk DISKSEQ:18 MAJOR:253 MINOR:0 SEQNUM:1249 SUBSYSTEM:block]}
udev event does not contain DM_COOKIE
udev event {Action:change KObj:/devices/virtual/block/dm-0 Env:map[ACTION:change DEVNAME:dm-0 DEVPATH:/devices/virtual/block/dm-0 DEVTYPE:disk DISKSEQ:18 DM_COOKIE:4194304 MAJOR:253 MINOR:0 SEQNUM:1250 SUBSYSTEM:block]}
writing udev state to /run/udev/data/b253:0
found a new device /dev/dm-0
blkinfo for /dev/dm-0: type-lvm UUID=xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx LABEL=
scanning lvm physical volume /dev/dm-0
  pvscan[963] PV /dev/mapper/root online, VG vg0 is complete.
  pvscan[963] VG vg0 run autoactivation.
udev event {Action:add KObj:/devices/virtual/bdi/253:1 Env:map[ACTION:add DEVPATH:/devices/virtual/bdi/253:1 SEQNUM:1251 SUBSYSTEM:bdi]}
udev event {Action:add KObj:/devices/virtual/block/dm-1 Env:map[ACTION:add DEVNAME:dm-1 DEVPATH:/devices/virtual/block/dm-1 DEVTYPE:disk DISKSEQ:19 MAJOR:253 MINOR:1 SEQNUM:1252 SUBSYSTEM:block]}
udev event does not contain DM_COOKIE
udev event {Action:change KObj:/devices/virtual/block/dm-1 Env:map[ACTION:change DEVNAME:dm-1 DEVPATH:/devices/virtual/block/dm-1 DEVTYPE:disk DISKSEQ:19 DM_COOKIE:4194304 MAJOR:253 MINOR:1 SEQNUM:1253 SUBSYSTEM:block]}
writing udev state to /run/udev/data/b253:1
found a new device /dev/dm-1
udev event {Action:add KObj:/devices/virtual/bdi/253:2 Env:map[ACTION:add DEVPATH:/devices/virtual/bdi/253:2 SEQNUM:1254 SUBSYSTEM:bdi]}
udev event {Action:add KObj:/devices/virtual/block/dm-2 Env:map[ACTION:add DEVNAME:dm-2 DEVPATH:/devices/virtual/block/dm-2 DEVTYPE:disk DISKSEQ:20 MAJOR:253 MINOR:2 SEQNUM:1255 SUBSYSTEM:block]}
udev event does not contain DM_COOKIE
blkinfo for /dev/dm-1: type=swap UUID=xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx LABEL=
udev event {Action:change KObj:/devices/virtual/block/dm-2 Env:map[ACTION:change DEVNAME:dm-2 DEVPATH:/devices/virtual/block/dm-2 DEVTYPE:disk DISKSEQ:20 DM_COOKIE:4194304 MAJOR:253 MINOR:2 SEQNUM:1256 SUBSYSTEM:block]}
writing udev state to /run/udev/data/b253:2
2 logical volume(s) in volume group "vg0" now active
symlink /dev/dm-2 /dev/mapper/vg0-lv_root: file exists
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant