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

Forum ©XSIBackup: ©VMWare ©ESXi Backup Software


You are not logged in.

#1 2021-05-28 15:51:42

underdpt
Member
Registered: 2018-04-30
Posts: 19

Error description: can't open output file: /vmfs/volumes/...

Hello,

I'm a user of the legacy xsibackup-pro and willing to move to xsibackup-dc, so I'm doing some tests with the trial version.

Doing local backups works fine, even doing local backups through ssh (for testing purposes). But when I try to do a backup to another ESXi host through ssh, the remote folder is created but nothing is copied, i get this error for every file:

2021-05-28T16:04:18 | Error code 118 at file copy-in.c, line 118 | Error description: can't open output file: /vmfs/volumes/Backups/backups_exi2/pfsense/pfsense-Snapshot21.vmsn

I'm not sure what can be happening here, as the user sure has permissions (root user, indeed the folder is succesfully created). This is the command i'm using:

./xsibackup --replica /vmfs/volumes/datastore1/pfsense/ root@my.remote.eu:22:/vmfs/volumes/Backups/backups_exi2

This is the full output:

|---------------------------------------------------------------------------------|
||-------------------------------------------------------------------------------||
|||   (c)XSIBackup-Free 1.5.0.5: Backup & Replication Software                  |||
|||   (c)33HOPS, Sistemas de Informacion y Redes, S.L. | All Rights Reserved    |||
||-------------------------------------------------------------------------------||
|---------------------------------------------------------------------------------|
                   (c)Daniel J. Garcia Fidalgo | info@33hops.com
|---------------------------------------------------------------------------------|
System Information: ESXi, Kernel 6 Major 5 Minor 0 Patch 0
-------------------------------------------------------------------------------------------------------------
License: unlicensed trial version, remaining trial time: 91:55:14 | (c)XSIBackup-Free
-------------------------------------------------------------------------------------------------------------
Remote system: ESXi
-------------------------------------------------------------------------------------------------------------
PID: 51003851, Running job as: root
-------------------------------------------------------------------------------------------------------------
Remote xsibackup binary found at: /scratch/XSI/XSIBackup-DC/xsibackup
-------------------------------------------------------------------------------------------------------------
SOURCE: /vmfs/volumes/5ad9b7f8-b3e2885a-2796-e840f20ae690/pfsense
-------------------------------------------------------------------------------------------------------------
(c)XSIBackup-Free replicating data to /vmfs/volumes/Backups/backups_exi2
-------------------------------------------------------------------------------------------------------------
Performing --replica action
-------------------------------------------------------------------------------------------------------------
Item number 1 in this job
-------------------------------------------------------------------------------------------------------------
pfsense Hardware Version is: 13
-------------------------------------------------------------------------------------------------------------
Virtual Machine Name: pfsense
-------------------------------------------------------------------------------------------------------------
Creating snapshot VM : pfsense (powered on)
-------------------------------------------------------------------------------------------------------------
*** Snapshot was successfully created ***
-------------------------------------------------------------------------------------------------------------
Virtual Machine: pfsense
-------------------------------------------------------------------------------------------------------------
Backup start date: 2021-05-28T16:04:57
-------------------------------------------------------------------------------------------------------------
2021-05-28 16:04:57 | Backing up 23 files, total size is 17.13 GB
-------------------------------------------------------------------------------------------------------------
    NUMBER                                                         FILE             SIZE          PROGRESS
-------------------------------------------------------------------------------------------------------------
    1/23                                                    pfsense.vmx          3.26 KB    | Done   0.00%
-------------------------------------------------------------------------------------------------------------
2021-05-28T16:05:01 | Error code 118 at file copy-in.c, line 118 | Error description: can't open output file: /vmfs/volumes/Backups/backups_exi2/pfsense/pfsense.vmx
-------------------------------------------------------------------------------------------------------------
    2/23                                              pfsense-flat.vmdk         16.00 GB    | Done   0.00%
-------------------------------------------------------------------------------------------------------------
2021-05-28T16:05:02 | Error code 118 at file copy-in.c, line 118 | Error description: can't open output file: /vmfs/volumes/Backups/backups_exi2/pfsense/pfsense-flat.vmdk
-------------------------------------------------------------------------------------------------------------
    3/23                                                   pfsense.vmdk        587.00 B     | Done   0.00%
-------------------------------------------------------------------------------------------------------------
2021-05-28T16:05:03 | Error code 118 at file copy-in.c, line 118 | Error description: can't open output file: /vmfs/volumes/Backups/backups_exi2/pfsense/pfsense.vmdk
-------------------------------------------------------------------------------------------------------------
    4/23                                                   pfsense.vmsd        443.00 B     | Done   0.00%
