Skip to main content
NetApp Knowledge Base

SnapDrive fails to run a snapshot with 5 minute timeout or lock file error

Views:
346
Visibility:
Public
Votes:
3
Category:
snapdrive-for-unix
Specialty:
legacy
Last Updated:

Applies to

  • SnapDrive for Unix (SDU)
  • SnapManager for Oracle (SMO)
  • SnapManager for SAP (SMSAP)

Issue

  • SnapDrive fails to create a snapshot with the following error found inside the sd-trace.log.# trace file:
 
Operation::addErrorReport: (1) FilerVolume:<STORAGE_IP>:/vol/<VOLUME> 220012 8501:Could not acquire lock file on storage system - more than one instance of snapdrive may be trying to create snapshots.

If no other instance is trying to create a snapshot (even on other hosts),
please delete file /vol/<VOLUME>/.snapdrive_lock on storage system <STORAGE_IP> and retry.
To delete the file, mount the volume <VOLUME> using junction path
and execute the command
'rm $mount_pt/.snapdrive_lock' on host.
 
  • Since SDU takes more than 7 minutes to fail that way, in the SMO or SMSAP report, you would see the following instead:
 
[ERROR]: EXE-00002: Timeout of 0:05:00.000 occurred while executing command: /usr/sbin/snapdrive snap create -fs /<ORA_MOUNT_POINT> -snapname <smo|smsap>_<SID>_h_<DATE>_<TIME>_1_UUID_0 -unrelated
[DEBUG]: SD-00003: Error creating snapshot: EXE-00002: Timeout of 0:05:00.000 occurred while executing command: /usr/sbin/snapdrive snap create -fs /<ORA_MOUNT_POINT> -snapname <smo|smsap>_<SID>_h_<DATE>_<TIME>_1_UUID_0 -unrelated
 
Following by a java ProcessExecutionException trace. However, extending the timeout for SDU will show the first error.

 

Sign in to view the entire content of this KB article.

New to NetApp?

Learn more about our award-winning Support

NetApp provides no representations or warranties regarding the accuracy or reliability or serviceability of any information or recommendations provided in this publication or with respect to any results that may be obtained by the use of the information or observance of any recommendations provided herein. The information in this document is distributed AS IS and the use of this information or the implementation of any recommendations or techniques herein is a customer's responsibility and depends on the customer's ability to evaluate and integrate them into the customer's operational environment. This document and the information contained herein may be used solely in connection with the NetApp products discussed in this document.