SQLite Forum

Disk I/O error on cifs volume
Login
Open the database using a URI with the parameter nolock=1 or specify the VFS for your OS that does not use locking (ie, unix-none or win32-none or win32-longpath-none).

Basically all the nolock=1 URI parameter does is set the VFS to use to be the -none variant of the default VFS.

<https://sqlite.org/vfs.html>