©XSIBackup-Free: Free Backup Software for ©VMWare ©ESXi

Forum ©XSIBackup: ©VMWare ©ESXi Backup Software


You are not logged in.

#1 Re: © OneDiff » ERROR DIFDELAL on snapshot remove » 2019-01-07 11:40:20

In fact, there is information about it, my fault. But probably warning or error in a log while XSI starts and checks source and destination datastore and VMs will be more helpful and time-saving of frustrated users;)
Thanks for help and involvement.

#2 Re: © OneDiff » ERROR DIFDELAL on snapshot remove » 2019-01-07 00:16:01

And finally, I found "The bug" Problem was in the file system, source datastore is VMFS5 destination VMFS6. So XSI made snapshots in another way, using a mechanism that not supported, or incompatible with VMFS6. After moving VM to VMFS6 everything works well. I don't find any mention about that in the documentation.

Thanks for a good point to look at the logs. In hostd.log I found that lines:

DiskLib_IsVMFSSparseSupported: vmfssparse is not supported on /vmfs/volumes/5b5fff52-bf239984-debc-a4bf012da28c/VM_BACKUP/Ubuntu: f532.
DISKLIB-VMFS_SPARSE : Failed to open vmfssparse disk /vmfs/volumes/5b5fff52-bf239984-debc-a4bf012da28c/VM_BACKUP/Ubuntu/"Ubuntu-000001-delta.vmdk": The specified feature is not supported by this version (24).
DISKLIB-LINK  : "/vmfs/volumes/5b5fff52-bf239984-debc-a4bf012da28c/VM_BACKUP/Ubuntu/Ubuntu-000001.vmdk" : failed to open (The specified feature is not supported by this version).
DISKLIB-CHAIN : "/vmfs/volumes/5b5fff52-bf239984-debc-a4bf012da28c/VM_BACKUP/Ubuntu/Ubuntu-000001.vmdk" : failed to open (The specified feature is not supported by this version).
DISKLIB-LIB   : Failed to open '/vmfs/volumes/5b5fff52-bf239984-debc-a4bf012da28c/VM_BACKUP/Ubuntu/Ubuntu-000001.vmdk' with flags 0x13 The specified feature is not supported by this version (24).
Load failed: cannot open /vmfs/volumes/5b5fff52-bf239984-debc-a4bf012da28c/VM_BACKUP/Ubuntu/Ubuntu-000001.vmdk (24): The specified feature is not supported by this version

#3 Re: © OneDiff » ERROR DIFDELAL on snapshot remove » 2019-01-06 19:45:11

Maybe that is a generic error, but why only on copies that were done by XSI? No process doesn't lock snapshot files. When I wipe Ubuntu.vmsd content and made a change in VMX file (change disk file name to Ubuntu.vmdk), creating and deleting new snapshots works well. So I assume "snapshot subsystem" must work well. The only snapshots created while OneDiff copy doesn't work, is it do that in another way than a manual snapshot from GUI?
BTW esxi host was rebooted many times.

#4 Re: © OneDiff » ERROR DIFDELAL on snapshot remove » 2019-01-06 14:04:50

When I try to remove all snapshots from Ubuntu _XSIBackup VM manually from ESXi web interface I've got an error:

Failed - A general system error occurred: vim.fault.GenericVmConfigFault


When I delete Ubuntu_XSIBackup VM from GUI he left in VM directory two files, looks like they are not treated as part of VM:
Ubuntu-000002-delta.vmdk
Ubuntu-Snapshot1.vmsn

In ESXi Web GUI Ubuntu_XSIBackup has disk [datastore_d2] VM_BACKUP/Ubuntu/Ubuntu-000002.vmdk, capacity 0 B

Also, I noticed Ubuntu_XSIBackup has no VMX file, only "Ubuntu.vmx.bak" after renaming to Ubuntu.vmx i can reregister VM, but can't start, error:

Cannot open the disk '/vmfs/volumes/5b5fff52-bf239984-debc-a4bf012da28c/VM_BACKUP/Ubuntu/Ubuntu-000001.vmdk' or one of the snapshot disks it depends on.

So it looks like a problem with the proper chain of snapshots, but this happens only with snapshots created with XSI OneDiff copied VM's. Snapshots of source VM's are created and deleted without any problems, also manual snapshots. What was could suddenly happen to ESXi snapshot subsystem, that hits only XSI functions, what can I do more?

