1 Reply Latest reply on Nov 17, 2014 8:36 AM by mmerlone

    ESXi 5.5 - ERROR: No VMs backed up! (dry run ok)

    mmerlone Lurker

      Hi all,

       

      Scenario: Dell PE420 + MD3200 SAS connected (no iSCSI) + external NFS server to store backups. No SATA drives, either physical nor virtual. No snapshot, no disk bigger than 2TB, no volatile NFS (permanent datastore), just trying to backup a VM from DAS to NFS. VM _does_ have an independent disk though, but this has been removed from scope on conf file ( VMDK_FILES_TO_BACKUP = Ceres.vmdk (16GB)).

       

      VMWare host: VMkernel andromeda 5.5.0 #1 SMP Release build-1331820 Sep 18 2013 23:08:31 x86_64 GNU/Linux

      Ceres VM: Linux ceres 3.13.0-39-generic #66~precise1-Ubuntu SMP Wed Oct 29 09:56:49 UTC 2014 x86_64 x86_64 x86_64 GNU/Linux

       

      Dry run:

       

      /opt/ghettoVCB-master # ./ghettoVCB.sh -g ceres -m Ceres -d dryrun

      Logging output to "/tmp/ghettoVCB-2014-11-17_13-46-54-39122417.log" ...

      2014-11-17 13:46:55 -- info: ============================== ghettoVCB LOG START ==============================

       

      2014-11-17 13:46:55 -- info: CONFIG - USING GLOBAL GHETTOVCB CONFIGURATION FILE = ceres

      2014-11-17 13:46:55 -- info: CONFIG - VERSION = 2013_26_11_2

      2014-11-17 13:46:55 -- info: CONFIG - GHETTOVCB_PID = 39122417

      2014-11-17 13:46:55 -- info: CONFIG - VM_BACKUP_VOLUME = /vmfs/volumes/PHOBOS_NFS_ISOS

      2014-11-17 13:46:55 -- info: CONFIG - VM_BACKUP_ROTATION_COUNT = 2

      2014-11-17 13:46:55 -- info: CONFIG - VM_BACKUP_DIR_NAMING_CONVENTION = 2014-11-17_13-46-54

      2014-11-17 13:46:55 -- info: CONFIG - DISK_BACKUP_FORMAT = thin

      2014-11-17 13:46:55 -- info: CONFIG - POWER_VM_DOWN_BEFORE_BACKUP = 0

      2014-11-17 13:46:55 -- info: CONFIG - ENABLE_HARD_POWER_OFF = 0

      2014-11-17 13:46:55 -- info: CONFIG - ITER_TO_WAIT_SHUTDOWN = 3

      2014-11-17 13:46:55 -- info: CONFIG - POWER_DOWN_TIMEOUT = 5

      2014-11-17 13:46:55 -- info: CONFIG - SNAPSHOT_TIMEOUT = 15

      2014-11-17 13:46:55 -- info: CONFIG - LOG_LEVEL = dryrun

      2014-11-17 13:46:55 -- info: CONFIG - BACKUP_LOG_OUTPUT = /tmp/ghettoVCB-2014-11-17_13-46-54-39122417.log

      2014-11-17 13:46:55 -- info: CONFIG - ENABLE_COMPRESSION = 0

      2014-11-17 13:46:55 -- info: CONFIG - VM_SNAPSHOT_MEMORY = 0

      2014-11-17 13:46:55 -- info: CONFIG - VM_SNAPSHOT_QUIESCE = 0

      2014-11-17 13:46:55 -- info: CONFIG - ALLOW_VMS_WITH_SNAPSHOTS_TO_BE_BACKEDUP = 1

      2014-11-17 13:46:55 -- info: CONFIG - VMDK_FILES_TO_BACKUP = Ceres.vmdk

      2014-11-17 13:46:55 -- info: CONFIG - VM_SHUTDOWN_ORDER =

      2014-11-17 13:46:55 -- info: CONFIG - VM_STARTUP_ORDER =

      2014-11-17 13:46:55 -- info: CONFIG - RSYNC_LINK = 0

      2014-11-17 13:46:55 -- info: CONFIG - EMAIL_LOG = 0

      2014-11-17 13:46:55 -- info:

      2014-11-17 13:46:56 -- dryrun: ###############################################

      2014-11-17 13:46:56 -- dryrun: Virtual Machine: Ceres

      2014-11-17 13:46:56 -- dryrun: VM_ID: 27

      2014-11-17 13:46:56 -- dryrun: VMX_PATH: /vmfs/volumes/DS_VMS/Ceres/Ceres.vmx

      2014-11-17 13:46:56 -- dryrun: VMX_DIR: /vmfs/volumes/DS_VMS/Ceres

      2014-11-17 13:46:56 -- dryrun: VMX_CONF: Ceres/Ceres.vmx

      2014-11-17 13:46:56 -- dryrun: VMFS_VOLUME: DS_VMS

      2014-11-17 13:46:56 -- dryrun: VMDK(s):

      2014-11-17 13:46:56 -- dryrun:     Ceres.vmdk    16 GB

      2014-11-17 13:46:56 -- dryrun: INDEPENDENT VMDK(s):

      2014-11-17 13:46:56 -- dryrun:     Ceres_1.vmdk    30 GB

      2014-11-17 13:46:56 -- dryrun: TOTAL_VM_SIZE_TO_BACKUP: 16 GB

      2014-11-17 13:46:56 -- dryrun: Snapshots can not be taken for indepdenent disks!

      2014-11-17 13:46:56 -- dryrun: THIS VIRTUAL MACHINE WILL NOT HAVE ALL ITS VMDKS BACKED UP!

      2014-11-17 13:46:56 -- dryrun: ###############################################

       

      2014-11-17 13:46:56 -- info: ###### Final status: OK, only a dryrun. ######

       

      2014-11-17 13:46:56 -- info: ============================== ghettoVCB LOG END ================================

       

       

      Real run:

       

      /opt/ghettoVCB-master # ./ghettoVCB.sh -g ceres -m Ceres

      Logging output to "/tmp/ghettoVCB-2014-11-17_13-47-00-39122597.log" ...

      2014-11-17 13:47:01 -- info: ============================== ghettoVCB LOG START ==============================

       

      2014-11-17 13:47:01 -- info: CONFIG - USING GLOBAL GHETTOVCB CONFIGURATION FILE = ceres

      2014-11-17 13:47:01 -- info: CONFIG - VERSION = 2013_26_11_2

      2014-11-17 13:47:01 -- info: CONFIG - GHETTOVCB_PID = 39122597

      2014-11-17 13:47:01 -- info: CONFIG - VM_BACKUP_VOLUME = /vmfs/volumes/PHOBOS_NFS_ISOS

      2014-11-17 13:47:01 -- info: CONFIG - VM_BACKUP_ROTATION_COUNT = 2

      2014-11-17 13:47:01 -- info: CONFIG - VM_BACKUP_DIR_NAMING_CONVENTION = 2014-11-17_13-47-00

      2014-11-17 13:47:01 -- info: CONFIG - DISK_BACKUP_FORMAT = thin

      2014-11-17 13:47:01 -- info: CONFIG - POWER_VM_DOWN_BEFORE_BACKUP = 0

      2014-11-17 13:47:01 -- info: CONFIG - ENABLE_HARD_POWER_OFF = 0

      2014-11-17 13:47:01 -- info: CONFIG - ITER_TO_WAIT_SHUTDOWN = 3

      2014-11-17 13:47:01 -- info: CONFIG - POWER_DOWN_TIMEOUT = 5

      2014-11-17 13:47:01 -- info: CONFIG - SNAPSHOT_TIMEOUT = 15

      2014-11-17 13:47:01 -- info: CONFIG - LOG_LEVEL = info

      2014-11-17 13:47:01 -- info: CONFIG - BACKUP_LOG_OUTPUT = /tmp/ghettoVCB-2014-11-17_13-47-00-39122597.log

      2014-11-17 13:47:01 -- info: CONFIG - ENABLE_COMPRESSION = 0

      2014-11-17 13:47:01 -- info: CONFIG - VM_SNAPSHOT_MEMORY = 0

      2014-11-17 13:47:01 -- info: CONFIG - VM_SNAPSHOT_QUIESCE = 0

      2014-11-17 13:47:01 -- info: CONFIG - ALLOW_VMS_WITH_SNAPSHOTS_TO_BE_BACKEDUP = 1

      2014-11-17 13:47:01 -- info: CONFIG - VMDK_FILES_TO_BACKUP = Ceres.vmdk

      2014-11-17 13:47:01 -- info: CONFIG - VM_SHUTDOWN_ORDER =

      2014-11-17 13:47:01 -- info: CONFIG - VM_STARTUP_ORDER =

      2014-11-17 13:47:01 -- info: CONFIG - RSYNC_LINK = 0

      2014-11-17 13:47:01 -- info: CONFIG - EMAIL_LOG = 0

      2014-11-17 13:47:01 -- info:

      2014-11-17 13:47:09 -- info: Initiate backup for Ceres

      2014-11-17 13:47:09 -- info: Creating Snapshot "ghettoVCB-snapshot-2014-11-17" for Ceres

      Destination disk format: VMFS thin-provisioned

      Cloning disk '/vmfs/volumes/DS_VMS/Ceres/Ceres.vmdk'...

      Clone: 100% done.

      2014-11-17 14:03:40 -- info: Removing snapshot from Ceres ...

      2014-11-17 14:03:40 -- info: Backup Duration: 16.52 Minutes

      2014-11-17 14:03:40 -- info: WARN: Ceres has some Independent VMDKs that can not be backed up!

       

      2014-11-17 14:03:45 -- info: ###### Final status: ERROR: No VMs backed up! ######

       

      2014-11-17 14:03:45 -- info: ============================== ghettoVCB LOG END ================================

       

      Any hint how to dig this further or, even better, make it work? Let me know if more info is needed.

       

      Thanks and best regards.

        • 1. Re: ESXi 5.5 - ERROR: No VMs backed up! (dry run ok)
          mmerlone Lurker

          Hi,

           

          On time: some files gets on the NFS server, not sure if it ended OK:

           

          root@phobos:/ti/VMS# du -hs Ceres/

          16G     Ceres/

          root@phobos:/ti/VMS# find Ceres/

          Ceres/

          Ceres/Ceres-2014-11-17_16-10-20

          Ceres/Ceres-2014-11-17_16-10-20/Ceres-flat.vmdk

          Ceres/Ceres-2014-11-17_16-10-20/Ceres.vmx

          Ceres/Ceres-2014-11-17_16-10-20/Ceres.vmdk

          Ceres/Ceres-2014-11-17_16-10-20/STATUS.warn

          root@phobos:/ti/VMS# cat Ceres/Ceres-2014-11-17_16-10-20/STATUS.warn

          WARN: Ceres has some Independent VMDKs that can not be backed up

          root@phobos:/ti/VMS#

           

          Best regards.