Direkt zum Inhalt

Linux backup fail

Thread needs solution

Hi All !

I'm having trouble with creating backup of my Linux (windows np) based VM's (mostly ubuntu 14-16 LTS), strange thing is that old unsupportet Debian VM is backing up.
Below is an example error from one VM.

Any help ?

Thanks.
 

 

Failed to perform the requested operation.
Additional info:
--------------------
Error code: 13
Module: 149
LineInfo: d1ab7fa1e56ec83e
Fields:  $module : disk_bundle_vs_50058
Message: Failed to perform the requested operation.
--------------------
Error code: 236
Module: 16
LineInfo: 7bb42efe3c733241
Fields:  $module : disk_bundle_vs_50058
Message: Internal error: Attempt to access emulated disk for non-initialized object.
--------------------
Error code: 94
Module: 83
LineInfo: 383ffdb092990e23
Fields:  $module : hv_srv_vs_50058
Message: Failed to open virtual disk file .
--------------------
Error code: 212
Module: 83
LineInfo: 383ffdb092990dda
Fields:  $module : hv_srv_vs_50058
Message: Failed to create a multi-volume snapshot where files are located:

--------------------
Error code: 207
Module: 83
LineInfo: 383ffdb092990dcb
Fields:  $module : hv_srv_vs_50058
Message: Failed to mount the volume snapshot.
--------------------
Error code: 33
Module: 7
LineInfo: e24f93d0b8d8c99e
Fields:  $module : hv_srv_vs_50058
Message: Failed to create volume snapshot.
--------------------
Error code: 50295
Module: 16
LineInfo: 3fec04e376b8a22c
Fields:  $module : hv_srv_vs_50058
Message: All attempts to create a snapshot have failed.
--------------------
Error code: 50242
Module: 16
LineInfo: 3fec04e376b8a1af
Fields:  $module : hv_srv_vs_50058
Message: Failed to start creating the volume snapshot.
--------------------
Error code: 50281
Module: 16
LineInfo: 3fec04e376b89d89
Fields:  $module : hv_srv_vs_50058
Message: VSS writer 'Microsoft Hyper-V VSS Writer' with class ID '66841CD4-6DED-4F4B-8F17-FD23F8DDC3DE' has failed to process the snapshot.
--------------------
Error code: 65520
Module: 0
LineInfo: bd28fdbd64edb8f8
Fields:  code : 2147754996, $module : hv_srv_vs_50058
Message: Unknown Win32 error
--------------------

0 Users found this helpful

Hi,

please check if you are using pass-through disks, there are known limitations for Hyper-V:

Microsoft Hyper-V does not provide control over pass-through disks to a host system. As a result, the Microsoft Software Shadow Copy provider cannot provide Agent for Hyper-V with snapshots of pass-through disks.

You can also try to install the Agent in your guest OS as mentioned in Backing up pass-through disks

 

The "Microsoft Hyper-V VSS Writer" should be listed when executing command "vssadmin list writers" and should be in error-free state.

There is also a message Attempt to access emulated disk for non-initialized object in your log. Maybe the VSS writer cannot reserve space for snapshot operation, this can be caused when your VMs haven't enough free diskspace or the virtual filesystem is not recognized by Hyper-V.

You can try to disable Multi-Volume-Snapshots and VSS in backup plan options.

Is the Linux Integration package installed in guest OS?

Thanks for quick response.

I've checked all servers and for "Microsoft Hyper-V VSS Writer" all are in state: Stable , after backup windows VM there is no error.

When I backup Linux VM State: (8) Failed
Last error: Non-retryable error
After restarting the "Hyper-V Virtual Machine Management" service state is with no error.

All VM disk ared dynamic .vhdx and there is space.
All Backup options are on default
I've also tried to disable Multi-Volume-Snapshots, change the VSS snapshot provider, and no change.

One more thing is that when I start backup operatnion (with Linux VM which it cannot backup) in Acronis Backup (11.7) it is standing at 21% and when I canncel it nothing happens.

 

Have you tried to install the Backup Agent in the Guest OS and let it create snapshots from "inside" instead of agentless from "outside".

According to Microsoft Technet article Supported Ubuntu virtual machines on Hyper-V you have to install the VSS daemon separately in LTS versions and you should install the latest HWE kernel (see Note 5 in the linked article).

 

I seem to be having this exact same issue, specifically trying to backup an OpenVPN Access Server VM shown here which uses Linux:
https://openvpn.net/index.php/access-server/download-openvpn-as-vm/202…

 

Were you able to resolve your issue?

hi,

I've resolve my issue by giving VM folder acronis agent acces rights as descriped here:

https://forum.acronis.com/forum/30552

hope it help you too.

 

Thanks so much for the reply.

In my case only the Linux VM backup fails, other VMs on the server backup without issue.

I see the post in your link saying "i solved this problem by giving the backup destination folder/partition access rights for acronis agent".

 

If you have a moment could you go into more detail about what you did to resolve your issue?  Want to make sure I understand correctly.

Thank you.

I have server on windows server (vm with linux are under hyper-v) so I needed to gave the folder sercurity read/access (with VM vhd snapshot and all) in windows too acronis agent user.

Thank you.  Was this the backup destination folder, or the folder that holds your VHDX files?

Thank you so much.

I have given read/write/modify access to the Acronis Agent User for these folders:

C:\ProgramData\Microsoft\Windows\Hyper-V
D:\Virtual Machines (which holds my VHDX files)

..but unfortunately this did not resolve my issue.  The job backing up my Linux VM is still hanging at 21%, and will eventually error out I'm sure.

:(

 

only D:\Virtual Machines with inherit on to all folder/files will be enough.
just to be sure add also Acronis Remote User.

You should also check in your Linux VM that you have all services to backup installed for hyper-v to be able to backup.

I don't know the detalis so you need to ask acronis.

Good luck.