Does anyone know of a fast, safe way of deleting a large qtree on a NetApp? Has anyone tried the rc_toggle_basic command "rm" from the console? Will it remove files recursively? Do they go into snapshots? Is it a "good thing(tm)" to do?
I haven't managed to get the on-board "rm" to recurse into directories. But if anyone knows how to convince the box to do this, I'm all ears -- not knowing cost me downtime on a netcache a few days ago, grmp. :-/
It seems like a waste to do a "rm -rf" over NFS...
This depends on the scale of the problem. If the system isn't already busy, I've found that launching a few concurrent "rm -rf" processes scales pretty well. Alternatively, you could launch some find processes and pipe those into fastrm -- this probably isn't going to be noticeably faster, though.
Nick