#1 2019-06-24 08:55:12

szb
Member
Registered: 2019-06-24
Posts: 1

Segmentation fault using xsibackup

Hello,

I am getting Segmentation fault when running the program, see after the header:

###############################################################################
#
#  (c) XSIBACKUP-FREE 11.0.1 | Backup for (c) VMWARE ESXi Hypervisor by 33hops.com
#
###################################################################################

Segmentation fault
A request.key file has been generated in the root of the installation dir
You can use this request.key file to get a license for your (c) XSIDiff binary
Login here with your registered e-mail address: https://33hops.com/user-access.html
NOTICE: (c) XSIBackup kills any user launched jobs, make sure you don't overlap manual jobs


I was trying to evaluate the Onediff tool for offsite backup purposes (first on a local volume) via:
./xsibackup --backup-prog=Onediff --backup-point=/vmfs/volumes/datastore2/xsi-backup-test-destination --backup-type=custom --backup-vms="xsi-backup-test" --use-smtp=0 --backup-id=001

On my second run I get more Segmentation faults, see my output:


--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
XSIBackup PID:         15749175                                           localhost.localdomain
Fri, 21 Jun 2019 06:30:18 +0000                              IPv4:        x.x.x.x/255.255.255.0
VMware ESXi 6.5.0 build-4887370                              (c) Rsync 3.1.0 as opt. dependency
--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Backup Id:                  001                 Intel(R) Xeon(R) CPU           E5620  @ 2.40GHz
--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Alert: crontab is not installed for user root
--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
ADVICE: no SSD disks, please consider adding an SSD cache disk to improve performance
--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Backup user is: root
--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Backup program is: onediff
--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
--backup-point found at /vmfs/volumes/datastore2/xsi-backup-test-destination (filesystem: VMFS-6)
--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
E-mail Warnings
--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
The e-mail report will not be sent because of the followig reasons:
The --mail-to string has not been set
--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Getting list of all VMs...
--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
...
32     xsi-backup-test             [datastore1] xsi-backup-test/xsi-backup-test.vmx                   ubuntu64Guest      vmx-13
...
--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
VMs to backup:
--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
32     xsi-backup-test             [datastore1] xsi-backup-test/xsi-backup-test.vmx                   ubuntu64Guest      vmx-13
--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Needed room: 1 Gb.
Sparse size: 8 Gb.
Available room: 330 Gb.
--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
[xsi-backup-test] Starting backup (size is 1645M on 8192M file)
--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
XSIBackup will backup your VMs while they are running and will quiesce guest services too, so that users
can continue to use the VM while the backup is taking place. You can also run cold and warm --backup-how
--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Hot backup selected for VM: [xsi-backup-test], will not be switched off
--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
[xsi-backup-test] info: boot partition is MBR
--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
[xsi-backup-test] info: quick size check...
--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
[xsi-backup-test] info: file [xsi-backup-test_0-flat.vmdk]...
--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
[xsi-backup-test] info: file size check | OK [ 8589934592 bytes | 8589934592 bytes ]
--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
[xsi-backup-test] info: remote VMX file size 2989
--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
System disk CIDs 85433b97|85433b97
--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
[xsi-backup-test] (c) OneDiff algorithm
--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Mirror VM exists and the system disks CID are the same, starting OneDiff...
--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
[xsi-backup-test] info: length of .vmx file before OneDiff phase is 3169
--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Snapshot & Quiescing
--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
[xsi-backup-test] info: VMWare Tools detected, taking snapshot QUIESCED(false)...
[xsi-backup-test] info: set argument --snapshot=doquiesce to quiesce your VMs
--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
[xsi-backup-test] info: round 2
--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
[xsi-backup-test] info: snapshot taken, quiescing status:
--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Initiating OneDiff differential backup...
--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
[xsi-backup-test] info: delta remains cleaned up at mirror VM [xsi-backup-test_XSIBAK]
--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
[xsi-backup-test] info: transfering snapshot file [xsi-backup-test-Snapshot1.vmsn]
Segmentation fault
--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
[xsi-backup-test] info: transfering snapshot file [xsi-backup-test_0-000001.vmdk]
Segmentation fault
--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
[xsi-backup-test] info: transfering snapshot file [xsi-backup-test_0-000001-delta.vmdk]
Segmentation fault
--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
[xsi-backup-test] info: length of remote .vmx file after copying it is 2988
[xsi-backup-test] info: length of remote .vmx after replacing name is 2995
[xsi-backup-test] info: name changed to [xsi-backup-test_XSIBAK]
--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Removing hot snapshot & merging data
--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
[xsi-backup-test] info: OneDiff backup differential data (1) merged with base data
--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
[xsi-backup-test] info: the backup mirror VM [xsi-backup-test_XSIBAK] Id 33 has been created
--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
[xsi-backup-test] info: diff mirror VM reloaded
--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
[xsi-backup-test] info: deleting snapshot at [xsi-backup-test_XSIBAK] Id 33...
[xsi-backup-test] info: all snapshots removed
--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
[xsi-backup-test] info: Updating CID at [/vmfs/volumes/datastore2/xsi-backup-test-destination/xsi-backup-test/xsi-backup-test_0.vmdk]
[xsi-backup-test] info: finished OneDiff backup, CID updated
--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
--------------------------------------------------------------------------------------------
|         Backup Certification and Trivial Check is not available in XSIBACKUP-FREE        |
|                          Get XSIBACKUP-PRO at http://33hops.com                          |
--------------------------------------------------------------------------------------------

--------------------------------------------------------------------------------------------
|              Backup of ESXi configuration is not available in XSIBACKUP-FREE             |
|                          Get XSIBACKUP-PRO at http://33hops.com                          |
--------------------------------------------------------------------------------------------

No errors detected in backup
--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Backup finished
Tip: no chained backups scheduled, set --on-success and/or --on-error arguments to chain a backup
--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
XSIBACKUP_EXIT_STATUS=0
Killed

Offline

#2 2019-07-01 09:23:42

admin
Administrator
Registered: 2017-04-21
Posts: 1,367

Re: Segmentation fault using xsibackup

XSIBackup is a script, you will have to debug that on your own.

Offline

Board footer