-------------------------------------------------------------------------------------------------------------
2021-05-28T16:05:04 | Error code 118 at file copy-in.c, line 118 | Error description: can't open output file: /vmfs/volumes/Backups/backups_exi2/pfsense/pfsense.vmsd
-------------------------------------------------------------------------------------------------------------
    5/23                                                  pfsense.nvram          8.48 KB    | Done   0.00%
-------------------------------------------------------------------------------------------------------------
2021-05-28T16:05:04 | Error code 118 at file copy-in.c, line 118 | Error description: can't open output file: /vmfs/volumes/Backups/backups_exi2/pfsense/pfsense.nvram
-------------------------------------------------------------------------------------------------------------
    6/23                                                   vmware-1.log        198.60 KB    | Done   0.00%
-------------------------------------------------------------------------------------------------------------
2021-05-28T16:05:05 | Error code 118 at file copy-in.c, line 118 | Error description: can't open output file: /vmfs/volumes/Backups/backups_exi2/pfsense/vmware-1.log
-------------------------------------------------------------------------------------------------------------
    7/23                                                   vmware-2.log        237.34 KB    | Done   0.00%
-------------------------------------------------------------------------------------------------------------
2021-05-28T16:05:05 | Error code 118 at file copy-in.c, line 118 | Error description: can't open output file: /vmfs/volumes/Backups/backups_exi2/pfsense/vmware-2.log
-------------------------------------------------------------------------------------------------------------
    8/23                                                   pfsense.vmxf         47.00 B     | Done   0.00%
-------------------------------------------------------------------------------------------------------------
2021-05-28T16:05:06 | Error code 118 at file copy-in.c, line 118 | Error description: can't open output file: /vmfs/volumes/Backups/backups_exi2/pfsense/pfsense.vmxf
-------------------------------------------------------------------------------------------------------------
    9/23                                                   vmware-3.log        246.13 KB    | Done   0.00%
-------------------------------------------------------------------------------------------------------------
2021-05-28T16:05:07 | Error code 118 at file copy-in.c, line 118 | Error description: can't open output file: /vmfs/volumes/Backups/backups_exi2/pfsense/vmware-3.log
-------------------------------------------------------------------------------------------------------------
   10/23                                                pfsense.vmx.tmp          3.25 KB    | Done   0.00%
-------------------------------------------------------------------------------------------------------------
2021-05-28T16:05:08 | Error code 118 at file copy-in.c, line 118 | Error description: can't open output file: /vmfs/volumes/Backups/backups_exi2/pfsense/pfsense.vmx.tmp
-------------------------------------------------------------------------------------------------------------
   11/23                                       pfsense-flat.vmdk___hash         82.00 B     | Done   0.00%
-------------------------------------------------------------------------------------------------------------
2021-05-28T16:05:09 | Error code 118 at file copy-in.c, line 118 | Error description: can't open output file: /vmfs/volumes/Backups/backups_exi2/pfsense/pfsense-flat.vmdk___hash
-------------------------------------------------------------------------------------------------------------
   12/23                                               pfsense.vmsd.tmp         44.00 B     | Done   0.00%
-------------------------------------------------------------------------------------------------------------
2021-05-28T16:05:09 | Error code 118 at file copy-in.c, line 118 | Error description: can't open output file: /vmfs/volumes/Backups/backups_exi2/pfsense/pfsense.vmsd.tmp
-------------------------------------------------------------------------------------------------------------
   13/23                                                   vmware-4.log        552.49 KB    | Done   0.00%
-------------------------------------------------------------------------------------------------------------
2021-05-28T16:05:10 | Error code 118 at file copy-in.c, line 118 | Error description: can't open output file: /vmfs/volumes/Backups/backups_exi2/pfsense/vmware-4.log
-------------------------------------------------------------------------------------------------------------
   14/23                                  vmx-pfsense-2782880133-1.vswp                    [open excluded]
-------------------------------------------------------------------------------------------------------------
   15/23                                                pfsense.vmx.lck                 [skipped excluded]
-------------------------------------------------------------------------------------------------------------
   16/23                                                   pfsense.vmx~          3.25 KB    | Done   0.00%
-------------------------------------------------------------------------------------------------------------
2021-05-28T16:05:11 | Error code 118 at file copy-in.c, line 118 | Error description: can't open output file: /vmfs/volumes/Backups/backups_exi2/pfsense/pfsense.vmx~
-------------------------------------------------------------------------------------------------------------
   17/23                                                     vmware.log        254.08 KB    | Done   0.00%
