ONTAP Discussions

How to Delete Qtree can you any one help me?

TNQNETAPPADMIN
19,211 Views

I have deleted the share and removed the quota setting but not able to delete qtree...

Showing the error:

API failure for deleting the directory : /vol/vol1/COPY-EDITORS Reason : Directory not empty

Please help me how to delete it...

1 ACCEPTED SOLUTION

peter_lehmann
19,211 Views

Hi

Just tried the same... when I had anything in the qtree it did not delete it.

As soon as I deleted the content, I was able to delete.

In that case you can also connect to a share one level above the qtree (if you have one)

and delete it directly with the Windows Explorer or the Unix command. Will take the same time.

Peter

View solution in original post

4 REPLIES 4

peter_lehmann
19,212 Views

Hi

Just tried the same... when I had anything in the qtree it did not delete it.

As soon as I deleted the content, I was able to delete.

In that case you can also connect to a share one level above the qtree (if you have one)

and delete it directly with the Windows Explorer or the Unix command. Will take the same time.

Peter

nitish
19,211 Views

try

priv set advanced; qtree delete <qtree name>

for Data ONTAP 7.3 onwards

TNQNETAPPADMIN
19,211 Views

Deleting Qtree needs to follow the below steps:

1. First we have to delete all the contants of the corresponding Share Folder (Share folder should be empty, if you removed the share folder before deleting the contants please create it again and delete)

2. Remove the Share Folder

3. Remove the Quota, If any

4. Delete Qtree. Success...

baijulal
19,211 Views

have you tried deleteing qtree from filer

filer>priv set advanced (or priv set diag)

filer>qtree delete /vol/vol_name/qtree_name

Public