Feature #27863
Add -B to freenas-debug to dump the configuration database to a text file
Description
With the x-series, there is only 1 boot device on which the OS is installed. This poses a significant problem in the event of the drive failing. When this happens, the system has to be, basically, re-deployed as a new unit. While it's, ultimately, up to the customer to backup their configuration database, it would be incredibly useful to include the database dump in the output of the freenas-debug script.
The likelihood of the support department having a debug of the customers system is quite high. This would allow us to better server the customer by being able to rebuild their database to a known working copy.
I have added a new module to the freenas-debug script to do this.
Associated revisions
History
#1
Updated by Caleb St. John almost 3 years ago
- Status changed from Untriaged to Unscreened
#2
Updated by Caleb St. John almost 3 years ago
Pull Request associated with the changes here: https://github.com/freenas/freenas/pull/708
#3
Updated by Dru Lavigne almost 3 years ago
- Status changed from Unscreened to 42
- Assignee changed from Ash Gokhale to Kris Moore
Kris: does this one also need a PR to a stable branch for this target version?
#4
Updated by Kris Moore almost 3 years ago
- Assignee changed from Kris Moore to Caleb St. John
Yes, if this is intended to land in TN 11.1 it'll need a PR into the freenas/11.1-stable branch as well.
#5
Updated by Caleb St. John almost 3 years ago
I've cherry-picked this PR back into the freenas/11.1-stable branch.
#6
Updated by Ben Gadd almost 3 years ago
- Due date set to 02/12/2018
#7
Updated by Dru Lavigne almost 3 years ago
- Status changed from 42 to Done
#8
Updated by Dru Lavigne almost 3 years ago
Corrected PR or master: https://github.com/freenas/freenas/pull/708.
Will also need the PR link for the merge to the stable branch for U2.
Due to gitardness, this is the correct commit message :-)
#9
Updated by Dru Lavigne almost 3 years ago
- Status changed from Done to In Progress
#10
Updated by Caleb St. John almost 3 years ago
Cherry Pick PR for 11.1-stable: https://github.com/freenas/freenas/pull/710
#11
Updated by Dru Lavigne almost 3 years ago
- Subject changed from capture freenas-v1.db file in the freenas-debug script to Add -B to freenas-debug to dump the configuration database to a text file
- Needs Merging changed from Yes to No
Notes that the stable merge is at https://github.com/freenas/freenas/commit/02a9e7d507e8f1ab4859d17951e94b2399b6eb2e.
#12
Updated by Ben Gadd almost 3 years ago
- Target version changed from TrueNAS 11.1-U2 to TrueNAS 11.2
#13
Updated by Caleb St. John almost 3 years ago
Dru, this ticket is done and has been merged into freenas head and freenas 11.1-stable.
#14
Updated by Dru Lavigne almost 3 years ago
- Target version changed from TrueNAS 11.2 to TrueNAS 11.1-U2
#15
Updated by Dru Lavigne almost 3 years ago
- Status changed from In Progress to Done
#16
Updated by Dru Lavigne almost 3 years ago
- 1 added project (FreeNAS)
- Target version changed from TrueNAS 11.1-U2 to 11.1-U2
#17
Updated by Warren Block almost 3 years ago
- Status changed from Done to In Progress
The name of the menu entry is (currently) just
-B Dump freenas-v1.db
This does not give the user any idea about what it actually does. It should be:
-B Dump System Configuration Database
It should not say "freenas", since this applies to both FreeNAS and TrueNAS.
#18
Updated by Caleb St. John almost 3 years ago
PR to master for correcting the verbiage: https://github.com/freenas/freenas/pull/799
PR to 11.1-stable for correcting the verbiage: https://github.com/freenas/freenas/pull/800
#19
Updated by Kris Moore almost 3 years ago
- Status changed from In Progress to Closed
#20
Updated by Kris Moore almost 3 years ago
- Status changed from Closed to Done
#21
Updated by Bonnie Follweiler almost 3 years ago
- QA Status Test Passes FreeNAS added
#22
Updated by Dru Lavigne almost 3 years ago
- Needs Doc changed from Yes to No