-------------------------------------------------------------------------------------------------------------
2021-05-28T16:05:12 | Error code 118 at file copy-in.c, line 118 | Error description: can't open output file: /vmfs/volumes/Backups/backups_exi2/pfsense/vmware.log
-------------------------------------------------------------------------------------------------------------
   18/23                                          pfsense-a5df6185.vswp                    [open excluded]
-------------------------------------------------------------------------------------------------------------
   19/23                                               pfsense-ctk.vmdk                 [skipped excluded]
-------------------------------------------------------------------------------------------------------------
   20/23                                        pfsense-Snapshot22.vmsn         27.96 KB    | Done   0.00%
-------------------------------------------------------------------------------------------------------------
2021-05-28T16:05:13 | Error code 118 at file copy-in.c, line 118 | Error description: can't open output file: /vmfs/volumes/Backups/backups_exi2/pfsense/pfsense-Snapshot22.vmsn
-------------------------------------------------------------------------------------------------------------
   21/23                                      pfsense-000001-delta.vmdk                 [skipped excluded]
-------------------------------------------------------------------------------------------------------------
   22/23                                            pfsense-000001.vmdk                 [skipped excluded]
-------------------------------------------------------------------------------------------------------------
   23/23                                        pfsense-000001-ctk.vmdk                 [skipped excluded]
-------------------------------------------------------------------------------------------------------------
Total size:                                                                     16.00 GB    | Done 100.00%
-------------------------------------------------------------------------------------------------------------
*** Snapshot was removed ***
-------------------------------------------------------------------------------------------------------------
Backup end date: 2021-05-28T16:05:13
-------------------------------------------------------------------------------------------------------------
Time taken: 00:00:16 (16 sec.)
-------------------------------------------------------------------------------------------------------------
Total time:       16 sec.
-------------------------------------------------------------------------------------------------------------
Full file speed:                                                                          1024.09 mb/s
-------------------------------------------------------------------------------------------------------------
Real data speed:                                                                17592186044416.00 mb/s
-------------------------------------------------------------------------------------------------------------
Item backup completed with errors
-------------------------------------------------------------------------------------------------------------
Final checksum: 0 bytes were sent and confirmed to have been written remotely
-------------------------------------------------------------------------------------------------------------
2021-05-28T16:05:19 | Error code 4291 at file xsibackup.c, line 4291 | Error description: some error/s were raised while backing up: /vmfs/volumes/5ad9b7f8-b3e2885a-2796-e840f20ae690/pfsense, error count is: 16
-------------------------------------------------------------------------------------------------------------
Unlocked backup               OK
-------------------------------------------------------------------------------------------------------------
Removed PID                   OK

Offline

#2 2021-05-28 16:06:30

admin
Administrator
Registered: 2017-04-21
Posts: 2,072

Re: Error description: can't open output file: /vmfs/volumes/...

You are commiting a conceptual error. Your job should read:

./xsibackup --replica "VMs(pfsense)" root@my.remote.eu:22:/vmfs/volumes/Backups/backups_exi2

Offline

#3 2021-05-28 16:13:28

underdpt
Member
Registered: 2018-04-30
Posts: 19

Re: Error description: can't open output file: /vmfs/volumes/...

Thanks for your quick answer!!!

My command did work when doing backups through ssh to the local server, so I assumed it would work pointing to a remote server.

Anyway, changing the command to the one suggested did not work, the error being the same :-(

Offline

#4 2021-05-28 16:41:13

admin
Administrator
Registered: 2017-04-21
Posts: 2,072

Re: Error description: can't open output file: /vmfs/volumes/...

Forget our previous statement, we messed up. This can then only have to do with your primary temp dir /tmp
Check whether there's a subfolder by xsi: /tmp/xsi/ and some numeric subfolders inside.

Temp blocks are stored in that folder and for some reason creating the tmp block is failing, why? full /tmp FS maybe?

There is some confussion around that error, we have fixed it to offer more detailed info when it is triggered. Will be available in next release.

Offline

#5 2021-05-31 05:42:59

underdpt
Member
Registered: 2018-04-30
Posts: 19

Re: Error description: can't open output file: /vmfs/volumes/...

Hello,

Ok, I finally found the culprit. It wasn't the tmp dir, there was the numeric subfolders empty, but the tmp dir was writable and not full.

This was a test machine with the old xsibackup installed. I think maybe some library was messing up and that's why it failed. Just uninstalling that xsibackup did the trick.

Thanks for your quick support!

Offline

Board footer