[Deleting a qtree]
There isn't an ONTAP command to do it on the filer. You use a NFS or CIFS client to remove the qtree directory.
With Qtrees used as CIFS shares, Windows would sometimes not have you delete it, perhaps because some lock has not been released or whatever. Instead of lengthily searching for the root of the problem or exporting it via NFS, it is faster to do it from the Java shell (diag mode):
| rm /full_path/to/qtree
Don't forget to update your quotas file to remove entries for the deleted qtree. Then you should run "quota off" and "quota on". There is a bug that crashes the filer if you run "quota resize" after a particular sequence of qtree deletions and quota file updates. Your version of ONTAP may have this bug fixed. We crashed a filer running 7.0.1R1 due to this bug.
This sounds bad, could you elaborate on it a bit more? We're planning the upgrade to OnTap 7.x early next year, I wouldn't like to trigger something like that then.
Mark