Ubuntu.vmdk
# Disk DescriptorFile
version=1
encoding="UTF-8"
CID=40abdb0a
parentCID=ffffffff
isNativeSnapshot="no"
createType="vmfs"

# Extent description
RW 209715200 VMFS "Ubuntu-flat.vmdk"

# The Disk Data Base
#DDB

ddb.adapterType = "lsilogic"
ddb.geometry.cylinders = "13054"
ddb.geometry.heads = "255"
ddb.geometry.sectors = "63"
ddb.longContentID = "0a2e13619a158f2bc2a6664e40abdb0a"
ddb.thinProvisioned = "1"
ddb.uuid = "60 00 C2 9b 59 e9 d4 56-52 24 f9 3d d0 88 8b 71"
ddb.virtualHWVersion = "8"




Ubuntu-000001.vmdk
# Disk DescriptorFile
version=1
encoding="UTF-8"
CID=40abdb0a
parentCID=8a1e6dd6
isNativeSnapshot="no"
createType="vmfsSparse"
parentFileNameHint="Ubuntu.vmdk"
# Extent description
RW 209715200 VMFSSPARSE "Ubuntu-000001-delta.vmdk"

# The Disk Data Base
#DDB

ddb.longContentID = "0a2e13619a158f2bc2a6664e40abdb0a"






Ubuntu.vmsd
.encoding = "UTF-8"
snapshot.lastUID = "1"
snapshot.current = "1"
snapshot0.uid = "1"
snapshot0.filename = "Ubuntu-Snapshot1.vmsn"
snapshot0.displayName = "xsibackupdiff"
snapshot0.description = "xsibackupdiff 1"
snapshot0.createTimeHigh = "360137"
snapshot0.createTimeLow = "-1675272195"
snapshot0.numDisks = "1"
snapshot0.disk0.fileName = "Ubuntu.vmdk"
snapshot0.disk0.node = "scsi0:1"
snapshot.numSnapshots = "1"

#5 © OneDiff » ERROR DIFDELAL on snapshot remove » 2019-01-06 01:19:21

DaveK
Replies: 9

After a few months of fully successful backup on ESXi 6.5 (Build 7967591) I, unfortunately, got errors while making OneDiff copies. If I remove backups from the destination and make new initial backup everything works well, but the next backup fails while XSI tries to remove a snapshot from newly created _XSIBack, no matter from the source VM is powered on, or off. Obviously, I tried with host reboot, checking free space etc. also I have checked these solutions: https://33hops.com/esxi-snapshot-errors … tions.html. Source VM before make initial backup has no snapshots, and has only one vmdk. After spending a lot of time on various testing I've got no clue, what happened. Please for help.

Log logfile and mail below:

