Hi!
There is a completely unsupported method to actually accomplish this on the
filer itself.
1) Get to a command prompt
2) priv set advanced
3) java netapp.cmds.jsh
This works on the Simulators as well.
netapp1*> java netapp.cmds.jsh
jsh> ls
etc
home
source
.ha
stuff
jsh> ls -la
drwx------ 14 0 61440 Apr 12 2004 08:36:52 etc
drwxrwxrwx 2 0 4096 Nov 17 2003 07:39:40 home
drwxrwxrwx 5 0 4096 Mar 24 2004 13:21:21 source
dr-------- 2 0 4096 Feb 09 2004 10:02:18 .ha
drwxrwxrwx 5 0 4096 Mar 15 2004 14:12:47 stuff
jsh> cd etc
jsh> cat hosts
#Generated by setup Mon Nov 31 11:50:17 EST 2005
#Auto-generated by setup Fri Jan 23 14:12:57 GMT 2004
127.0.0.1 localhost
# 0.0.0.0 netapp1-ns1
192.168.99.10 filer1
192.168.99.11 netapp1
I believe rm is an available command within that shell. YMMV. Again, this is
unsupported so don't blame me if it breaks.
--
---------1---------2---------3---------4---------5---------6---------7
Eric Kimminau Email: Kimminau_Eric@emc.com
Senior Corp. Sales Engineer Cell: 248.766.9921
Rainfinity, an EMC Company Office: 248.393.8037
www.rainfinity.com Optimizing Networked Storage
---------1---------2---------3---------4---------5---------6---------7
Tech support US: 1-800-479-9880 rssupport@rainfinity.com
KnowledgeBase:
http://www.rainfinity.com/private/customer/
> -----Original Message-----
> From: owner-toasters@mathworks.com
> [mailto:owner-toasters@mathworks.com] On Behalf Of Bekkay,
> Hasni H SITI-ITIBHL
> Sent: Thursday, December 01, 2005 8:29 AM
> To: Steve Losen; Patrick van Helden
> Cc: toasters@mathworks.com
> Subject: RE: Deleting Qtrees
>
> Hi,
> you cannot delete the qtree from the filer, as far as netapp,
> qtree is treated as normal directory and you can only deleted
> from cifs or NFS as you mentioned below....
>
> Hasni.
>
> -----Original Message-----
> From: owner-toasters@mathworks.com
> [mailto:owner-toasters@mathworks.com]On Behalf Of Steve Losen
> Sent: donderdag 1 december 2005 14:01
> To: Patrick van Helden
> Cc: toasters@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@virginia.edu phone: 434-924-0640
>
> University of Virginia ITC Unix Support
>
>
>
>