Project

General

Profile

Feature #27802

Add -Z flag to freenas-debug to delete the /var/tmp/fndebug directory

Added by Matt Kessler over 1 year ago. Updated 11 months ago.

Status:
Done
Priority:
Important
Assignee:
Brandon Schneider
Category:
Middleware
Target version:
Estimated time:
Severity:
New
Reason for Closing:
Reason for Blocked:
Needs QA:
No
Needs Doc:
No
Needs Merging:
No
Needs Automation:
No
Support Suite Ticket:
n/a
Hardware Configuration:

Description

I think it would be a good idea to have this for general cleanup,
or to simply remove a lot of "noise" when debugging a new problem
on a system running for some time already.

If there is something already, it is not in the docs
http://doc.freenas.org/11/cli.html#freenas-debug


Related issues

Related to FreeNAS - Bug #24796: Cleaning up alerts in /var/log/messagesClosed2017-06-232018-03-09

Associated revisions

Revision 5add060d (diff)
Added by Brandon Schneider over 1 year ago

Add -Z flag to freenas-debug

Because we don't have any other great options left, it stands for 'zap'.

This will nuke the /var/tmp/fndebug directory and return to the user.

Ticket: #27802

Revision acf15a07 (diff)
Added by Brandon Schneider about 1 year ago

Add -Z flag to freenas-debug (#712)

Because we don't have any other great options left, it stands for 'zap'.

This will nuke the /var/tmp/fndebug directory and return to the user.

Ticket: #27802

History

#1 Updated by Dru Lavigne over 1 year ago

  • Assignee changed from Release Council to Kris Moore

Kris: what are your thoughts on this one?

#2 Updated by Dru Lavigne over 1 year ago

  • Subject changed from Delet old logs option for freenas-debug command line utility to Delete old logs option for freenas-debug command line utility

#3 Avatar?id=14398&size=24x24 Updated by Kris Moore over 1 year ago

  • Status changed from Unscreened to Not Started
  • Assignee changed from Kris Moore to Brandon Schneider
  • Priority changed from No priority to Important
  • Target version set to 11.2-BETA1

Brandon,

This looks like a neat one to hack on. Something you can add to the python bits?

#4 Updated by Brandon Schneider over 1 year ago

Just to confirm, you want an option to clear the logs from /var/tmp/fndebug?

#5 Updated by Brandon Schneider over 1 year ago

  • Status changed from Not Started to Done

#6 Updated by Dru Lavigne over 1 year ago

  • Subject changed from Delete old logs option for freenas-debug command line utility to Add -Z flag to freenas-debug to delete the /var/tmp/fndebug directory

#7 Updated by Dru Lavigne about 1 year ago

  • Related to Bug #24796: Cleaning up alerts in /var/log/messages added

#8 Updated by Dru Lavigne about 1 year ago

  • Needs Merging changed from Yes to No

#9 Updated by Dru Lavigne 12 months ago

  • Status changed from Done to Ready for Testing

#10 Updated by Bonnie Follweiler 12 months ago

  • Status changed from Ready for Testing to Passed Testing
  • Needs QA changed from Yes to No

Test Passed in FreeNAS-11-MASTER-201805020407

#11 Updated by Dru Lavigne 11 months ago

  • Status changed from Passed Testing to Done
  • Severity set to New
  • Needs Doc changed from Yes to No

Also available in: Atom PDF