跳转到主内容

无法从 SnapMirror 副本中删除文件夹(报告为符号链接)

Views:
5
Visibility:
Internal
Votes:
0
Category:
ontap-9
Specialty:
cifs
Last Updated:

适用场景

  • ONTAP 9
  • SnapMirror
  • CIFS

问题描述

  • 在从一个系统创建 SnapMirror 卷之后, dst\subjunction pathreparse point无法删除目标卷中嵌套卷的文件夹(())

::> volume show -vserversvm0 -volume src,sub,dst -fields security-style,unix-permissions,junction-path-source,type,junction-path

vserver volume security-style unix-permissions junction-path junction-path-source type
------- ------ -------------- ---------------- ------------- -------------------- ----
svm0   dst   ntfs       ------------    /dst      RW_volume       RW
svm0   src   ntfs       ------------    /src      RW_volume       RW
svm0   sub   ntfs       ------------    /src/sub    RW_volume       RW

::> vserver security file-directory show -vserver svm0 /dst/sub
         Vserver: svm0
        File Path: /dst/sub
    File Inode Number: 97
     Security Style: ntfs
     Effective Style: unix
     DOS Attributes: 10
 DOS Attributes in Text: ----D---
Expanded Dos Attributes: -
      UNIX User Id: 0
      UNIX Group Id: 0
     UNIX Mode Bits: 777
 UNIX Mode Bits in Text: rwxrwxrwx
          ACLs: -

  • dst\sub 文件夹的不同视图(junction path (reparse point))

Total Command人 (将报告为 LNK )

clipboard_efefd0aaaee8ad3d1336ba0f16a3a13fc.png

Windows 资源管理器(将报告为快捷方式)

clipboard_eb2dc588915f4e133b347de0fe7e987d5.png

命令提示符(将报告为接合)

clipboard_e5c7084798450378900b4f49818cafd1f.png

数据包跟踪

No. Time Protocol smb2.filename smb2.reparse_tag     Info
x  x   SMB2                       Find Request SMB2_FIND_ID_BOTH_DIRECTORY_INFO Pattern: sub
x  x   SMB2    sub        REPARSE_TAG_MOUNT_POINT Create Response File: ;Find Response

 

  • 尝试访问 \ modify (权限 / 所有权) \ delete 时出现 Microsoft Windows 错误消息 dst\sub

Windows cannot access \\svm0\nsroot\dst\sub.
You do not have permission to access \\svm0\nsroot\dst\sub.
Object name: \\svm0\nsroot\dst\sub. You must have Read permissions to view the properties of this object.
An error occurred while applying security information to: \\svm0\nsroot\dst\sub. Failed to enumerate objects in the container. Unable to set owner. Access is denied.
Folder name: \\svm0\nsroot\dst\sub. Folder access denied. You need permission to perform this action.

  • 尝试获取的所有权时出现 ONTAP 错误消息 dst\sub

Security can be applied only on a file/directory

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

New to NetApp?

Learn more about our award-winning Support

This is an internal KB article and its content should not be copy/pasted and shared with people outside of NetApp. Always seek Duty Manager authentication of caller for password reset requests. If you need further assistance post a question in Knowledge Xchange