Got the question from the irc channel, this was initially discussed on the fosdem jenkins booth.
Updating plugins doesn't work when the jenkins home directory is located on nfs, the failure looks like this
Caused by: java.io.IOException: Unable to delete /var/lib/jenkins/plugins/maven-plugin/WEB-INF/lib/.nfs00000000000e897d00000096
The .nfs files appear when deleting a file on nfs that is still open, in this case the jar files in the lib directory are still open and cannot be deleted.
- is related to
-
JENKINS-8550 Hudson build fails with unable to delete NFS lock file
- Open
-
JENKINS-20732 There should not be a 'Install without Restart' button on the 'Available' (updates) tab in update center
- Resolved
-
JENKINS-22205 Jenkins failed to rotate log error -- unable to delete .nfsxxxxx file with NAS Build Record Root directory
- Closed