pveversion:
pve-manager/6.0-4/2a719255 (running kernel: 5.0.15-1-pve)
Migrate disk fails to every time with the below message.
I am suspecting a kernel related issue with LVM thinpool on Proxmox 6.0, see further below for kern.log.
I see the same error for timeout from udev also when creating a new VM in LVM thinpool storage.
Task Log
kern.log
pve-manager/6.0-4/2a719255 (running kernel: 5.0.15-1-pve)
Migrate disk fails to every time with the below message.
I am suspecting a kernel related issue with LVM thinpool on Proxmox 6.0, see further below for kern.log.
I see the same error for timeout from udev also when creating a new VM in LVM thinpool storage.
Task Log
Code:
...
Transferred: 21474836480 bytes remaining: 0 bytes total: 21474836480 bytes progression: 100.00 %
WARNING: Device /dev/dm-17 not initialized in udev database even after waiting 10000000 microseconds.
WARNING: Device /dev/dm-17 not initialized in udev database even after waiting 10000000 microseconds.
Logical volume "vm-100-disk-0" successfully removed
WARNING: Device /dev/dm-17 not initialized in udev database even after waiting 10000000 microseconds.
TASK ERROR: storage migration failed: command '/sbin/lvs --separator : --noheadings --units b --unbuffered --nosuffix --options lv_size /dev/vg01/vm-100-disk-0' failed: got timeout
kern.log
Code:
kernel: [ 1453.178236] INFO: task systemd-udevd:4712 blocked for more than 120 seconds.
kernel: [ 1453.178266] Tainted: P O 5.0.15-1-pve #1
kernel: [ 1453.178284] "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
kernel: [ 1453.178307] systemd-udevd D 0 4712 934 0x00000100
kernel: [ 1453.178310] Call Trace:
kernel: [ 1453.178322] __schedule+0x2d4/0x870
kernel: [ 1453.178325] schedule+0x2c/0x70
kernel: [ 1453.178327] schedule_preempt_disabled+0xe/0x10
kernel: [ 1453.178329] __mutex_lock.isra.10+0x2e4/0x4c0
kernel: [ 1453.178338] ? exact_lock+0x11/0x20
kernel: [ 1453.178339] ? disk_map_sector_rcu+0x70/0x70
kernel: [ 1453.178341] __mutex_lock_slowpath+0x13/0x20
kernel: [ 1453.178342] mutex_lock+0x2c/0x30
kernel: [ 1453.178347] __blkdev_get+0x7b/0x550
kernel: [ 1453.178348] ? bd_acquire+0xd0/0xd0
kernel: [ 1453.178350] blkdev_get+0x10c/0x330
kernel: [ 1453.178351] ? bd_acquire+0xd0/0xd0
kernel: [ 1453.178352] blkdev_open+0x92/0x100
kernel: [ 1453.178356] do_dentry_open+0x143/0x3a0
kernel: [ 1453.178359] vfs_open+0x2d/0x30
kernel: [ 1453.178361] path_openat+0x2d4/0x16d0
kernel: [ 1453.178366] ? page_add_file_rmap+0x5f/0x220
kernel: [ 1453.178370] ? alloc_set_pte+0x104/0x5b0
kernel: [ 1453.178373] do_filp_open+0x93/0x100
kernel: [ 1453.178381] ? strncpy_from_user+0x56/0x1b0
kernel: [ 1453.178397] ? __alloc_fd+0x46/0x150
kernel: [ 1453.178399] do_sys_open+0x177/0x280
kernel: [ 1453.178400] __x64_sys_openat+0x20/0x30
kernel: [ 1453.178407] do_syscall_64+0x5a/0x110
kernel: [ 1453.178410] entry_SYSCALL_64_after_hwframe+0x44/0xa9
kernel: [ 1453.178413] RIP: 0033:0x7fe8ae3cc1ae
kernel: [ 1453.178418] Code: Bad RIP value.
kernel: [ 1453.178419] RSP: 002b:00007ffe83be4780 EFLAGS: 00000246 ORIG_RAX: 0000000000000101
kernel: [ 1453.178420] RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 00007fe8ae3cc1ae
kernel: [ 1453.178421] RDX: 0000000000080000 RSI: 00005631364785c0 RDI: 00000000ffffff9c
kernel: [ 1453.178421] RBP: 00007fe8adbebc60 R08: 0000563135465270 R09: 000000000000000f
kernel: [ 1453.178422] R10: 0000000000000000 R11: 0000000000000246 R12: 00000000ffffffff
kernel: [ 1453.178423] R13: 0000000000000000 R14: 0000000000000000 R15: 0000563136454dc0