Azure Linux Client on Samba Share: Database is locked
Posted: Sun Apr 21, 2019 10:01 pm
Hi everybody,
I am trying to setup fah on azure. In order to maximize the effect for my free credits (from an MSDN-account, it's not from a free trial) i want to use the low-priority VMs. However, the low-priority VMs can get preempted by Azure at any time, so i thought i'll setup a samba-file-share within azure. Then i can run the VMs such that all the work-data is saved on the file share. In case a VM gets preempted it will just re-start and continue from the last checkpoint.
I've got the linux FAHClient running, but as soon as i configure it to place the work-data on the samba-share i get the following error:
and FAHCLient will exit. If i run FAHClient somewhere else (i.e. not on the samba-share) it works fine, so i suspect that FAHClient somehow does not like running this way.
I thought this is some problem with the permissions, so i have already tried mounting the samba-share with noperm and the dynperm-options, but this did not change anything.
I am pretty sure that the database is in fact not locked (at least not by an old instance of FAHClient): this happens even if i run FAHClient in a brand new empty directory.
Does anybody have any idea how i could solve this problem? Does anybody have FAHClient running with the work-directory set to a network-file-share?
Regards,
Niko
I am trying to setup fah on azure. In order to maximize the effect for my free credits (from an MSDN-account, it's not from a free trial) i want to use the low-priority VMs. However, the low-priority VMs can get preempted by Azure at any time, so i thought i'll setup a samba-file-share within azure. Then i can run the VMs such that all the work-data is saved on the file share. In case a VM gets preempted it will just re-start and continue from the last checkpoint.
I've got the linux FAHClient running, but as soon as i configure it to place the work-data on the samba-share i get the following error:
Code: Select all
21:04:22:Trying to access database...
21:04:52:ERROR:Exception: Error executing: 'CREATE TABLE IF NOT EXISTS Config (name TEXT PRIMARY KEY, value)': database is locked
I thought this is some problem with the permissions, so i have already tried mounting the samba-share with noperm and the dynperm-options, but this did not change anything.
I am pretty sure that the database is in fact not locked (at least not by an old instance of FAHClient): this happens even if i run FAHClient in a brand new empty directory.
Does anybody have any idea how i could solve this problem? Does anybody have FAHClient running with the work-directory set to a network-file-share?
Regards,
Niko