Rm is a very simple command with no switches. It will refuse to delete a directory. The syntax is
rm <full path name>
In general, deleting files from Unix or NT is preferable.
Alan
=============================================================== Alan G. Yoder agy@netapp.com Network Appliance, Inc. Sunnyvale, CA 408-822-6919 ===============================================================
-----Original Message----- From: neil lehrer [mailto:nlehrer@ibb.gov] Sent: Wednesday, July 11, 2001 4:01 PM To: Chris Thompson Cc: Jeffrey Krueger; Adam.Fox@netapp.com; meital.israel@intel.com; toasters@mathworks.com Subject: Re: Deleting data on NetApp.
i'd like to know the detailed syntax for this. any nice netapp folks just jump in.
Chris Thompson wrote:
jkrueger@qualcomm.com (Jeffrey Krueger) writes
I just wish I could delete files on a NetApp from the
console. It takes
forever and a day to remove a hundred or more GB off a
filer from either
CIFS or NFS.
Surely it's the number of files, not their size, that matters?
An "rm" in the ONTAP CLI would be super handy.
toaster> priv set advanced Warning: These advanced commands are potentially dangerous; use them only when directed to do so by Network Appliance personnel. toaster*> help rm rm - remove files
Not that I've tried it, with that sort of health warning!
It could
work *much* faster
then over the wire.
The amount of over-the-wire traffic needed to delete
zillions of files
using NFS isn't really all that large. The delays you see are more likely to be the effect of sub-optimal NFS client implementations. For example, I remember large "rm -r"s to a filer becoming *much* faster after a patch to the NFS client code in Solaris 2.6.
Chris Thompson University of Cambridge
Computing Service,
Email: cet1@ucs.cam.ac.uk New Museums Site, Cambridge CB2 3QG, Phone: +44 1223 334715 United Kingdom.
--
regards
+++++++++++++++++++++++++++++++++++++++++++++++++
- Neil Lehrer
- United States International Broadcasting Bureau
- System Development Division
- voice 202 619-2524
- fax 202 619-3576
- nlehrer@ibb.gov
- " is this crisis an opportunity or just
- another grab the fire extinguisher moment?"
+++++++++++++++++++++++++++++++++++++++++++++++++