I bought a license in 2017. At first VH worked with no issues on my NAS. But at one point i upgraded the firmware on my QNAP TS-453A to 4.4.x. Ever since then there have been issues.
1. A USB license dongle can only connect one time.
I have a virtual machine with W7 for the VH client where i need the dongle connected. I have to suspend the VM weekly for backup. After resuming the VM i can no longer attach the USB dongle via VH. When i select use device, nothing happens. Only after i unplug the dongle from my NAS and plug it in again i will get an error message from the VH client and after that i can connect the dongle again.
In addition, i noticed that i can not stop the VH server nor restart the NAS before unplugging the dongle. Some digging showed waits on kernel (don't ask for specifics, i dug into it at spring time and have since forgotten).
2. VH server hides my external SSD drive.
Trying to solve issue 1, i added AutoAttachToKernel = 0 to server config. This solved the issue with dongle (I can now connect after VM resume). However this caused a side effect which is at least as annoying. I have also a Samsung SSD drive connected via USB3 for backing up most crucial data from NAS. The backup job is configured to eject the drive after backup completion. The drive stays physically connected all the time. It is made available to NAS a few minutes before scheduled backup by such script:
echo 0 > /sys/bus/usb/devices/usb2/2-2/authorized
echo 1 > /sys/bus/usb/devices/usb2/2-2/authorized
This used to work fine until i changed the AutoAttachToKernel option for VH. Now the SSD does not re-appear after running the script and thus my backups fail (I want to keep the SSD invisible to the NAS as extra protection from ransomware). I have to stop VH server before running the script. Then it works. I have added the SSD to ignored devices list but that did not help any.
VH server version is 4.20 and the client is currently version 5.0.8.
I think QNAP changed something in QTS version 4.4 that VH server relied on.
Is there any other config option i could try? I want to have my backups start without manual intervention.