Symptom
User gets this error with CDP 3 Disk Safe stored on NFS:
2011-01-19 16:31:00,880 ERROR - TASK(zimbra backup): Error replicating device / (0714caf7-ec47-4ba1-83fa-ffabaaee9030)
com.r1soft.backup.server.disksafe.blockstore.Rib: Failed to load block store
at com.r1soft.backup.server.disksafe.blockstore.Rf.loadDB(Rf.java:558)
at com.r1soft.backup.server.disksafe.blockstore.Rg.openR1DBNativeBlockStore(Rg.java:31)
at com.r1soft.backup.server.disksafe.blockstore.Rd.open(Rd.java:75)
at com.r1soft.backup.server.disksafe.blockstore.Ri.getBlockStore(Ri.java:65)
at com.r1soft.backup.server.disksafe.metadata.entity.RecoveryPoint.startAddMember(RecoveryPoint.java:646)
at com.r1soft.backup.server.task.DataProtectionPolicyTask.Ra(DataProtectionPolicyTask.java:1470)
at com.r1soft.backup.server.task.DataProtectionPolicyTask.Ra(DataProtectionPolicyTask.java:1361)
at com.r1soft.backup.server.task.DataProtectionPolicyTask.Rc(DataProtectionPolicyTask.java:943)
at com.r1soft.backup.server.task.DataProtectionPolicyTask.run(DataProtectionPolicyTask.java:398)
at com.r1soft.backup.server.task.scheduler.TaskRunner.run(TaskRunner.java:155)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
Caused by: java.sql.SQLException: database is locked
at com.r1soft.r1db.DB.throwex(DB.java:289)
at com.r1soft.r1db.NativeDB.prepare(Native Method)
at com.r1soft.r1db.DB.prepare(DB.java:115)
at com.r1soft.r1db.Stmt.execute(Stmt.java:82)
at com.r1soft.backup.server.disksafe.blockstore.Rf.configPragmas(Rf.java:441)
at com.r1soft.backup.server.disksafe.blockstore.Rf.loadDB(Rf.java:529)
...
Setup is a CDP 3.8.2 on CentOS backing up to a NetApp SAN over NFS3.
Cause
CDP 3.0 uses file locks on the block store to protect the block store from another instance of CDP accidentally trying to open it.
Resolution
Resolution is starting nfslock on the Linux NFS client where CDP Server is running.
To start nfslock, run the following command:
/etc/init.d/nfslock start
See the "Linux NFS configuration services" article in http://www.dba-oracle.com/oracle_tips_linux_nfs.htm for more information.
Related Articles
Page: Error - Caused by Java SQL SQLException Database Is Locked (Knowledge Base) Labels: nfs_3, disk_safe_3, troubleshoot_3 |
Page: Error - Linux cdp agent fails with "Floating Point Exception" (Knowledge Base) Labels: nfs_3, disk_safe_3, troubleshoot_3 |
Page: BMR of a Citrix Xen 6.0 paravirtualized VM (Knowledge Base) Labels: bare-metal_restore_3, disk_safe_3, partition_3, file_system_3, bmr_3, citrix_3, xen_3, pv_3, hvm_3 |
Page: Setting Permissions on SSHFS File System (Knowledge Base) Labels: disk_safe_3, troubleshoot_3 |
Page: Assigning Backups to a Different Disk Safe (Knowledge Base) Labels: disk_safe_3 |
Page: Error - Caused by Java SQL SQLException Database Is Locked (Knowledge Base) Labels: nfs_3, disk_safe_3, troubleshoot_3 |
Page: Error - Could Not Create Disk Safe Directory (Knowledge Base) Labels: disk_safe_3, troubleshoot_3, cdp_server_3 |
Page: Error - Location Does Not Contain a Valid Disk Safe (Knowledge Base) Labels: disk_safe_3, troubleshoot_3 |
Page: Using Two Policies per Agent (Knowledge Base) Labels: disk_safe_3, policy_3, agent_3, troubleshoot_3, volumes_3 |
Page: Error - Linux cdp agent fails with "Floating Point Exception" (Knowledge Base) Labels: nfs_3, disk_safe_3, troubleshoot_3 |
Labels: