Brian,
Thanks for the reply.
I'm in the java shell and ps in fact returns several Ndmpd threads
even though > ndmpd status indicates no sessions active.

But when I try to kill, the following returns:

jsh> kill Thread-517
Arg expected

Is there a switch I'm missing, like kill -9 <threadName>

By the way the filer is running the most current version of ONTAP
for the model ( F520 )
and has been rebooted in the last 42 days which postdates
the timestamp on the snapshots.
It looks like the kill solution or boot from floppy into maintenance
mode and deleting them are going to be the only workable
solutions.


Regards,
Joseph C. Ropar
Unix Systems Administrator
Raytheon Systems Company
cell (214) 869-7901
desk (972) 952-4306
e-mail jropar@raytheon.com



Brian Long <brilong@cisco.com>

04/14/2003 12:42 PM

       
        To:        Joe C Ropar <Joe_C_Ropar@raytheon.com>
        cc:        toasters@mathworks.com
        Subject:        Re: Data ONTAP 5.3.7R3 on a n F520



There is an unsupported java shell you can invoke and kill the ndmp
sessions.  Even though ndmpd says no active sessions, it probably has
some snapshots locked.

filer> java netapp.cmds.jsh
jsh> ps
<grab thread names for ndmpd sessions>
jsh> kill threadName
jsh> exit
filer> snap delete vol0 snapshot-name

/Brian/

On Mon, 2003-04-14 at 12:25, Joe C Ropar wrote:
> Greetings,
> First time caller.
>
> I have a 520 for which "snap list" returns several snapshot_for_backup
> ( busy ) lines.
> These are old and for some reason were not deleted automatically.
> I cannot delete them manually either.
>
> I have tried setting "snap sched vol0 0 0 0" turned "vol options vol0
> nosnap on"
> and was still unable to delete the snapshots.
>
> Below is the output of snap list.
>
> Any suggestions on how to get rid of the unwanted snapshots would be
> appreciated.
>
> Volume vol0
> working.............................................
>
>   %/used       %/total  date          name
> ----------  ----------  ------------  --------
>   1% ( 1%)    1% ( 1%)  Apr 14 09:02  hourly.0
>   2% ( 1%)    1% ( 1%)  Apr 14 07:02  hourly.1
>   2% ( 1%)    1% ( 1%)  Apr 14 00:01  weekly.0
>   2% ( 1%)    1% ( 1%)  Apr 13 17:02  hourly.2
>   2% ( 1%)    1% ( 1%)  Apr 13 15:02  hourly.3
>   2% ( 1%)    2% ( 1%)  Apr 13 13:02  hourly.4
>   3% ( 1%)    2% ( 1%)  Apr 13 11:02  hourly.5
>   3% ( 1%)    2% ( 1%)  Apr 13 00:01  nightly.0
>   3% ( 2%)    2% ( 1%)  Apr 12 00:01  nightly.1
>   8% ( 7%)    6% ( 5%)  Apr 11 00:03  nightly.2
>   9% ( 7%)    6% ( 5%)  Apr 10 00:02  nightly.3
>  32% (28%)   29% (24%)  Sep 20 21:48  snapshot_for_backup.498 (busy)
>  33% (28%)   30% (24%)  Sep 18 23:37  snapshot_for_backup.496 (busy)
>  33% (27%)   31% (23%)  Sep 14 01:28  snapshot_for_backup.495 (busy)
>  34% (26%)   33% (22%)  Sep 09 19:52  snapshot_for_backup.494 (busy)
>  36% (26%)   35% (22%)  Aug 07 21:41  snapshot_for_backup.481.old
> (busy)
>
>
> Regards,
> Joseph C. Ropar
> Unix Systems Administrator
> Raytheon Systems Company
> cell (214) 869-7901
> desk (972) 952-4306
> e-mail jropar@raytheon.com