ONTAP Discussions

How to delete files in /etc/crash in cDOT

Dong_Chen

Hi Gents,

 

I have a question in cDOT. 

 

 

A customer always uses pktt start x x x -d /etc/crash. So there are hundreds of files in the directory /etc/crash. That's a little messy. How can I delete some file to clean up this directory. 

1 ACCEPTED SOLUTION

coreywanless

You need to be in diag mode, and enable the diag account.

 

set diag

sec log unlock diag

 

##Change the diag password if needed

sec log password diag

 

 

Get into the system shell:

systemshell -node <Node>

Log in with the diag account..

 

If you want to delete all the trc files run:

rm /mroot/etc/crash/*.trc

View solution in original post

3 REPLIES 3

scottgelb

From the clustershell you can also system coredump delete [-all -node * -type all] or use systemshell already listed in the first post.

Dong_Chen
Cool, thanks for the advice!

coreywanless

You need to be in diag mode, and enable the diag account.

 

set diag

sec log unlock diag

 

##Change the diag password if needed

sec log password diag

 

 

Get into the system shell:

systemshell -node <Node>

Log in with the diag account..

 

If you want to delete all the trc files run:

rm /mroot/etc/crash/*.trc

View solution in original post

Announcements
NetApp on Discord Image

We're on Discord, are you?

Live Chat, Watch Parties, and More!

Explore Banner

Meet Explore, NetApp’s digital sales platform

Engage digitally throughout the sales process, from product discovery to configuration, and handle all your post-purchase needs.

NetApp Insights to Action
I2A Banner
Public