From Unix on an NFS mount, use "rm -rf <path to qtree>". This will
delete all files and subdirectories without prompting.
From Windows on a CIFS mount, use "rd <path to qtree> /s/q". This will
delete all files and subdirectories without prompting.
For CIFS, you must stop and shares within the specific qtree structure.
"cifs shares -delete <sharename>".
-----Original Message-----
From: owner-toasters(a)mathworks.com [mailto:owner-toasters@mathworks.com]
On Behalf Of Steve Losen
Sent: Thursday, December 01, 2005 8:01 AM
To: Patrick van Helden
Cc: toasters(a)mathworks.com
Subject: Re: Deleting Qtrees
> 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(a)virginia.edu phone: 434-924-0640
University of Virginia ITC Unix Support
Confidentiality Notice:
This e-mail is intended only for the personal and confidential use of the individual to whom it is addressed and may contain information that is privileged, confidential and protected by law. If you are not the intended recipient, you are hereby notified that any use or disclosure of this information is strictly prohibited. If you have received this message in error, please notify the sender immediately by reply e-mail and delete the original message. Your compliance is appreciated.