Open thraxarious opened 2 years ago
Verified same setup with VM works fine on 6.5U3, Something in 6.7 makes GhettoVCB fail miserably.
same issue here I am on 6.7.0 update3
trying to run with -v 10 see #203
Found the problem. in two disk systems on Esxi 6.7, the command passed is malformed.
/sbin/vmkfstools -i "/vmfs/volumes/datastore1/Test1/Test1.vmdk" -a -a buslogic -d thin "/vmfs/volumes/backups/friday//Test1/Test1-2022-08-08_20-24-50/Test1.vmdk" /sbin/vmkfstools -i "/vmfs/volumes/datastore1/Test1/Test1.vmdk" -a buslogic -d thin "/vmfs/volumes/backups/friday//Test1/Test1-2022-08-08_20-16-39/Test1.vmdk"
an extra -a is added.
It gets even worse when you add a THIRD disk. /sbin/vmkfstools -i "/vmfs/volumes/datastore1/Test1/Test1.vmdk" -a -a -a buslogic -d thin "/vmfs/volumes/backups/friday//Test1/Test1-2022-08-08_20-28-40/Test1.vmdk"
The adapter type function is deprecated. why is this still being passed to esxi?
is this still the case as i have 6.7u3 and some VMs have more than 3 VMDKs?
As outlined in Issue #266 the script functions once the ADAPTER_TYPE entry is removed from the config. Something in the script is not sensing the deprecated call and passing the -a while keeping the second part blank. This erroneously adds up each disk.
For the mean time, remove the ADAPTER_TYPE entry in your configuration and the issue goes away.
This is an odd one. I noticed it on ESXi 6.7, and fully patched it
Platform: 6.7.0 Update 2 (Build 13006603) VM: CentOS7 Datastore VMFS version: 6 VM HW version: 14 (fails when upgraded to 4 or downgraded to 13) VMDK#1 - 16GB Thick (but has been thin provisioned before and still fails) VMDK#2 - 16GB Thin (again tried with different provisioning all failing) target: NFS storage on network but also fails when done to local datastore GhettoVCB version - 2021_10_20_1
The strange thing is the backup proceeds fine with a new VM when just one disk, but add another and suddenly the volume that did backup before now fails. I've tested with 2 and 3 disks, they fail.
Was having some problems before, but when I did a manual vmkfstools backup of the individual volumes, things seemed to work just fine. This is very odd.
But, if you delete the other two disks, leaving only one:
Again, issue occurs when backup target is NFS or local datastore.