Network and Storage Protocols

Cannot remove qtree

urbantec92
3,889 Views

I am unable to remove qtree on FAS 270... DataOntap v. 7.2.5.1.

I get the following error;

API failure for  deleting the directory : /vol/shares/sharefolderReason : Directory not empty

After deleting the contents while mounted as a CIFS share, I still recieve this error.

Any suggestions?

4 REPLIES 4

TThaens24
3,889 Views

Try removing the CIFS share of the qtree and even underlaying directories.

Open the CIFS share of the volume in which the qtree is located, and delete the qtree there.

urbantec92
3,889 Views

I am unable to locate 'delete' command of the actual share itself (in GUI). I am mounting the volume with associated CIFS through UNC path. There isnt a delete function under the right click menu context.

Am I misunderstanding what you actually meant?

urbantec92
3,889 Views

Actually, I noticed that after dleeting all the data there wer esome object that had ownership conflicts and actually were not removed. Once i set the ACLs on those files and folders, I was able to successfully remove.

Thanks

BALAJI_VENKATRAMAN
3,889 Views

Try - priv set advanced and then qtree delete.

I am not sure for ontap 7.2.5.1 but this works for ontap 7.3 onwards for sure.

Balaji

Public