跳转到主内容

无法删除qtree -文件系统访问错误:权限被拒绝

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

适用场景

  • ONTAP 9
  • qtree

问题描述

  • 不再需要qtree
  • 不需要存储在qtree中的文件(可以删除)
尝试删除qtree时、删除作业将启动、但几秒钟后、该作业将失败:
 
Cluster1::*> qtree delete -vserver svm1 -volume vol1 -qtree qtree1 -force true
 
Warning: Deleting qtree "qtree1" in volume "vol1" in Vserver "svm1" will delete all quota policy rules associated with the qtree. Do you want to proceed? {y|n}: y
 
Warning: This will delete all files inside qtree "qtree1" in volume "vol1" in Vserver "svm1" before removing the qtree. Do you want to proceed? {y|n}: y
[Job 1234] Job is queued: Delete qtree qtree1 in volume vol1 Vserver svm1.
 
Cluster1::*> job show -id 1234
               Owning
Job ID Name         Vserver   Node      State
------ -------------------- ---------- -------------- ----------
1234  Qtree Delete     svm1   Cluster1-02    Failure
    Description: Delete qtree qtree1 in volume vol1 Vserver svm1
  
Cluster1::*> job show -id 1234 -instance
 
            Job ID: 1234
        Owning Vserver: svm1
             Name: Qtree Delete
         Description: Delete qtree qtree1 in volume vol1 Vserver svm1
           Priority: Medium
             Node: Cluster1-02
           Affinity: Cluster
           Schedule: @now
          Queue Time: 01/01 10:01:39
          Start Time: 01/01 10:01:46
           End Time: 01/01 10:01:46
        Drop-dead Time: -
          Restarted?: false
            State: Failure
         Status Code: 1258298
      Completion String: Failed to delete qtree "qtree1" in volume "vol1" on Vserver "svm1". Reason: Filesystem access error: Permission denied.
           Job Type: QTREE_DELETE
         Job Category: VOPL
             UUID: 123456xx-1111-1122-xxxx-123456789xx
     Execution Progress: Complete: Failed to delete qtree "qtree1" in volume "vol1" on Vserver "svm1". Reason: Filesystem access error: Permission denied. [1258298]
          User Name: admin
           Process: mgwd
  Restart Is or Was Delayed?: false
Restart Is Delayed by Module: -
 
EMS.log
 
Mon Jan 01 10:01:46 +0100 [Cluster1-01: mgwd: qtree.delete.start:notice]: Deleting qtree "qtree1" in volume "vol1" on Vserver "svm1".
Mon Jan 01 10:01:46 +0100 [Cluster1-01: mgwd: qtree.delete.failed:error]: Failed to delete qtree "qtree1" in volume "vol1" on Vserver "svm1". Error: "Filesystem access error: Permission denied" (13).
Mon Jan 01 10:01:46 +0100 [Cluster1-01: mgwd: mgmtgwd.jobmgr.jobcomplete.failure:info]: Job "Qtree Delete" [id 1234] (Delete qtree qtree1 in volume vol1 Vserver svm1) completed unsuccessfully: Failed to delete qtree "qtree1" in volume "vol1" on Vserver "svm1". Reason: Filesystem access error: Permission denied. (1258298).
 
MGWD.log
 
Mon Jan 01 2024 10:01:46 +01:00 [kern_mgwd:info:2609] 0x11ab11b00: 0: WARNING: VOPL::qtreeDelete: 1234 removeFile 288 filesystem remove /clus/svm1/vol1/qtree1/Documents.tar, setting worker result to error 13
Mon Jan 01 2024 10:01:46 +01:00 [kern_mgwd:info:2609] 0x1122x2x00: 8000x8000x4000x0: WARNING: VOPL::qtreeDelete: 1234 check_complete 686 delete worker failed Filesystem access error: Permission denied
Mon Jan 01 2024 10:01:46 +01:00 [kern_mgwd:info:2609] 0x1122x2x00: 8000x8000x4000x0: ERR: VOPL::qtreeDelete: 1234 check_complete 710 terminating job after error 13 from worker
Mon Jan 01 2024 10:01:46 +01:00 [kern_mgwd:info:2609] 0x1122x2x00: 8000x8000x4000x0: ERR: VOPL::qtreeDelete: 1234 generateCompletionString 1027 volDsid: 1095 job failed: Failed to delete qtree "qtree1" in volume "vol1" on Vserver "svm1". Reason: Filesystem access error: Permission denied.
Mon Jan 01 2024 10:01:46 +01:00 [kern_mgwd:info:2609] 0x12x00xx00: 8000x8000x4000x0: WARNING: job_manager::job_sched: process_modify:src/job_sched.cc:592 UIID:1234 UUID:123456xx-1111-1122-xxxx-123456789xx name:Qtree Delete rc:1 Doing nothing in modify callback for job, since it's pending cleanup

 

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.