lamw / ghettoVCB

ghettoVCB
MIT License
1.29k stars 365 forks source link

Backup fails, only one vm has the issue #232

Open wayneleetw opened 3 years ago

wayneleetw commented 3 years ago

Hi,

I have one Vm having the backup issue, I ran the debug mode but i didn't see any clue why the issue happened. the other Vms in the same host (ESXi 6.5) are all working good but only this one fails. Please give me advice..

2021-03-19 00:16:06 -- info: ============================== ghettoVCB LOG START ==============================

2021-03-19 00:16:06 -- debug: Succesfully acquired lock directory - /tmp/ghettoVCB.work

2021-03-19 00:16:06 -- debug: HOST VERSION: VMware ESXi 6.5.0 build-10719125
2021-03-19 00:16:06 -- debug: HOST LEVEL: VMware ESXi 6.5.0 Update 2
2021-03-19 00:16:06 -- debug: HOSTNAME: vm01.domain.local

2021-03-19 00:16:06 -- info: CONFIG - USING GLOBAL GHETTOVCB CONFIGURATION FILE = /vmfs/volumes/Sharedrive/vmback_ghettoVCB/ghettoVCB_VM01.conf
2021-03-19 00:16:06 -- info: CONFIG - VERSION = 2019_01_06_4
2021-03-19 00:16:06 -- info: CONFIG - GHETTOVCB_PID = 8656246
2021-03-19 00:16:06 -- info: CONFIG - VM_BACKUP_VOLUME = /vmfs/volumes/Sharedrive/vmback_ghettoVCB/BACKUP/VM01
2021-03-19 00:16:06 -- info: CONFIG - ENABLE_NON_PERSISTENT_NFS = 0
2021-03-19 00:16:06 -- info: CONFIG - VM_BACKUP_ROTATION_COUNT = 3
2021-03-19 00:16:06 -- info: CONFIG - VM_BACKUP_DIR_NAMING_CONVENTION = 2021-03-19_00-16-05
2021-03-19 00:16:06 -- info: CONFIG - DISK_BACKUP_FORMAT = thin
2021-03-19 00:16:06 -- info: CONFIG - POWER_VM_DOWN_BEFORE_BACKUP = 0
2021-03-19 00:16:06 -- info: CONFIG - ENABLE_HARD_POWER_OFF = 0
2021-03-19 00:16:06 -- info: CONFIG - ITER_TO_WAIT_SHUTDOWN = 3
2021-03-19 00:16:06 -- info: CONFIG - POWER_DOWN_TIMEOUT = 5
2021-03-19 00:16:06 -- info: CONFIG - SNAPSHOT_TIMEOUT = 15
2021-03-19 00:16:06 -- info: CONFIG - LOG_LEVEL = debug
2021-03-19 00:16:06 -- info: CONFIG - BACKUP_LOG_OUTPUT = /vmfs/volumes/Sharedrive/vmback_ghettoVCB/log/ghettoVCB_SAP_userpp01.log
2021-03-19 00:16:06 -- info: CONFIG - ENABLE_COMPRESSION = 0
2021-03-19 00:16:06 -- info: CONFIG - VM_SNAPSHOT_MEMORY = 0
2021-03-19 00:16:06 -- info: CONFIG - VM_SNAPSHOT_QUIESCE = 0
2021-03-19 00:16:06 -- info: CONFIG - ALLOW_VMS_WITH_SNAPSHOTS_TO_BE_BACKEDUP = 0
2021-03-19 00:16:06 -- info: CONFIG - VMDK_FILES_TO_BACKUP = all
2021-03-19 00:16:06 -- info: CONFIG - VM_SHUTDOWN_ORDER =
2021-03-19 00:16:06 -- info: CONFIG - VM_STARTUP_ORDER =
2021-03-19 00:16:06 -- info: CONFIG - RSYNC_LINK = 0
2021-03-19 00:16:06 -- info: CONFIG - BACKUP_FILES_CHMOD =
2021-03-19 00:16:06 -- info: CONFIG - EMAIL_LOG = 0
2021-03-19 00:16:06 -- info: CONFIG - ENABLE NFS IO HACK = 0

2021-03-19 00:16:10 -- debug: Storage Information before backup:
2021-03-19 00:16:10 -- debug: SRC_DATASTORE: iSCSI-TargetA
2021-03-19 00:16:10 -- debug: SRC_DATASTORE_CAPACITY: 63488.0
1675.2 GB
2021-03-19 00:16:10 -- debug: SRC_DATASTORE_FREE: 685.4 GB
2021-03-19 00:16:10 -- debug: SRC_DATASTORE_BLOCKSIZE: 1
2021-03-19 00:16:10 -- debug: SRC_DATASTORE_MAX_FILE_SIZE: 256 GB
2021-03-19 00:16:10 -- debug:
2021-03-19 00:16:10 -- debug: DST_DATASTORE: Sharedrive
2021-03-19 00:16:10 -- debug: DST_DATASTORE_CAPACITY: 63488.0
16069.9 GB
2021-03-19 00:16:10 -- debug: DST_DATASTORE_FREE: 9566.9 GB
2021-03-19 00:16:10 -- debug: DST_DATASTORE_BLOCKSIZE: NA
2021-03-19 00:16:10 -- debug: DST_DATASTORE_MAX_FILE_SIZE: NA
2021-03-19 00:16:10 -- debug:
2021-03-19 00:16:10 -- info: ###### Final status: ERROR: All VMs failed! ######

2021-03-19 00:16:10 -- debug: Succesfully removed lock directory - /tmp/ghettoVCB.work

2021-03-19 00:16:10 -- info: ============================== ghettoVCB LOG END ================================

Wayne

wayneleetw commented 3 years ago

Guys, I found the issue coming from, so the reason it failed because I took a snapshot on ESXi Server(6.5 Free license) but I didn't delete it. it caused the issue, and after I clean the snapshot, GhettoVCB backup goes well. Hope it helps someone also have the same issue, maybe you can go check the snapshot on you ESXi first, thanks!

Wayne