SnapDrive无法运行快照、并出现5分钟超时或锁定文件错误
适用场景
- SnapDrive for Unix ( SDU )
- 适用于 Oracle 的 Snap Manager ( SMO )
- SnapManager for SAP ( SMSAP )
问题描述
- SnapDrive无法创建快照、并在
sd-trace.log.#
跟踪文件中发现以下错误:
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.
- 由于SDU需要超过7分钟才能完成此操作、因此在SMO或SMSAP报告中、您可能会看到以下内容:
[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
后面是Java
ProcessExecutionException
跟踪。但是、 延长SDU的超时时间 将显示第一个错误。