Hello all.
I've been struggling with a problem with a database table for a while. The plugins table is damaged. The good news is that I don't want the data. The bad news is that jamf wants me to repair it, which last time failed and this is causing issues on my nightly backups and causing the JSS not to startup. This particular table has grown to 12GB causing me to run short on space when repairs are attempted or backups occur.
Here's what I see when the jss checks database health.
jamfsoftware.plugins - Table is marked as crashed and last repair failed
jamfsoftware.plugins - Size of indexfile is: 2161177600 Should be: 1562846208
jamfsoftware.plugins - Size of datafile is: 12549171132 Should be: 10597264592
jamfsoftware.plugins - Keyblock size at page -1 is not correct. Block length: 254 key length: 2
jamfsoftware.plugins - Incorrect key file for table'./jamfsoftware/plugins.MYI'; try to repair it
jamfsoftware.plugins - Corrupt
In short, I would be happy to drop all data in the table, but don't want to cause issues with the database. Support recommends rolling back to a good database, but I'd prefer to keep my current data. What options do I have to get rid of the data without causing issues for the data I actually want to keep?
Thanks!
Aaron