During snapshot/backup operation, RHEL 7.4 Guest VM in MS Hyper-V gets crashed with Out of Memory errors.

Solution Verified - Updated -

Issue

  • During snapshot/backup operation, RHEL 7.4 Guest VM in MS Hyper-V gets crashed with Out of Memory errors:

    journal: Hyper-V VSS: VSS: op=FREEZE: succeeded
    journal: Hyper-V VSS: VSS: op=THAW: succeeded
    [...]
    sd 4:0:1:1: [sdd] Sector size 0 reported, assuming 512.
    sd 3:0:1:0: [storvsc] Sense Key : Unit Attention [current] 
    sd 3:0:1:0: [storvsc] Add. Sense: Changed operating definition
    sd 3:0:1:0: Warning! Received an indication that the operating parameters on this target have changed. The Linux SCSI layer does not automa
    INFO: task kworker/u128:2:268 blocked for more than 120 seconds.
    "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
    kworker/u128:2  D ffff88003666b868     0   268      2 0x00000000
    Workqueue: events_unbound async_run_entry_fn
    ffff880402663cc0 0000000000000046 ffff880403bf0000 ffff880402663fd8
    ffff880402663fd8 ffff880402663fd8 ffff880403bf0000 ffff88003666b860
    ffff88003666b864 ffff880403bf0000 00000000ffffffff ffff88003666b868
    Call Trace:
    [<ffffffff816aa409>] schedule_preempt_disabled+0x29/0x70
    [<ffffffff816a8337>] __mutex_lock_slowpath+0xc7/0x1d0
    [<ffffffff810ce8ad>] ? check_preempt_wakeup+0x11d/0x250
    [<ffffffff816a774f>] mutex_lock+0x1f/0x2f
    [<ffffffff81471d2e>] scsi_scan_host_selected+0x7e/0x1c0     <---
    [<ffffffff810c1309>] ? ttwu_do_wakeup+0x19/0xd0
    [<ffffffff81471f01>] do_scsi_scan_host+0x91/0xa0
    [<ffffffff814720fc>] do_scan_async+0x1c/0x160
    [<ffffffff810b7cc9>] async_run_entry_fn+0x39/0x120
    [<ffffffff810a881a>] process_one_work+0x17a/0x440
    [<ffffffff810a94e6>] worker_thread+0x126/0x3c0
    [<ffffffff810a93c0>] ? manage_workers.isra.24+0x2a0/0x2a0
    [<ffffffff810b098f>] kthread+0xcf/0xe0
    [<ffffffff810b08c0>] ? insert_kthread_work+0x40/0x40
    [<ffffffff816b4f58>] ret_from_fork+0x58/0x90
    [<ffffffff810b08c0>] ? insert_kthread_work+0x40/0x40
    [...]
    

Environment

  • Red Hat Enterprise Linux 7.4 Guest in MS Hyper-V
  • Issue may appear during backup with "veeam" tool.
  • kernel-3.10.0-693.2.2.el7

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
Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.