2019-01-06T00:40:23|  VMs to backup:
---------------------------------------------------------------------------------------------------------------------------------
2019-01-06T00:40:23|  44     Ubuntu        [datastore1] Ubuntu/Ubuntu.vmx                ubuntu64Guest           vmx-08                   
---------------------------------------------------------------------------------------------------------------------------------
2019-01-06T00:40:25|  Calculating sizes...
---------------------------------------------------------------------------------------------------------------------------------
2019-01-06T00:40:26|  Needed room: 26 Gb.
2019-01-06T00:40:26|  Sparse size: 100 Gb.
2019-01-06T00:40:26|  Available room: 1207 Gb.
---------------------------------------------------------------------------------------------------------------------------------
2019-01-06T00:40:27|  [Ubuntu] Starting backup (size is 27000M on 102400M file)
---------------------------------------------------------------------------------------------------------------------------------
2019-01-06T00:40:27|  XSIBackup will backup your VMs while they are running and will quiesce guest services too, so that users
2019-01-06T00:40:27|  can continue to use the VM while the backup is taking place. You can also run cold and warm --backup-how
---------------------------------------------------------------------------------------------------------------------------------
2019-01-06T00:40:27|  Hot backup selected for VM: [Ubuntu], the VM is off though
---------------------------------------------------------------------------------------------------------------------------------
2019-01-06T00:40:27|  [Ubuntu] info: boot partition is MBR
---------------------------------------------------------------------------------------------------------------------------------
2019-01-06T00:40:28|  [Ubuntu] info: quick size check...
---------------------------------------------------------------------------------------------------------------------------------
2019-01-06T00:40:28|  [Ubuntu] info: file [Ubuntu-flat.vmdk]...
---------------------------------------------------------------------------------------------------------------------------------
2019-01-06T00:40:28|  [Ubuntu] info: file size check | OK [ 107374182400 bytes | 107374182400 bytes ]
---------------------------------------------------------------------------------------------------------------------------------
2019-01-06T00:40:28|  [Ubuntu] info: remote VMX file size 3232
---------------------------------------------------------------------------------------------------------------------------------
2019-01-06T00:40:29|  System disk CIDs 60b707d2|60b707d2
---------------------------------------------------------------------------------------------------------------------------------
2019-01-06T00:40:29|  [Ubuntu] (c) OneDiff algorithm
---------------------------------------------------------------------------------------------------------------------------------
2019-01-06T00:40:29|  Mirror VM exists and the system disks CID are the same, starting OneDiff...
---------------------------------------------------------------------------------------------------------------------------------
2019-01-06T00:40:29|  [Ubuntu] info: length of .vmx file before OneDiff phase is 3231
---------------------------------------------------------------------------------------------------------------------------------
2019-01-06T00:40:29|  Snapshot & Quiescing
---------------------------------------------------------------------------------------------------------------------------------
2019-01-06T00:40:29|  [Ubuntu] info: the VM will not be quiesced, no tools detected
2019-01-06T00:40:29|  [Ubuntu] info: round 2
---------------------------------------------------------------------------------------------------------------------------------
2019-01-06T00:40:35|  [Ubuntu] info: snapshot taken, quiescing status: NO (no tools detected)
---------------------------------------------------------------------------------------------------------------------------------
2019-01-06T00:40:36|  Initiating OneDiff differential backup...
---------------------------------------------------------------------------------------------------------------------------------
2019-01-06T00:40:36|  [Ubuntu] info: delta remains cleaned up at mirror VM [Ubuntu_XSIBAK]
---------------------------------------------------------------------------------------------------------------------------------
[Ubuntu] info: transfering snapshot file [Ubuntu-Snapshot1.vmsn]
[32m(c) XSIDiff 1.1.1.4 licensed:
[0mA full file copy will be performed, no meta-data available
Reading from file /vmfs/volumes/datastore1/Ubuntu/Ubuntu-Snapshot1.vmsn
Writing to file /vmfs/volumes/datastore_d2/VM_BACKUP/Ubuntu/Ubuntu-Snapshot1.vmsn
Set input file offset to 0 bytes

100.00% done
Time taken: 1 seconds
Speed 1.00 mb/s
Overall speed 0.02 mb/s
---------------------------------------------------------------------------------------------------------------------------------
[Ubuntu] info: transfering snapshot file [Ubuntu-000001.vmdk]
[32m(c) XSIDiff 1.1.1.4 licensed:
[0mA full file copy will be performed, no meta-data available
Reading from file /vmfs/volumes/datastore1/Ubuntu/Ubuntu-000001.vmdk
Writing to file /vmfs/volumes/datastore_d2/VM_BACKUP/Ubuntu/Ubuntu-000001.vmdk
Set input file offset to 0 bytes

100.00% done
Time taken: 1 seconds
Speed 1.00 mb/s
Overall speed 0.00 mb/s
---------------------------------------------------------------------------------------------------------------------------------
[Ubuntu] info: transfering snapshot file [Ubuntu-000001-delta.vmdk]
[32m(c) XSIDiff 1.1.1.4 licensed:
[0mA full file copy will be performed, no meta-data available
Reading from file /vmfs/volumes/datastore1/Ubuntu/Ubuntu-000001-delta.vmdk
Writing to file /vmfs/volumes/datastore_d2/VM_BACKUP/Ubuntu/Ubuntu-000001-delta.vmdk
Set input file offset to 0 bytes

100.00% done
Time taken: 1 seconds
Speed 1.00 mb/s
Overall speed 0.20 mb/s
---------------------------------------------------------------------------------------------------------------------------------
2019-01-06T00:40:37|  [Ubuntu] info: length of remote .vmx file after copying it is 3231
2019-01-06T00:40:38|  [Ubuntu] info: length of remote .vmx after replacing name is 3238
2019-01-06T00:40:38|  [Ubuntu] info: name changed to [Ubuntu_XSIBAK]
---------------------------------------------------------------------------------------------------------------------------------
2019-01-06T00:40:38|  Removing hot snapshot & merging data
---------------------------------------------------------------------------------------------------------------------------------
2019-01-06T00:40:39|  [Ubuntu] info: OneDiff backup differential data (1) merged with base data
---------------------------------------------------------------------------------------------------------------------------------
2019-01-06T00:40:40|  [Ubuntu] info: the backup mirror VM [Ubuntu_XSIBAK] Id 45 has been created
---------------------------------------------------------------------------------------------------------------------------------
2019-01-06T00:40:40|  [Ubuntu] info: diff mirror VM reloaded
---------------------------------------------------------------------------------------------------------------------------------
2019-01-06T00:40:40|  [Ubuntu] info: deleting snapshot at [Ubuntu_XSIBAK] Id 45...
2019-01-06T00:40:40|  [Ubuntu] error DIFDELAL: error deleting all snapshots VM [Ubuntu_XSIBAK] Id 45, details: Remove All Snapshots:
2019-01-06T00:40:40|  Remove all snapshots failed
---------------------------------------------------------------------------------------------------------------------------------
2019-01-06T00:40:40|  [Ubuntu] info: Updating CID at [/vmfs/volumes/datastore_d2/VM_BACKUP/Ubuntu/Ubuntu.vmdk]
2019-01-06T00:40:40|  [Ubuntu] info: finished OneDiff backup, CID updated
---------------------------------------------------------------------------------------------------------------------------------
2019-01-06T00:40:40|  [Ubuntu] info: performing quick check...
---------------------------------------------------------------------------------------------------------------------------------
2019-01-06T00:40:40|  [Ubuntu] info: file [Ubuntu-flat.vmdk]...
2019-01-06T00:40:40|  [Ubuntu] info: file size check | OK [ 107374182400B | 107374182400B ]
---------------------------------------------------------------------------------------------------------------------------------
2019-01-06T00:40:40|  [Ubuntu] info: comparing first 500M of [Ubuntu-flat.vmdk]...
---------------------------------------------------------------------------------------------------------------------------------
2019-01-06T00:40:46|  [Ubuntu] info: (source) first 500M hash is: e4d996124d9b971bc42cc0e170c70c97a5139b10
2019-01-06T00:40:46|  [Ubuntu] info: (target) first 500M hash is: e4d996124d9b971bc42cc0e170c70c97a5139b10
---------------------------------------------------------------------------------------------------------------------------------
2019-01-06T00:40:46|  [Ubuntu] info: first 500M check | OK [ e4d996124d9b971bc42cc0e170c70c97a5139b10 ]
---------------------------------------------------------------------------------------------------------------------------------
2019-01-06T00:40:46|  [Ubuntu] info: used size check | OK [ 26998M ]
---------------------------------------------------------------------------------------------------------------------------------
2019-01-06T00:40:59|  The ESXi configuration was saved to "/vmfs/volumes/datastore_d2/VM_BACKUP"
---------------------------------------------------------------------------------------------------------------------------------
2019-01-06T00:40:59|  Errors detected in backup, check logs
---------------------------------------------------------------------------------------------------------------------------------


From mail:

Done hot backup (id: ub_local) using onediff (no compression)
Available room in device /vmfs/volumes/datastore_d2/VM_BACKUP before backup: 1207 Gb.
Sparse size on disk of the selected virtual machines: 100 Gb.
Needed room in device /vmfs/volumes/datastore_d2/VM_BACKUP for backup: 26 Gb.
(Id)VM Name    State    Size (Gb)    Stop    Copy    Start    Time (min)    Speed (mb/s)
(44) Ubuntu    OFF    26/ 100    Off yet    KO!    -    0    870/ 3303
Last error raised for the above VM:
ERROR DIFDELAL, details: [Ubuntu] error: error deleting all snapshots VM [Ubuntu_XSIBAK] Id 45, details: Remove All Snapshots: Remove all snapshots failed
Available space in device /vmfs/volumes/datastore_d2/VM_BACKUP after backup: 1207 Gb.
Complete backup elapsed time: 0 min
The ESXi configuration was saved to /vmfs/volumes/datastore_d2/VM_BACKUP
• [ Sun Jan 6 00:40:40 UTC 2019 ] ERROR (DIFDELAL), details [Ubuntu] error: error deleting all snapshots VM [Ubuntu_XSIBAK] Id 45, details: Remove All Snapshots:
• Remove all snapshots failed

#6 Re: General matters » XSI 11.0.2 GUI stopped working » 2018-08-22 21:47:16

"not one in a million" is the reply for "The GUI is more than tested" wink I've found version 10.3.2 on my disk, as always works without any problems, maybe version 11 in future will be more polished, but now anytime i touch that edition, i've got problems, as you can see, not only me.

#7 Re: General matters » XSI 11.0.2 GUI stopped working » 2018-08-21 20:14:32

It is really hard to find resolution for "unexpected redirection"? As you can see this situation it's not "one on a million" I'm was using XSI for few years without any problems, until now, this time (from version 11) contact with XSI Backup is really frustrating.
Where can i find older versions, without GUI?

#8 Re: General matters » XSI 11.0.2 GUI stopped working » 2018-08-21 16:11:19

new server, new ESXI(now 6.5), new clean installation, and after while wiggling thru GUI, the same problem:

/vmfs/volumes/datastore1/xsi-dir/src/pro/menu/main: eval: line 1: syntax error: unexpected redirection

for me there is much more problems with GUI than before, without GUI. I want use it, but i cant grrrr. Unfortunatly i can't reboot my host, just like that, i've got there services that need to be online sad

How can I add jobs to cron in old good cli way?

#9 General matters » XSI 11.0.2 GUI stopped working » 2018-07-29 10:58:48

DaveK
Replies: 15

I don't know why, but suddenly my XSI GUI stopped working properly, when I choose "Manage Backup Jobs" from menu, XSI exits with error:

/vmfs/volumes/datastore1/xsi-dir/src/pro/menu/main: eval: line 1: syntax error: unexpected ")"

First I thought that may be a jobs files problem, but after removing them error still remain
My installation is esxi 5.5, XSI started from command line works with no problem

how can I start jobs directly from command line?

#10 Re: General matters » Cron job works, but xsibackup-cron.log is empty » 2018-02-14 22:23:23

Now after I removed sed call everything is OK, without host reboot. Thank you! smile

#11 Re: General matters » Cron job works, but xsibackup-cron.log is empty » 2018-02-13 11:00:23

Ok, there's a trace. After xsi finished execution, xsibackup-cron.log appears and looks OK, there's all job execution log! So it loks like a problem with real-time output redirection to file, maybe it's buffered somewhere, and xsi writes it after execution? So how can i force xsi to dump log in real-time?

#12 Re: General matters » Cron job works, but xsibackup-cron.log is empty » 2018-02-11 12:06:38

If I delete file "xsibackup-cron.log" it appears after minute or two, so for me cron service works, and looks for file in proper place. More over, backup job starts if I set job in xsibackup-cron, but it dosen't write outs to xsibackup-cron.log I was tryed reinstall cron by ./xsibackup --install-cron, restarted cron service. Everything looks ok, but cron log is still empty. Last chance for me is host reboot, but i'm still looking for better resolution, because as I mentioned it's not so easy in my case

#13 Re: General matters » Cron job works, but xsibackup-cron.log is empty » 2018-02-11 11:46:13

ESXi 5.5.0 2068190, before upgrade, with XSI version XSIBACKUP-FREE 9.1.9 everything worked well. I'll try to reboot Host, but its not so easy, there are VM's that needs to be still online. Maybe restart cron service? or this is not a reason?

#14 Re: General matters » Cron job works, but xsibackup-cron.log is empty » 2018-02-10 19:21:19

In few steps:
-I downloaded new installation via provided script, then I renamed xsibackup(my old xsi dir) to xsibackup_.
-I renamed xsi-dir folder name to xsibackup
-I was started ./xsibackup, there was an license agreement request, and script was looking for VM, so I stoped it by ctrl+c.
-I generate license key via web site, and put it in xsibackup dir
Then I added line with commands to xsibackup-cron, with additionally "--backup-prog=onediff" switch and changed start hour to actual, plus few minutes. Xsi was start to works, xsibackup-cron.log appears but is still empty

as I mentioned before actual version is XSIBACKUP-PRO 10.2.8

#15 General matters » Cron job works, but xsibackup-cron.log is empty » 2018-02-10 18:07:37

DaveK
Replies: 11

Hello,
After upgrade from XSIBACKUP-FREE 9.1.9 to XSIBACKUP-PRO 10.2.8 i've got problem with xsibackup-cron.log, everything is working, PID is visible in xsibackup-pid, vSphereClient shows information about snapshots etc. but xsibackup-cron.log is still empty, why?

Board footer