Hi,
Does anyone have any information about deleting qtrees from the filer? For example with the rm command?
Regards,
Patrick
pvh@databasement.nl (Patrick van Helden) writes:
Does anyone have any information about deleting qtrees from the filer? For example with the rm command?
A qtree goes away quite automatically when it's top-level directory is removed. So yes, in a Unix environment, use "rmdir" (if it is empty) or "rm -r".
Hi,
Does anyone have any information about deleting qtrees from the filer? For example with the rm command?
From a Unix NFS client you can use "rm -r" to remove 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.
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.
Steve Losen scl@virginia.edu phone: 434-924-0640
University of Virginia ITC Unix Support