I noticed that image backups are sometimes getting failed or completed with exceptions. It shows some flat files were existing in data store and causing this issue. Can someone please explain more about flat files (why/when it is getting created, what does it actually do) etc? Thanks
2014-12-16 12:34:58 avvcbimage FATAL <0000>: [IMG0002] The datastore information from VMX '[XXXXXXXXXX] XXXXXXXXXX / XXXXXXXXXX.vmx' will not permit a restore or backup. (Log #1) 2014-12-16 12:34:58 avvcbimage Error <0000>: [IMG0009] createSnapshot: snapshot creation failed (Log #1)
2014-12-16 12:34:58 avvcbimage FATAL <0000>: [IMG0002] The datastore information from VMX '[XXXXXXXXXX] XXXXXXXXXX / XXXXXXXXXX.vmx' will not permit a restore or backup.
2014-12-16 12:34:58 avvcbimage Info <9772>: Starting graceful (staged) termination, Too many pre-existing snapshots on the datastore will not permit a restore or backup. (wrap-up stage)
Are you able to manually (through vCenter) take a snapshot? Is the VM running from a snapshot (orphaned or not)? Can you Storage vMotion the VM to another datastore?
I see nothing in the snippet of error message about flat files, but I'd be surprised if there were any flat files involved, as this is an error backing up a VM, not a file system.
2014-12-16 12:34:58 avvcbimage FATAL <0000>: [IMG0002] The datastore information from VMX '[XXXXXXXXXX] XXXXXXXXXX / XXXXXXXXXX.vmx' will not permit a restore or backup. (Log #1) 2014-12-16 12:34:58 avvcbimage Error <0000>: [IMG0009] createSnapshot: snapshot creation failed (Log #1)
2014-12-16 12:34:58 avvcbimage FATAL <0000>: [IMG0002] The datastore information from VMX '[XXXXXXXXXX]XXXXXXXXXX / XXXXXXXXXX.vmx' will not permit a restore or backup.
2014-12-16 12:34:58 avvcbimage Info <9772>: Starting graceful (staged) termination, Too many pre-existing snapshots on the datastore will not permit a restore or backup. (wrap-up stage)
The above error indicates you have orphaned snapshot on the datastore, there are two ways to check this, if you have proxycp.jar installed on your avamar server, you can putty in and run, #java -jar proxycp.jar --listsnapshots 2>/dev/null | grep Snapshot, this command will list all the existing snapshot alongwith the [hidden] which is your orphaned snapshot
second way to check this is by browsing the datastore to the VM folder which holds your .vmx and vmdk files look for vmdk, These vmdk's end in 00000x.vmdk that is your orphaned snapshot. Once you work with your VM team on how to remove these orphaned snapshot and have them work on removing it, your backups should be successful.
J_H_
2 Intern
•
498 Posts
1538
0
Posted December 9th, 2014 07:00
flat files are just that plain old files
but you do not give enough info for anybody to help
what kind of backup are you doing
what is the error