#1 2020-12-13 15:18:30

wowbagger
Member
Registered: 2017-05-11
Posts: 29

Error code 665

Hi,

I'm getting Error code 665. What could be the cause?

|---------------------------------------------------------------------------------|
||-------------------------------------------------------------------------------||
|||   (c)XSIBackup-DC 1.4.2.7: 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 7 Minor 0 Patch 0
-----------------------------------------------------------------------------------------------------------
License: 00050654000000000000000090b11c1f6861
-----------------------------------------------------------------------------------------------------------
Primary TMP folder: /tmp/xsi/2742247
-----------------------------------------------------------------------------------------------------------
Secondary TMP folder: /vmfs/volumes/5f734afc-781c5998-3e6c-ecf4bbe842dc/xsibackup/tmp/2742247
-----------------------------------------------------------------------------------------------------------
PID: 2742247, Running job as: root
-----------------------------------------------------------------------------------------------------------
LZJB compression has been enabled
-----------------------------------------------------------------------------------------------------------
Block size is 1.00 MB (1048576 bytes)
-----------------------------------------------------------------------------------------------------------
Performing --backup action
-----------------------------------------------------------------------------------------------------------
Created backup folder at: /vmfs/volumes/nfs_typhon_olympus/XSI_Backup/2020_DC/20201213151720
-----------------------------------------------------------------------------------------------------------
(c)XSIBackup-DC setting repository at /vmfs/volumes/nfs_typhon_olympus/XSI_Backup/2020_DC
-----------------------------------------------------------------------------------------------------------
Located backup folder at: /vmfs/volumes/nfs_typhon_olympus/XSI_Backup/2020_DC/data
-----------------------------------------------------------------------------------------------------------
.xsitools file located: /vmfs/volumes/nfs_typhon_olympus/XSI_Backup/2020_DC/.xsitools
-----------------------------------------------------------------------------------------------------------
Item number 1 in this job
-----------------------------------------------------------------------------------------------------------
Hardware disk: /dev/disks/naa.6d0946600e2ae10026ffec6d9a6d9017
-----------------------------------------------------------------------------------------------------------
Virtual Machine Name: ansible01.infra.dileoz.network
-----------------------------------------------------------------------------------------------------------
Creating snapshot VM : ansible01.infra.dileoz.network (powered on)
-----------------------------------------------------------------------------------------------------------
*** Snapshot was successfully created ***
-----------------------------------------------------------------------------------------------------------
Created backup folder at: /vmfs/volumes/4e815752-33eb9462/XSI_Backup/2020_DC/20201213151720/ansible01.infra.dileoz.network
-----------------------------------------------------------------------------------------------------------
Lock file: /vmfs/volumes/4e815752-33eb9462/XSI_Backup/2020_DC/20201213151720/ansible01.infra.dileoz.network/.locked
Virtual Machine: ansible01.infra.dileoz.network
-----------------------------------------------------------------------------------------------------------
Backup start date: 2020-12-13T15:17:30
-----------------------------------------------------------------------------------------------------------
2020-12-13 15:17:30 | Backing up 20 files, total size is 58.29 GB
-----------------------------------------------------------------------------------------------------------
    NUMBER                                                       FILE             SIZE          PROGRESS
-----------------------------------------------------------------------------------------------------------
    1/20                   ansible01.infra.dileoz.network-5b835202.hlog        549.00 B     | Done   0.00%
-----------------------------------------------------------------------------------------------------------
FS block size: 1048576
Source file size: 549 bytes
Source file: 0 allocated blocks
Using default block size: 1048576
LZJB compression set by user
-----------------------------------------------------------------------------------------------------------
1 blocks to backup
-----------------------------------------------------------------------------------------------------------

Block 0, exists: 1, f9322789e6997ef3a162af3cbd3b1d7f0113de80;549

0 lines in .map file vs 1 detected blocks
-----------------------------------------------------------------------------------------------------------
2020-12-13T15:17:30 | Error code 665 at file dedup-in.c, line 665 | Error description: 0 lines in .map file is different to 1 detected blocks
-----------------------------------------------------------------------------------------------------------
*** Snapshot was removed ***
-----------------------------------------------------------------------------------------------------------
Removed <tmp> dir        OK
-----------------------------------------------------------------------------------------------------------
Unlocked backup          OK
-----------------------------------------------------------------------------------------------------------

Offline

#2 2020-12-13 15:33:39

wowbagger
Member
Registered: 2017-05-11
Posts: 29

Re: Error code 665

Just saw this in the ESX log:

The ramdisk 'tmp' is full. As a result, the file /tmp/xsi/2742247/ansible01.infra.dileoz.network-5b835202.hlog.map could not be written.

There were several 70M directories in /tmp/xsi/.
Removing those fixed this issue.

Do we have to clean out specific folders after an XSI run?

Offline

#3 2020-12-13 17:25:03

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

Re: Error code 665

You were faster than we were.

Yes, the issue is clear, you run out of space in the /tmp folder and the generated .map file was partially written, the deduplication process detected this inconsistency and raised the error.

(c)XSIBackup-DC should clean the /tmp/xsi folder on every run. You can remove it manually.
We'll check everything related to this clean up and eventually release a fix in next upgrade.

Offline

Board footer