公用的HP_IA机器空间有限,使用cifsmount扩展空间,下载、编译源码,安装和测试产品。使用svn下载源码报错,这个在另外一篇文章中会提及。在产品启动的过程中,报错“
reason=[Stale NFS file handle]| SQLite Open DB Error,errMsg = [disk I/O error] ”。也使用过sqlite3工具,共享空间上进行测试,能open,读取库中数据,就报错“errMsg = [disk I/O error]”。后就在网上搜索,发现由以下解释:
As it turns out, you cannot run SQLite over nfs due to locking issues.
This is because fcntl() file locking is broken on many NFS implementations. You should avoid putting SQLite database files on NFS if multiple processes might try to access the file at the same time.
SQLite uses reader/writer locks to control access to the database...But use
caution: this locking mechanism might not work correctly if the database file
is kept on an NFS filesystem. This is because fcntl() file locking is broken on
many NFS implementations...