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.