Unable to delete qtree
Applies to
- ONTAP 9
 
Issue
- Qtree deletion fails.
 - Even Force deleting the qtree fails with error 
"Reason: File system access error: Read-only file system." 
CLUSTER::*> qtree delete -vserver svm1 -volume vol1 -qtree test -force
Warning: Deleting qtree "test" 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 "test" in volume "vol1" in Vserver "svm1" before removing the qtree. Do you want to proceed?
{y|n}: y
[Job 117] Job is queued: Delete qtree test in volume vol1 Vserver svm1.              Job ID: 117
      Owning Vserver: svm1
                Name: Qtree Delete
         Description: Delete qtree test in volume vol1 Vserver svm1
            Priority: Medium
                Node: aff220-rtp-6a
            Affinity: Cluster
            Schedule: @now
          Queue Time: 08/16 04:48:53
          Start Time: 08/16 04:48:55
            End Time: 08/16 04:48:55
      Drop-dead Time: -
          Restarted?: false
               State: Failure
         Status Code: 1245214
   Completion String: Failed to delete qtree "test" in volume "vol1" in Vserver "svm1". Reason: File system access error: Read-only file system.
            Job Type: QTREE_DELETE
        Job Category: VOPL
                UUID: 5d6a6742-5bac-11ef-90e9-d039ea1b8987
  Execution Progress: Complete: Failed to delete qtree "test" in volume "vol1" in Vserver "svm1". Reason: File system access error: Read-only file system. [1245214]
           User Name: admin
             Process: mgwd- Deleting the directory from the host end fails with the Read-only file system error.
 
