ONTAP Discussions
ONTAP Discussions
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.
Solved! See The Solution
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
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
From the clustershell you can also system coredump delete [-all -node * -type all] or use systemshell already listed in the first post.