Best way to start over


I’ve been running a test server for a couple of months now without issue, but it appears my btrfs backup directory is completely trashed. I suspect it is full. Unfortunately none of the btrfs recovery tools work and I’m unable to delete any files as the filesystem is forced to readonly as soon as a write is attempted.

I don’t want to go through the time consuming process of a btrfs restore and instead just want to “zap” the filesystem with a reformat. However, I want to retain all the client and server settings if possible. I don’t care about the backup data as none of it needs archiving.

What’s the best procedure to do this?