メインコンテンツまでスキップ

「使用中のポリシーを削除できません」というSVMを削除できません

Views:
8
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.