Just keep a backup of your pfSense config (Diagnostics > Backup/Restore), I do this before I make any changes where I might fack something up as well.
Then if something happens, repair the faulty device/drive, reinstall pfSense, reload config. I already had to do this once...