SCO 验证作业会在 /etc/systemd/system/ but 中创建到 /dev/null 的符号链接 不会将其删除
适用于
- 适用于 Oracle 数据库( SCO )的 SnapCenter 插件 4.3 , 4.4
- SAN 或 VMDK 配置
问题
- 运行 SCO 验证作业时,系统会在 /etc/systemd/system 中创建指向 /dev/null 的符号链接(符号链接),但不会自动将其删除。
- 符号链接的名称包含 "
var-opt-snapcenter-sco-backup_verify
" ,如以下示例所示。
示例:
[root@rhel2 system]# ls -l /etc/systemd/system/var-opt-snapcenter-sco-backup_*
lrwxrwxrwx 1 root root 9 Dec 9 02:04 /etc/systemd/system/var-opt-snapcenter-sco-backup_verify-rhel2_demo_netapp_com_orcl_rhel2_12-09-2020_02.02.15.6102_0-orcl-1.mount -> /dev/null
lrwxrwxrwx 1 root root 9 Dec 9 02:11 /etc/systemd/system/var-opt-snapcenter-sco-backup_verify-rhel2_demo_netapp_com_orcl_rhel2_12-09-2020_02.09.00.3082_0-orcl-1.mount -> /dev/null
lrwxrwxrwx 1 root root 9 Dec 9 02:30 /etc/systemd/system/var-opt-snapcenter-sco-backup_verify-rhel2_demo_netapp_com_orcl_rhel2_12-09-2020_02.28.05.0975_0-orcl-1.mount -> /dev/null
-
spl_<verification_job_id>.log
表示已执行 SCOsystemctl mask
以创建符号链接。
示例:
2020-12-09T02:04:38.0634223+00:00 DEBUG: SCUPlugin: SCU::Utils::FSHelper::systemctl_filesystem_ops(): systemctl filesystem ops on the file system '/var/opt/snapcenter/sco/backup_verify/rhel2_demo_netapp_com_orcl_rhel2_12-09-2020_02.02.15.6102_0/orcl/1', mask value is '1'
2020-12-09T02:04:38.0634321+00:00 DEBUG: SCUPlugin: SCU::Utils::CommandHelper::execute_command(): Running command 'systemctl mask var-opt-snapcenter-sco-backup_verify-rhel2_demo_netapp_com_orcl_rhel2_12-09-2020_02.02.15.6102_0-orcl-1.mount' with timeout 600
2020-12-09T02:04:38.0866235+00:00 DEBUG: SCUPlugin: SCU::Utils::CommandHelper::execute_command(): Command 'systemctl mask var-opt-snapcenter-sco-backup_verify-rhel2_demo_netapp_com_orcl_rhel2_12-09-2020_02.02.15.6102_0-orcl-1.mount' successfully executed