Bug 230073 - [hyper-v] Online Backup of FreeBSD 10.4 Guest VM fails, leaving VM in unresponsive state
Summary: [hyper-v] Online Backup of FreeBSD 10.4 Guest VM fails, leaving VM in unrespo...
Status: New
Alias: None
Product: Base System
Classification: Unclassified
Component: kern (show other bugs)
Version: 10.4-RELEASE
Hardware: Any Any
: --- Affects Only Me
Assignee: freebsd-virtualization mailing list
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-07-26 22:48 UTC by Chris K
Modified: 2019-07-16 19:38 UTC (History)
3 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Chris K 2018-07-26 22:48:14 UTC
Virtual machine console displays the following message:

HV_VSS: error: 16

Unable to log in to VM via SSH or console, and no network services are operational.

# uname -a
FreeBSD prx-001.chrisara.com.au 10.4-RELEASE-p9 FreeBSD 10.4-RELEASE-p9 #0: Tue May  8 06:40:41 UTC 2018     root@amd64-builder.daemonology.net:/usr/obj/usr/src/sys/GENERIC  i386

Hyper-V Host is Windows Server 2016 with June 2018 Cumulative Update installed.

Windows Server Backup logs the following:

Writer Failures
Writer Id: {66841CD4-6DED-4F4B-8F17-FD23F8DDC3DE}
Instance Id: {2D4D13E4-9010-4776-B8E3-CA92D7AC9618}
Writer Name: Microsoft Hyper-V VSS Writer
Writer State: 5
Failure Result: 80042336
Application Result: 80004005
Application Message: (null)
   Component: FC9437F0-D09D-4529-B379-89DAEB42A9AD
   Logical Path: (null)
   Component Result: 800423F4
   Component Message: Could not create backup checkpoint for virtual machine 'FreeBSD Proxy': Unspecified error (0x80004005). (Virtual machine ID <vm guid>)
       File Spec: E:\Hyper-V\Virtual Machines\\<vm guid>.xml Recursive: 0
       File Spec: E:\hyper-v\Virtual Hard Disks\\FreeBSD Proxy.vhdx Recursive: 0
       File Spec: E:\Hyper-V\Snapshots\<snapshot guid>.xml Recursive: 0
       File Spec: E:\hyper-v\Virtual Hard Disks\FreeBSD Proxy_<snapshot guid>.avhdx Recursive: 0
*-----------------------------*

Application backup
Writer Id: {66841CD4-6DED-4F4B-8F17-FD23F8DDC3DE}
   Component: FC9437F0-D09D-4529-B379-89DAEB42A9AD
   Caption     : Online\FreeBSD Proxy
   Logical Path: 
   Error           : 80780175
   Error Message   : Component was skipped from volume shadow copy.

   Detailed Error  : 800423F4
   Detailed Error Message : The writer experienced a non-transient error.  If the backup process is retried, the error is likely to reoccur.


*-----------------------------*


Workaround is to disable Backup (volume checkpoint) in Integration Services for VM Settings.
Comment 1 Boris Korzun 2019-04-08 12:18:54 UTC
I've faced with the issue on FreeBSD 11.2.

The VM hangs while Microsoft SC DPM has been occupied by creating a backup for another VM and has tried backup FreeBSD VM.

Past backups of FreeBSD VM (every week, during year more) has been created successfully.