跳转到主内容

无法删除SVM "无法删除正在使用的策略"

Views:
7
Visibility:
Public
Votes:
0
Category:
ontap-9
Specialty:
core<a>2009455582</a>
Last Updated:

适用场景

  • ONTAP 9
  • QoS策略

问题描述

  • 无法删除SVM、并长时间停留在"分层"阶段。

Cluster::*> vserver show -vserver Cluster-dataSVM -instance

                  Vserver: Cluster-dataSVM
                Vserver Type: data
               Vserver Subtype: default
                Vserver UUID: 3c226ed2-a1b2-11e4-123a-123456783412
                 Root Volume: -
                  Aggregate: -
                 NIS Domain: -
         Root Volume Security Style: -
                 LDAP Client: -
        Default Volume Language Code: C.UTF-8
               Snapshot Policy: default
                Data Services: -
                   Comment:
                Quota Policy: default
         List of Aggregates Assigned: -
Limit on Maximum Number of Volumes allowed: unlimited
            Vserver Admin State: deleting
          Vserver Operational State: -
  Vserver Operational State Stopped Reason: -
              Allowed Protocols: nfs, ndmp
            Disallowed Protocols: cifs, fcp, iscsi
       Is Vserver with Infinite Volume: false
              QoS Policy Group: -
             Caching Policy Name: -
                 Config Lock: true
                IPspace Name: Default
             Foreground Process: -
           Logical Space Reporting: false
          Logical Space Enforcement: false
Default Anti_ransomware State of the Vserver's Volumes: disabled

 
  • 尝试删除时:

Cluster::*> vserver delete -vserver Cluster-dataSVM

Warning: When Vserver "Cluster-dataSVM" is deleted,
     the following objects are automatically removed as well:
     Admin-created login accounts: 2
     Do you want to continue? {y|n}: y
[Job 144412] Job is queued: Delete Vserver Cluster-dataSVM.

Error: command failed: [Job 144412] Job failed: Cannot remove policy that is in use.
    Wait a few minutes, and then try the Vserver delete operation again. If the error persists, contact technical support for assistance.

 

  • MGWD日志可能会显示以下内容:

Wed Feb 01 2023 15:56:59  10:00 [kern_mgwd:info:2327]: ERR: VSERVER::vserverDelete: Failed to remove qos_policy_group during Vserver deletion
Wed Feb 01 2023 15:56:59  10:00 [kern_mgwd:info:2327]: ERR: VSERVER::vserverDelete: Failed to remove tables under rdb in vserver delete operation,reason:Cannot remove policy that is in use.
Wed Feb 01 2023 15:56:59  10:00 [kern_mgwd:info:2327]: ERR: VSERVER::vserverDelete: Failed to remove tables under rdb in vserver delete operation,reason:Cannot remove policy that is in use.
Wed Feb 01 2023 16:13:31  10:00 [kern_mgwd:info:2327]: ERR: VSERVER::vserverDelete: Failed to remove qos_policy_group during Vserver deletion
Wed Feb 01 2023 16:13:31  10:00 [kern_mgwd:info:2327]: ERR: VSERVER::vserverDelete: Failed to remove tables under rdb in vserver delete operation,reason:Cannot remove policy that is in use.
Wed Feb 01 2023 16:13:31  10:00 [kern_mgwd:info:2327]: ERR: VSERVER::vserverDelete: Failed to remove tables under rdb in vserver delete operation,reason:Cannot remove policy that is in use.

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.