Backup errors, files are locked

  • 7019473
  • 15-Apr-2009
  • 30-Aug-2017

Environment


Reload (all version)

Situation


Some users are receiving file is locked errors when using NFS across a WAN, the connections fails and reports that a file is locked.

Resolution


In some situations, when dbcopy copies data using NFS an error may be returned, file is locked. To work around this issue, a nolock  can be added to the <profile>.conf for NFS.

1) Edit the conf file for the profile in question; /opt/beginfinite/reload/conf/<profile>.conf
2) There will be line similar to the following;

CLIENT_NFS_OPTIONS="tcp,rsize=8192,wsize=8192'

add nolock to this line, the change will look like this;

CLIENT_NFS_OPTIONS="tcp,rsize=8192,wsize=8192,nolock"

3) The next time a backup runs for this profile, the new option willl be used.

Additional Information

This article was originally published in the GWAVA knowledgebase as article ID 1141.